You can snag a gasser loom from a wrecking yard and modify it,
You can modify your existing unit (requires terminal ends)
You can order the connectors and build your own from scratch.
but, Since 05 and 06 are different..
You can buy a plug-and-play ready made loom from SasquatchParts.com
https://shop.sasquatchparts.com/products/plug-and-play-in-tank-lift-pump-wiring-harness-for-jeep-liberty-crd/Sasquatch Parts also sells the pump units as well, at a pretty competitive price, for a one-stop shop, and savings over shipping costs from RockAuto, etc.
See, what's right for you depends on on your priorities, budget, and a lot of other things we don't know.
The PnP loom is expensive, but, depending on your proficiency and available work time, it will save you anywhere from 4 hours, to a few days. If you don't have a lift, most of those hours (for the loom) will be spend either on your back underneath, or on your knees working under the carpet and sub-carpet insulation inside the left rear door, so make sure you have good kneepads.
Edit: Oops, WWDiesel got in ahead of me!..
Just for reference, I was going to add, Before the PnP loom was available, I removed my original harness, and modified it. This required me to source wire terminals from a wrecked Jeep, and a new outer connector (waterproofed type) for the sending unit.
I had a professional work space with a lift, etc, and yet
had I had the PnP loom I would have easily saved 10-12 hours of driving, hunting, hiking, fiddlin, and diddlin.