Here they are:
You will need to check the fuse box under the hood to see f the fuses and relays are present. & Using a test light to see if each circuit is hot when it should be.
Then you just match the terminal positions on the trailer connector to the proper circuit.[plug shown in 3 rd diagram of orginal answer] The color of the wire on the plug makes no difference, just match it to the proper circuit by location using the proper wire color on the truck.
I would print and save the fuse box diagrams so you can take out to truck with you.
If the truck does not have the wiring there in the battery junction box, everything would have to be manually wired for it. You would have to have a trailer brake controller added to the under dash area, this was never original equipment on your vehicle.