I would think that having an external connection outside of the bed area would be better. It would allow you to be able to connect with the cover closed. Also if it has mounting points you could have a custom mount designed to carry solar panels and plug in.