Below are the light's spec ,they have an integral buck converter. As vfr says wire direct off the battery/controller supply and run them off a switch and if you like an inline fuse.
985CS Features:
1. Power: 3 W
2. Input
C 6 V-80 V
3. Brightness:5050 3 V LED >60 lux
4. Standard:Europe DC-6 V/9 W System
5. Material:Aluminum,high quality e-bike light
6. Wire:Length 1.5 meter
7. IP X 3 waterproof,heavy rain waterproof
8. Temperature:<48
EF-707CS Features:
1. Power:5 W
2. Input: DC 6 V-80 V
3. Brightness:5050 3 V LED >100 lux
4. Material:Aluminum,high quality e-bike light
5. Wire:Length 1.5 meter