Backup codes are generally provided by the email marketing service provider during the setup of multi-factor authentication. For example, platforms like Mailchimp, Constant Contact, and HubSpot will generate these codes when you activate MFA. It's crucial to note down these codes immediately and store them in a secure location.