Documentation
Mailing

Resend

To use Resend with supastarter, first create a Resend account and grab your API key.

Add the following environment variables to your .env.local file and your deployment environment:

RESEND_API_KEY="your-api-key"

Then, make sure to activate Resend as the mail provider in config.ts:

export const config = {
  // ...
  mailing: {
    provider: "resend",
  },
};

To customize the provider, edit the packages/mail/provider/resend/index.ts.

For further instructions, follow the general mail instructions.

On this page

No Headings