I‘ve looked into this more than I care to admit recently. Deciding between OEM bed lights, aftermarket, or some combo. I’ve read many comments here that the OEM lights are not very bright and others that aftermarket led strips are too bright. All subjective I guess.
To answer your question, there is a connector in the rear that should have the upstream wiring for the bed lights. With the kit you might be able to pin the connecting connector here instead of running up front; assuming terminals are the same size. You‘d have a lot of excess wire to deal with. Or if you don‘t care about wire taps / keeping totally OEM / it being reversible, you could tap the upstream wires.
Here is a description of connector and pin locations.
As an alternative to the Mopar kit, you can buy the bed Lights and required harnesses separately for roughly the same $ as the kit. This would be truly PLUG and play; no pinning/tapping required. Would still need to program. Harnesses required depends on model year and options. Attached is the part numbers needed for 2021 without Rambox, in case that’s your situation.
I ended up doing partial OEM and aftermarket strips. Bought the left light and left harness and tapped into the light wiring for the aftermarket connections. They all function same as OEM (light switch included) and if I ever want/need to remove, I can take out lights and put old harness back and it’s factory again.
There are tons of threads here that describe options if you don’t care about altering factory wiring or OEM functionality.