1. Go to Settings > Security and Login.
2. Under the Two-Factor Authentication section, click Use two-factor
authentication. You may need to re-enter your password.
3. Next to Recovery Codes, click Setup then Get Codes.
If you've already set up recovery codes, you can click Show Codes.