How do you wire in a trailer brake controller on a 2007 Avalanche?

The easiest way is to pick up a harness extension. I bought mine from the dealer I got the brake controler from. Dealer may have also. Watch out if yours is an 03 as they changed the wiring mid year and you may have to switch a couple of wires. The Avalanche forum has more on this.