Press and hold down the "P" button on the base of the Marantec unit for about two seconds. You will see the LEDs light up and the LED #1 will start blinking.
Press and hold the "P" button again until the #7 LED lights up and start blinking.
Press and hold the main control button on the Marantec remote control, then press and release the "P" button on the base again. This action stores the code of the remote into the unit. The #8 LED will light up to show that the unit is now ready to operate.