I was installing my OEM step Bars when the stud at the top of the mount snapped

as I was tightening the nut down. How do I replace this stud as it came from the inside of the lower rocker panel pointing out. I didn't really apply to much pressure anyone have any ideas how to fix this?? I don't want it to be jury rigged I'd like it to look like it should and hold the support to the body.