How do you get the garage door remote compartment open on a 1995 Riviera?

hello i have a 1996. and you hold your garage door remote opener up to the buttons in the car, some how it reads the signal and remembers it.