I just did this to mine. You can pm me if you need help.
The accessory leads in the headlight are always hot, so you need to run that through a relay to switch it on when the ignition is on.
The connections in the headlight bucket are actually a double bullet connector....meaning you can slide 2 bullet connectors into each lead.
I have mine wired like slim said...except I swapped the "switched" leads for the lights....shouldn't matter since it is just across a switch.
Here is my install:
use a standard auto relay
Pin 85 is grounded
pin 87 goes to the lights you are installing
pin 30 gets 12 Volts from the accessory leads (fused and always hot) or directly to the battery with an inline fuse.
pin 86 is the control pin to turn the relay "on" or close the relay contacts.
I suggest you tap into any 12V source that is off when the ignition is off, such as the "hot" lead from the hi/low selector for the headlight, or from the running lights in the front turn signal stalks, dashboard back lighting lights, or you can even use the running lights in the tail light.
First run your tapped (switched) 12V source through an installed switch (mounting location of your choice) and then to pin 86, so your control switch will only work if the ignition is on. This will prevent you from leaving the lights on and draining the battery if you forget and walk away. The control voltage running through your mounted switch will not draw very much current, but the current draw through the relay (pins 30 and 87) going to your lights (or other installed item) will depend on the current draw of what you are installing.