I think the 04 XE did not have the plug for the controller, but the other models did. Even if you don't have the plug, you can hard wire it. I posted the info on that a couple of years or so age. You should be able to search for that thread.
See attachment for location of controller plug, if it is there.
A forum community dedicated to Nissan Titan owners and enthusiasts including the 4x4 and XD. Come join the discussion about performance, modifications, classifieds, troubleshooting, maintenance, and more!