Choose which coffee size you'd like to calibrate first (espresso or lungo). I started with espresso.
Hold down the espresso button and continue to hold it until the desired level of coffee is in your cup. Then, release the button. After releasing it, your Nespresso machine is programmed to dispense that same level of coffee!
Repeat with the other button for the other size coffee.