Appearance
Resend
Learn how to set up and use Resend for sending emails in your application.
NextSaasPilot comes configured with Resend, but you can easily integrate other email services if you prefer. An email provider is required for essential features such as email verification, password resets, and other transactional emails.

Setup
- Create a Resend Account: Visit Resend and sign up for a new account if you haven’t already.
- Add Your Domain: In the Resend dashboard, go to the Domains page and add your domain.
- Verify Your Domain: Complete the DNS verification steps provided by Resend. After updating your DNS records, click
Verify DNS Records
in the dashboard. - Generate an API Key: Navigate to API Keys page and create an API key.
- Save Your API Key Securely: Copy the API key immediately, as it will only be shown once. Add it to your project's
.env
.
txt
AUTH_RESEND_KEY = re_xxxxxxxxxxxxxxxxxxxx;
Configuration
Make sure your config.ts
is updated to match your Resend configuration. Pay special attention to the from
addresses and supportEmail
fields to ensure emails are sent from the correct addresses:
ts
export const appConfig = {
resend: {
fromNoReply: `NextSaasPilot <noreply@resend.yourdomain.com>`,
fromAdmin: `NextSaasPilot <yourname@resend.yourdomain.com>`,
supportEmail: "support@yourdomain.com",
resendKey: process.env.AUTH_RESEND_KEY
}
};