Question: how do you program a liftmaster remote to a gate?
Answer: Locate the "Learn" button on your garage door opener. ... 
Press and release the “Learn” button.
Within 30 seconds of pressing the "Learn" button, press and hold the button you wish to program on the remote control for three seconds, then release.