Resend setup
Resend setup
The Resend setup page mirrors the database flow: configure the provider, verify the credentials, then send a test email before saving. Secrets are written to apps/web/.env.local, which is the Next.js application root in this monorepo.
Sender config
- API key
- Sender address
- Reply-to defaults
- Branding metadata
Related page
Recommended flow
- Run
pnpm setup:resendfrom the monorepo root; it starts Next.js when needed. - Open the printed URL and enter the one-time code.
- Paste the API key and the sender address.
- Send a test email.
- Confirm the test message looks correct.
- Save the integration only after the test succeeds.
- Press
Ctrl+Cto stop the web app if the setup command started it.
Test mail
The test email should be styled like a real product message, with a clear subject, branded body, and a success-focused footer so we can validate deliverability as well as rendering.
Save state
- Persist the verified configuration only after a successful send
- Keep the preview body around for reuse until the save completes
- Surface the last test result in the form footer