I would recommend that they are run through an appropriate relay with a separate power feed to the relay. Then using one of the spare bullet connection in the front panel, run a trigger wire to the relay so that they are activated when you turn main beam on.
As above have said, although its possible to wire them to the switch to give you control of them being on and off - they are effectively additional high beams and therefore cant be used alongside dipped beam.
Any confusion give us me a shout at wiredbywilson at aol.com as we make these easy fit looms as a mini specific kit with matching wiring etc.
David