the ballast comes with one cord connected to it witch has a positive and negative plug at the end, this connects to the HID bulb, then you plug the HID harness into the ballast, and the other end of the harness to the positive and negative on the stock wire harness, pretty dummy proof.
__________________
|