My trailer is 50 amp. Power cord is in the rear of the trailer. I want to hook the trailer to the generator which is in the bed of the truck so that I can run the A/C while towing. The A/C will run on 30 AMP. I need to know if the trailer is "generator prepped" and where is the wire in the forward compartment. Do I just add a 30 amp wire extension from the trailer to the pickup bed. I see it done all the time but I just haven't asked how it is done. Temp in south Texas averages 85 deg and towing 250 miles trailer gets very hat inside
Is there an unused metal junction box in the front compartment? That's where an on-board generator would connect, if you have generator prep. If there is a box, and there are three #6 wires and a heavy ground wire terminating in the box, you would need to add a receptacle there and build a custom cable that runs from that receptacle to your generator's 30 amp 120V receptacle. At the junction box, you need to use the L1 wire or the transfer switch won't transfer. To tell L1 from L2, you may have to take down the rear wall of the basement storage, open the transfer switch, and confirm which wire is connected to the L1 terminal of the transfer switch. Of course you'd want to have power disconnected before opening the transfer switch.
If you're not sure what's what with electrical receptacle and custom cords, you might want to get help from a licensed electrician. Some generators supply 120V/30amps, others 240V/30amps. You can't afford to get it wrong.
Make sure you have slack in the cabling to allow for turns, and figure out how to manage the cable so it doesn't get hung up on anything.