Pid controller ball and beam balance

For anyone that's done this could you please give me some advice on how to make the lever system that changes the angle of the beam?
I have a few ideas but from YouTube I see that the most common is a motor directly under the beam controlling the lever. Not too sure how to use this design myself

Great. Now what is your problem and what have you tried to solve it?

lg, couka