If you want a quick fix go to a trailer/hitch shop. They can solve it in minutes. If you want to do it right, ask the same guys about an aftermarket set up. The install takes longer, but is well worth it.
I installed an isolated system that runs off direct battery power with a relay from the vehicle lights. I put the relay in the rear, which also afforded me a full-time high amperage battery feed to the rear of the truck for other accessories. I attached a silicone sealed plug to the hitch itself in a box, out of the way of everything else. Then buy converters for different plug arrangements. The last important item is dielectric grease, which prevents corrosion and oxidation on the pins when not in use. This type of system prevents damage to the vehicle electronics when the trailer has a short. I found out the hard way.