SMTP
Supabase with SMTP
Learn how to integrate Supabase Auth with Resend SMTP.
Prerequisites
To get the most out of this guide, you’ll need to:
1. Get the Resend SMTP credentials
When configuring your SMTP integration, you’ll need to use the following credentials:
- Host:
smtp.resend.com
- Port:
465
- Username:
resend
- Password:
YOUR_API_KEY
2. Integrate with Supabase SMTP
After logging into your Supabase account, you’ll need to enable the SMTP integration.
- Go to your Supabase project
- Click on Project Settings in the left sidebar
- Select the Auth tab
- Find the SMTP section and toggle the Enable Custom SMTP option
![Supabase Auth - Enable Custom SMTP](https://mintlify.s3-us-west-1.amazonaws.com/resend/images/supabase-auth-enable-custom-smtp.png)
Once enabled, you can copy-and-paste the SMTP credentials from Resend to Supabase.
![Supabase Auth - SMTP Settings](https://mintlify.s3-us-west-1.amazonaws.com/resend/images/supabase-auth-smtp-settings.png)
After that, you can click the Save button and all of your emails will be sent through Resend.