I have used one of these sockets to both power my heated jacket and as an input for battery charging It mounts on the frame tube and I fused it for safety direct to the battery so no canbus issues hth
https://www.ebay.co.uk/itm/12V-Moto...334802&hash=item3afa023c84:g:2P8AAOSwqbxaK2~2
https://www.ebay.co.uk/itm/12V-Moto...334802&hash=item3afa023c84:g:2P8AAOSwqbxaK2~2