I actually built a rack and had it powder coated. I used pieces of pipe welded to a piece of 2" angle iron with a nut welded in the end and a 5/8" fine thread bolt flat washer and lock washer to secure it to the bed. And built up off of that. And backed it with 1/2" expanded metal.
I used homemade lock & ride plugs , made from 1 1/2 test plugs to hold my rear rack on. They work very well and by using eyebolts gives lot of extra tie downs. There are lots of good ideas for plugs on here
I used the homemade bed anchor's from test plugs as show on here. The frame of my rack is out of 1 inch square tubing and angle iron welded to tubing with holes drilled for anchor's. I found some rubber bumpers that fit over tubing at Mcnaster Carr.
PRCforum is the best Polaris forum community to discuss RZR 1000, Crew 900, PRC Ranger Club, XP 900, RZR XP 4 900, RZR 570, HD, 170, RZR-S, XP 900, RZR XP 4 900, ORV, side by side, SSW and off-road information.