StartStack uses Resend for email delivery by default. You will need to have a Resend API key in order for auth via magic links to work. StartStack also uses Resend for collecting your newsletter audience. Let's get started!
Setting up Resend
- Sign up for Resend.
- Make sure you have properly setup your domain and verified it.
- Create a API key in your Resend dashboard.
- Update the
RESEND_API_KEY
in your.env
file.
RESEND_API_KEY="YOUR-API-KEY"
Note: Make sure you properly verify your domain to ensure your emails don't end up in the spam folder!
Setup Newsletter Audience
- Login to Resend and navigate to your account.
- Click on
Audiences
and create a new audience. - Copy the audience id and update the
RESEND_NEWSLETTER_AUDIENCE_ID
in your.env
file.
RESEND_NEWSLETTER_AUDIENCE_ID="YOUR-AUDIENCE-ID"
All newsletter signups will now be added to this audience.