You would need to get wiring diagram of the plug to sensor and the plug should have labels with letters for the position of where the coloured wires will go to .For example- A pin is blue B pin is black C is red . These are not the actual positions just example. Also use shrink rapped connectors to avoid future corrosion due to weather. Hope this helps.