I assume you have fitted a plug into the uprights with a tapped hole then drill a hole in the top of your beam large enough to get a socket through followed by a smaller one through the lower part for the bolt. Close the holes when shimmed and pour epoxy onto the upper surface of the beam ...