The two little wires on the GM alternator side are marked #1 & #2 (on the GM model 10 SI, or 12 SI). The #1 is hooked up to the idiot light, and the #2, gets hooked up to the big output terminal on the back.
There is a lot of info on the net on how to do the swap.
Good luck, Tom