Throwing my write-up from another thread here to help others:
I added the GM light kit for my multi-flex tailgate as well as swapped the lights to brighter aftermarket LED units. I added some 2"x2" LED cubes I had purchased for my Avalanche but never used. The current draw tripped the BCM and they would blink 3 times then go off. I also hooked the cube lights up to the reverse signal so they come on in reverse and at night when the approach lights turn on when you unlock the truck or lock it and leave. I had added a Curt 5th wheel wiring harness expecting I could get my signals from there for what I was originally wanting to do. I found on here that only the 12V+ wire has signal at all times. I pulled the tail light and looked at the wiring. I have LED bed lights in the corners from factory. I tapped that wire on the passenger side(or could use drivers side) and ran that to the 86 wire on a waterproof relay. I added a diode to it so current can't back feed to the bed light circuit. I also tapped the reverse light on the same side, added another diode here so current can't back feed the circuit and added it to the 86 wire. There is a harness that plugs in under the bed and connects to the tail lights. I purchased a new harness to keep as a spare in case I ever had electrical issues that required me to take it to the dealer. I can unplug everything I added and return it to stock. 30 wire I connected to the 12V of the Curt 5th wheel harness I added. This plugs in via T to the factory trailer plug. I have the actual 7 wire plug running into the blank in the passenger bed side where the 120V outlet would be if I had that option. 85 wire can be tapped into the trailer harness ground wire or find a suitable ground wire elsewhere on the chassis or trail light harness. 87 connects to your additional lights. I didn't add a fuse to mine since I'm using the 12V+ from the trailer harness and it is already fused. 87a is NOT used and can be removed or taped off. I heat shrunk/electrical taped up connections and then zip tied the relay to the Curt 5th wheel harness along the tail panel of the bed.
For those not wanting to read it all:
Waterproof relay(as shown above)
30 wire - 12V+ from trailer wire circuit
85 wire - 12V- ground to trailer wire ground, taillight ground, or other suitable chassis ground
86 wire - 12V+ input from LED bed lights and/or reverse lights, using a diode on each input wire to prevent back feeding trigger circuit
87 wire - 12V+ to your additional lights
87a wire - NOT used and can be removed from relay harness or taped off. Not all relays have this pin/wire