From what I remember you have to wire it yourself.
The upfitters guide shows a harness but I couldn't find the plug and ended up having my dealer wire in the brake controller.
Good thing I did: Thor had the 7-wire plug all messed up. You may want to pick up one of these:
Amazon.com: CURT 58270 12V LED Connector Tester: CURT: Automotive