I'm sure there are factory wiring diagrams available.



Then just study them, and see how to integrate them. Depends how good you are with electrical (or, at least: reading a schematic).