Getting a car mod done at home is a great way to save some money! And there are actually a number of ways to install a truck bed generator.
To set up the truck bed generator, you can use eye bolts, ratchet straps, and bungee cords. Drill holes in the bed of your truck and then put the eye bolts in. Once that is done, connect your ratchet straps to the bolts and tighten them.
You can also use a chain to lock the generator to your truck, or take a steel cable to lock the generator in place by wrapping it around the 5th wheel hitch.