I have a small 12 v usb charger inside the headlight bucket to run a dash camera,i soldered a pair of leads onto the connectors that are supposed to plug inside a cigarette socket,they have bullet connectors hooked into wires already in the bucket,one earth and one becomes live with key switched on.