I drilled holes in both and used short carriage bolts (1/4”) and used fender washers. It would have been easier to drill holes through the top then use an extension and use self tapping screws with fender washers. Then use a rubber plug to plug the top holes…I just didn’t want to cut holes in the post.
I’ll be honest the way I did it was a PITA!!