The factory assembly manual and the electrical wiring diagram will show the terminal identification. Do you have the factory plug? If so, it is a plug-n-play situation.