Right now your lead magnet emails send from onboarding@resend.dev and can only reach your own inbox. After this homework, your emails will come from your own domain and reach anyone. About 15 minutes.
Before (right now)
onboarding@resend.devAfter (15 minutes from now)
hello@yourdomain.comWhat You Need Before Starting
Walkthrough Video
Hit play and the video will stick to the top as you scroll.
You do not need to go to the Resend dashboard. Claude Code can do everything for you. Open Claude Code in your project folder and paste this:
Pro Tip
My Resend API key is re_xxxxClaude will register your domain with Resend and give you back 3 DNS records along with instructions for your specific registrar. Follow those instructions to add each record.
Claude will show you 3 records. Here is what each one looks like and does so you know what you are pasting. You will add these in your registrar (Porkbun, GoDaddy, etc.) the same way you added DNS records for Vercel.
DKIM Record (TXT)
Unique to youThis proves to email providers that you own the domain. The value is a long string that Claude will give you. It is different for every person. Do not copy someone else's.
Type
TXT
Host / Name
resend._domainkey
TTL
Auto
Value (Claude will give you yours)
Copy this and paste it into the Value field
p=MIGf... (your unique key from Claude — do not use this example)This is just an example. Copy the actual value Claude gives you.
SPF Record (MX)
Same for everyoneThis tells email providers which server is allowed to send email for your domain. These values are the same for everyone.
Type
MX
Host / Name
send
TTL
Auto
Priority
10
Value — copy this exactly
Copy this and paste it into the Value field
feedback-smtp.us-east-1.amazonses.comSPF Record (TXT)
Same for everyoneThis is a second layer of verification. Also the same for everyone.
Type
TXT
Host / Name
send
TTL
Auto
Value — copy this exactly
Copy this and paste it into the Value field
v=spf1 include:amazonses.com ~allHeads Up
Claude will give you step-by-step instructions for your specific registrar. If you need a refresher, click your registrar below for a walkthrough:
Account > Domain Management > find your domain > DNS
My Products > Domains > click your domain > DNS > Manage
Domain List > Manage > Advanced DNS tab
Select your domain > DNS tab on the left
Settings > Domains > click your domain > DNS Records
domains.squarespace.com > select domain > DNS tab
Domains > Zone Editor > select your domain
For each record, you will fill in these fields in your registrar:
resend._domainkey or send)10Click Save after each record. You should have 3 new records when you are done.
Note
resend._domainkey (not resend._domainkey.yourdomain.com). The registrar adds the domain part for you.DNS changes take time to spread across the internet. Usually 1 to 5 minutes, sometimes up to a few hours. You can ask Claude Code to check for you:
Check if my domain is verified in Resend yet.You can also check yourself at resend.com/domains. Look for a green Verified badge next to your domain.
Not verified after an hour?
Ask Claude Code for help:
My Resend domain verification is not working. Can you check what DNS records are currently set up for my domain and compare them to what Resend expects? Tell me what is wrong and how to fix it.Once verified, tell Claude Code to switch your email sender address:
Pro Tip
hello@, joe@, or team@. You do not need to create a mailbox for this address. Resend sends on your behalf.Make sure everything works end to end:
onboarding@resend.devYou are done
Your lead magnet is fully functional. Anyone can sign up, and they will get an email from your own domain with your resource. Share your link and start collecting leads.
Already Use Another Email Service?
If you already have an account with SendGrid, Brevo (formerly Sendinblue), Postmark, or another email provider, you can use that instead of Resend. The logic is the same. Just ask Claude Code:
Claude will handle the code changes. You may still need to verify your domain in that service to avoid spam filters.