Configure
Learn how to set up Resend for email sending.
Set Up Resend
Create an account
Sign up for sign in on Resend.
Get the API key
Go to API Keys and click Create API Key to generate one.
Update the environment variables
Copy the API key and paste it beside RESEND_API_KEY in the .env file:
RESEND_API_KEY=your_api_key_here
RESEND_FROM_EMAIL=onboarding@resend.devIn production, use your own domain (e.g., notifications@your-domain.com). See the Domain section.
Test the integration
Try the magic link sign in at http://localhost:3000/signin to verify emails are being sent.