Emails + Authenticaiton
Setting up Resend
Setting Up Resend Email Service
Introduction
Resend is a modern email API service that allows developers to send transactional emails easily. This guide will walk you through the process of setting up and using Resend in your application.
Prerequisites
- A Resend account
- An API key from Resend
- A verified domain (for production use)
Step 1: Sign Up for Resend
- Go to Resend’s website
- Click on “Sign Up” and create an account
Step 2: Obtain API Key
- Log in to your Resend dashboard
- Navigate to the API Keys section
- Generate a new API key
- Copy Key and enter in
.env
file forRESEND_API_KEY
Step 3: Verify Your Domain (for production)
- In the Resend dashboard, go to the Domains section
- Click “Add Domain”
- Follow the provided instructions to add DNS records
- Wait for domain verification (usually takes a few minutes)