> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dittofeed.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Resend Integration

Dittofeed can integrate with Resend to send emails.

## Integration Instructions

Visit the Resend API Keys page [https://resend.com/api-keys](https://resend.com/api-keys).

Click "Create API Key", enter a new key name, select "Sending access" under the Permissions dropdown, and choose a sender domain from the Domain dropdown.

<Frame>
  <img src="https://mintcdn.com/dittofeed/abmbv2I9puhRd1Zb/images/resend-api-access.png?fit=max&auto=format&n=abmbv2I9puhRd1Zb&q=85&s=f10fbcddcd8ff061e1a69e8425e53174" alt="Resend API Access" width="934" height="814" data-path="images/resend-api-access.png" />
</Frame>

Click "Add". You will then be shown a "View API Key" modal containing your API key.

Add this API key to Dittofeed on the Settings page `/dashboard/settings#email-channel`.

<Frame>
  <img src="https://mintcdn.com/dittofeed/abmbv2I9puhRd1Zb/images/resend-config.png?fit=max&auto=format&n=abmbv2I9puhRd1Zb&q=85&s=a0bfaff1a793066ab6c774a77ce1702f" alt="Resend Config" width="2490" height="600" data-path="images/resend-config.png" />
</Frame>

Finally, select Resend as your default email provider.

<Frame>
  <img src="https://mintcdn.com/dittofeed/abmbv2I9puhRd1Zb/images/resend-provider.png?fit=max&auto=format&n=abmbv2I9puhRd1Zb&q=85&s=56662ab46635ab907eb6534011dccece" alt="Resend Provider" width="2498" height="524" data-path="images/resend-provider.png" />
</Frame>

## Tracking

To receive Resend tracking data, you'll need to create a webhook in Resend.

Go to the Webhooks settings page. [https://resend.com/webhooks](https://resend.com/webhooks)

Create a new webhook with the following actions to be posted.

* Bounced
* Clicked
* Complained
* Delivered
* Sent

<Info> The "Opened" action can also be used, but it is not recommended as it can drastically reduce deliverability. Additionally, Dittofeed does not currently support the "Delivery Delayed" action.</Info>

<Frame>
  <img src="https://mintcdn.com/dittofeed/abmbv2I9puhRd1Zb/images/resend-webhook.png?fit=max&auto=format&n=abmbv2I9puhRd1Zb&q=85&s=12580d8a27483f7548cf10225c3e57c7" alt="Resend Webhook Settings" width="1064" height="1016" data-path="images/resend-webhook.png" />
</Frame>

Use the Post URL `https://app.dittofeed.com/api/public/webhooks/resend` or your own custom domain if you're self-hosting.

Click "Add" to add the webhook.

You'll be redirected to the page for your new webhook. Copy the signing secret.

<Frame>
  <img src="https://mintcdn.com/dittofeed/abmbv2I9puhRd1Zb/images/resend-webhook-signing-secret.png?fit=max&auto=format&n=abmbv2I9puhRd1Zb&q=85&s=6dd3fe16266670694b16ff910778abf0" alt="Resend Webhook Signing Secret" width="2002" height="864" data-path="images/resend-webhook-signing-secret.png" />
</Frame>

Paste the signing secret into Dittofeed's settings page in the "Webhook Key" field `/dashboard/settings#email-title` and click save.

<Frame>
  <img src="https://mintcdn.com/dittofeed/abmbv2I9puhRd1Zb/images/resend-config.png?fit=max&auto=format&n=abmbv2I9puhRd1Zb&q=85&s=a0bfaff1a793066ab6c774a77ce1702f" alt="Resend Config" width="2490" height="600" data-path="images/resend-config.png" />
</Frame>

Here's a video showing the full setup.

<iframe class="w-full aspect-video" src="https://www.youtube.com/embed/nZZO4QMfzII?si=6wpB9OswaDu-NAfG" title="Integrating Resend with Dittofeed to Automate Emails" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowFullScreen />
