FeaturesJanuary 15, 2024
Setting up Resend for emails
Resend lets you send transactional emails from your app. Here’s how to wire it into the boilerplate.
Image
Overview
Resend is an API for sending transactional emails. The boilerplate already includes Resend; you only need an API key and a verified domain.
1. Get an API key
Sign up at Resend and create an API key in the dashboard. The free tier is enough to get started. Then add it to your env:
# .env.local
RESEND_API_KEY=re_xxxxxxxxxxxx2. Verify your domain
In the Resend dashboard, add your sending domain and add the DNS records they show (SPF, DKIM). After verification, set the "From" address in your config. The boilerplate uses these env vars for the sender:
- RESEND_FROM_EMAIL
- RESEND_FROM_NAME