Skip to main content
This guide helps you verify your domain on Vercel with Resend. We also have an official integration for Vercel that helps you set up your API keys on Vercel projects so you can start sending emails with Resend. View the integration here.

Add Domain to Resend

First, log in to your Resend Account and add a domain. Domain Details
It is best practice to use a subdomain (updates.example.com) instead of the root domain (example.com). Using a subdomain allows for proper reputation segmentation based on topics or purpose (e.g. marketing) and is especially important if receiving emails with Resend.

Log in to Vercel

Log in to your Vercel account and select the Domains tab. Domain Details

Add MX SPF Record

Copy and paste the values in Resend to Vercel.
  1. Type send for the Name of the record in Vercel.
  2. Expand the Type dropdown and select MX.
  3. Copy the record value from Resend into the Value field in Vercel.
  4. Add 10 for the Priority.
  5. Select Add.
Omit your domain from the record values in Resend when you paste. Instead of send.example.com, paste only send (or send.subdomain if you’re using a subdomain).
Domain Details Domain Details Below is a mapping of the record fields from Resend to Vercel:
VercelResendExample Value
TypeTypeMX Record
NameNamesend
ValueValuefeedback-smtp.us-east-1.amazonses.com
TTLTTLUse Vercel default (60)
PriorityPriority10
Do not use the same priority for multiple records. If Priority 10 is already in use on another record, try a higher value 20 or 30.

Add TXT SPF Record

In the same section, add another record in Vercel.
  1. Type send for the Name of the record.
  2. Expand the Type dropdown and select TXT.
  3. Copy the TXT record value from Resend into the Value field in Vercel.
  4. Use the default TTL of 60.
  5. Select Add.
Omit your domain from the record values in Resend when you paste. Instead of send.example.com, paste only send (or send.subdomain if you’re using a subdomain).
Domain Details Domain Details Below is a mapping of the record fields from Resend to Vercel:
VercelResendExample Value
TypeTypeTXT Record
NameNamesend
ValueValue"v=spf1 include:amazonses.com ~all"
TTLTTLUse Vercel default (60)

Add TXT DKIM Records

In the same section, add another record in Vercel.
  1. Type resend._domainkey for the Name of the record.
  2. Expand the Type dropdown and select TXT.
  3. Copy the record value from Resend into the Value field in Vercel.
Omit your domain from the record values in Resend when you paste. Instead of resend._domainkey.example.com, paste only resend._domainkey (or resend._domainkey.subdomain if you’re using a subdomain).
Domain Details Domain Details Below is a mapping of the record fields from Resend to Vercel:
VercelResendExample Value
TypeTypeTXT Record
NameNameresend._domainkey
ValueValuep=example_demain_key_value
TTLTTLUse Vercel default (60)

Receiving Emails

If you want to receive emails at your domain, toggle the “Receiving” switch on the domain details page. Enable Receiving Emails for a verified domain
When you enable Inbound on a domain, Resend receives all emails sent to that specific domain depending on the priority of the MX record. For this reason, we strongly recommend verifying a subdomain (subdomain.example.com) instead of the root domain (example.com). Learn more about avoiding conflicts with your existing MX records.
Copy and paste the values in Resend to Vercel:
  1. Type inbound (or whatever your subdomain is) for the Name of the record in Vercel.
  2. Expand the Type dropdown and select MX.
  3. Copy the MX Value from Resend into the Value field in Vercel.
  4. Add 10 for the Priority.
  5. Select Add.
Below is a mapping of the record fields from Resend to Vercel:
VercelResendExample Value
TypeTypeMX Record
NameNameinbound
ValueContentinbound-smtp.us-east-1.amazonaws.com
TTLTTLUse Vercel default (60)
PriorityPriority10
After verifying your domain, create a webhook to process incoming emails. For help setting up a webhook, how to access email data and attachments, forward emails, and more, see our guide on receiving emails with Resend.

Complete Verification

Now click Verify DNS Records on your Domain in Resend. It may take a few hours to complete the verification process (often much faster).

Troubleshooting

If your domain is not successfully verified, these are some common troubleshooting methods.
Review the records you added to Vercel to rule out copy and paste errors.