If you are plugging it in to the USB on the camera, you will also need a 12v to 5v converter with a USB lead.
https://www.ebay.co.uk/sch/i.html?_o...sb&_sacat=6030
I got one with a long enough to run from the piggyback in the fuse box, up the A pillar and under the headlining to behind the rear view mirror.