What's the symptom? Is it that the bike cranks, but doesn't start?
..if so, then you've mixed up the connection for the crank position sensor and the reg/rec output. They are the exact same shape of connector. Make sure that the wire pair that is blue and green is going to it's matching connector on the loom side. Similarly make sure that the reg rec's output (brown wire and a black wire with a thin white trace) goes to it's matching connector of the same colours.