1. Sign in at https://www.playstation.com
2. Go to Account Settings - Security
3. Find 2-step verification
4. Enable 2-Step Verification
After you enable the 2-Step Verification you will get backup codes.