Prerequisites
- To ensure that emails can be sent from Auth0 to your SMTP, open ports and allow inbound connections from specific IP addresses. To update the list of IPs, navigate to Dashboard > Branding > Email Provider. See Add IP Addresses to AllowList for details.
- You must have an Amazon AWS account.
- Determine which credentials you want to use: API or SMTP. For more info about SES credentials, see Amazon’s Using Credentials With Amazon SES.
Configure Amazon SES with API credentials
- Log in to your Amazon AWS account.
- Verify your domain.
- Verify email addresses
- Request production access.
- Get your AWS access keys. Copy these keys; you will need to enter these values into Auth0.
-
Attach a policy with the proper permissions. Attach a policy with the
ses:SendRawEmail
andses:SendEmail
permissions, as in this example: - Navigate to Auth0 Dashboard > Branding > Email Provider.
- Activate the Use my own email provider toggle.
- Click the Amazon Web Services logo.
- Provide a From email address, enter your AWS Access Key Id and Secret Access Key, select your Region.
- Click Save.
Configure Amazon SES with SMTP credentials
- Sign up for an Amazon AWS account, or log in.
- Verify your domain.
- Request production access.
- Get your SMTP credentials. Copy the security credentials; you will need to enter these values into Auth0.
- Navigate to Dashboard > Emails > Custom Email Providers.
- Activate the Use my own email provider toggle.
- Click the SMTP logo.
- Provide a From email address, then enter your SMTP server Host, Port, Username, and Password, and click Save. You can use
email-smtp.us-east-1.amazonaws.com
(using the appropriate region rather thanus-east-1
) for Host and587
for Port.