There should be a page in the Owner's Manual dedicated to the trailer wiring. I had to add a 6 pin connector to mine. The wires are right under the truck, near the rear bumper. I believe they were taped together in electrical tape, with the ends capped off. The manual gives the color coding for each wire. I used butt connectors and electrical tape to seal it all up.
Sincerely,
Matt