When I did mine I just used a long woodscrews into a brown plug x 4 drIlled the post first to the diameter of the shank.Then drilled 3/4"deep into the post to the diameter of the head.Can't remember the length of the screws but they were long enough to go into the plug well so I would say around 4".
The posts have never moved despite the gales battering the panels.