Found this, on another forum;
Run a 10 gauge wire from your positive battery post to a 30amp inline fuse, mount the inline fuse on your fender well (inside the engine compartment) then continue the wire all the way back to your wire harness on the back of the truck. When you run the wire make sure you avoid high heat areas such as exhaust manifolds and exhaust pipes. If you can find some wires running from the engine compartment to the rear you can secure your 10gauge wire to that using zip ties. Zip tie the wire to keep it out of the way and tight so it doesnt vibrate a hole through the insulation when you drive. You can tie it to the frame as well. Make sure you run it accordingly so that it doesnt interfere with your spare tire if you need to get it out. If you cant avoid a high heat areas wrap the wire with exhaust tape. You can wrap a few wraps of electrical tape around the wire in areas you are concerned about vibrating wear. When you get to the trailer harness in the rear of the truck put an appropiate wire end on it, say a male end and then you put a female end on the 10 gauge wire running from the positive battery post on your trailer battery. That way when you hook up your trailer lights you simply plug in the battery charging wire. Be sure to run a ground from your negative battery post on the trailer battery to the trailer frame.
If you didn't know,undo the battery clamps and fit the stripped end of the 10 gauge wire in between the clamps of the battery and the terminal posts. Auto Zone or any car place will have all you need.
I hope this helps and is understandable
This is a follow-up post;
One thing to remember, and I found this out the hard way, is that the battery charge wire coming from your truck harness was only designed to charge a small motorcycle battery for the trailer brake-away system. If your battery gets low and you are drawing any amps from it, it will melt the wire and could cause a fire. In addition to this, if your truck battery ever drains and it is plugged into the trailer the truck will try to draw its juice from the trailer battery, causing it to get overheated as well. I used to haul RV's for a living and it was common knowledge that the best way to get the job done was to run a heavy wire (8-10 guage) From the battery with an automatic reset 30 amp breaker, AND a switch on your dash so that you have the ability to turn the "charging system" off/on...
I'm going to run 8 gauge wire with a 30 amp circuit breaker. Will install a fuse on the trailer side, for good measure.