I looked in the User Guide on page 2-65 and I found this:
1. Press TRANS/PGM, then press the flex button you want to program. 2. Press TRANS/PGM again. 3. Enter 47, then enter the number of the mailbox to be associated with the selected Flex button. 4. Press HOLD/SAVE to save the setting.