How do the wires hook up on a alternator?

Some have a 3 wire set up. Some a single wire. I just did my 1st one tonight and it was very simple. Worked 1st try and thats not usualy my luck. Very important to disconnect the (-) negative wire from the battery before starting. It could damage the new one and void any warranty.....Good luck