# Set Up Resend

> Resend is a lightweight option for API-driven email sending — connect it with an API key, verify your domain, and configure one webhook endpoint for automated subscriber status updates.

- Human page: https://mailrith.com/docs/setup-resend
- Category: Campaigns & Delivery
- Reading time: 7 min read

## What this guide covers
Connect Resend using an API key and a verified sending domain, then add the Mailrith webhook endpoint for bounce and complaint event tracking.

## Sections
- Before You Start
- Mailrith Fields
- Resend Setup
- Webhooks and Test Send

## Visual Reference
![Mailrith email delivery connections page showing connected providers with action controls.](https://mailrith.com/docs/screenshots/email-delivery-connections.png)

The Email Delivery Connections page lists every connected provider. From here you can add a new connection, send a test email, view webhook endpoints, and assign connections to workspaces.

## Before You Start

Resend connects to Mailrith with an API key and a verified sending domain. Before you create the connection, prepare:

- **A verified domain in Resend:** the domain used by the From email needs to be verified and ready to send.
- **A Resend API key:** the key Mailrith will use to send email.
- **A sender address:** the From email you want subscribers to see.
- **Webhook access:** needed so Resend can send bounce and complaint events back to Mailrith.

If you are still verifying the domain, wait until Resend shows it as ready before testing in Mailrith. An API key cannot send successfully from a domain that is not approved.

## Mailrith Fields

In Mailrith, click [Email Delivery Connections](https://mailrith.com/docs/email-delivery-connections.md) in the left sidebar, click **Create Connection**, choose **Resend** in **Select Email Delivery Service**, and enter these fields in **Connect Email Delivery Service**:

- **Connection name:** an internal label, such as "Resend Product Updates".
- **API Key:** the Resend key used for sending.
- **From name:** the sender name subscribers see.
- **From email:** an address on a verified Resend domain.
- **Workspaces:** the Mailrith workspaces that can use the connection.

## Resend Setup

1. In Resend, verify the sending domain you plan to use.
2. Create or copy an API key.
3. In [Email Delivery Connections](https://mailrith.com/docs/email-delivery-connections.md), click **Create Connection**, choose **Resend**, and paste the API key.
4. Enter the From name, From email, and workspace assignments.
5. Click **Save**, then use **Send Test Email** from the connection row.

If the test fails, check whether the domain is fully verified, whether the API key is active, and whether the From email belongs to the verified domain.

## Webhooks and Test Send

Resend can send bounce and complaint events to Mailrith through one webhook URL.

1. In Mailrith, click **Email Delivery Connections**, click **Webhooks** on the Resend connection, and copy the delivery-event webhook URL.
2. In Resend, open the webhook settings.
3. Add the Mailrith URL as the endpoint.
4. Enable bounced and complained email events.
5. Save the webhook and monitor for successful deliveries after test or live sends.

Delivery-event webhooks are what let Mailrith update subscriber statuses after Resend reports a problem. Without them, bounced or complained subscribers may stay active until changed another way.

## Related Guides
- [Email Delivery Connections](https://mailrith.com/docs/email-delivery-connections.md): Mailrith is provider-agnostic — you connect your own email delivery service and Mailrith handles campaign logic, subscriber targeting, and engagement tracking on top of it.
- [Broadcasts](https://mailrith.com/docs/broadcasts.md): Broadcasts are for newsletters, product launches, announcements, and any message that goes out once to selected subscribers — compose, target, test, and send or schedule from a single workflow.
- [Sequences](https://mailrith.com/docs/sequences.md): Sequences send a series of emails over time as subscribers progress through the steps — ideal for onboarding, nurture campaigns, and educational content that should unfold over days or weeks.
