Skip to main content

How to connect your own Resend account to ValiantAI

Connect your own Resend account with a full access API key and a verified domain, so ValiantAI sends your approved email campaigns to your Resend segments.

To send ValiantAI email campaigns through your own Resend account, go to Integrations, open the Email tab and select Connect account on the Resend (your account) card. Paste a full access Resend API key, select Validate, then choose a verified domain and enter who your emails come from, and select Connect. Resend becomes your active email sender straight away, and your campaigns go to segments in your Resend account.

Resend is an email sending service. If you do not have a Resend account yet, or it has no verified domain, start with How to set up a Resend account and create a full access API key.

Before you start

  • A Resend account with at least one verified domain. ValiantAI only offers domains whose status in Resend is verified. Your From address must be on one of them.

  • A full access API key from that Resend account. Keys with sending access only are refused. Resend shows a key's value only once, when you create it, so copy it before you leave the page.

  • Your contacts in Resend segments. A segment is a named group of contacts in Resend. With this connection, you choose a Resend segment as the audience for each email, so the contacts you want to reach must already be in Resend.

  • Permission to manage integrations in ValiantAI. If the card shows no buttons, someone else on your account manages connections. See Who on my team can connect email, website and social media accounts?

Step 1: add your API key

  1. In the left sidebar, select Integrations.

  2. Select the Email tab.

  3. On the Resend (your account) card, select Connect account. The Connect Resend window opens on "Step 1 of 2: your API key".

  4. Paste your key into the Resend API key field. Resend keys start with "re_". The field hides what you type.

  5. Select Validate. The button is unavailable until the field contains a key.

ValiantAI checks the key with Resend. It reads your domains and confirms the key has full access by reading your segments. If the key is accepted, the window moves to step 2. If it is refused, a message appears under the field; see Your Resend account won't connect: API key or domain errors.

Step 2: choose who your emails come from

The window now shows "Step 2 of 2: who your emails come from".

  1. In Verified domain, choose the Resend domain your emails are sent from. Only verified domains appear in the list.

  2. In From name, enter the name recipients see, for example your business name.

  3. In From address, enter only the part before the @ sign, for example "hello". ValiantAI adds "@" and the domain you chose. If you type a full address, everything from the @ sign onwards is removed.

  4. Optionally, enter a full email address in Reply-to (optional). Replies go there instead of the From address.

  5. Select Connect. The button is unavailable until a domain, a From name and a From address are filled in.

To go back and use a different key, select Back at the top right of the window. To stop without connecting anything, select Cancel.

What happens when you connect

When you select Connect, ValiantAI:

  1. Checks the key again and confirms your From address is on the domain you chose.

  2. Uses your key to add a webhook to your Resend account. A webhook is an automatic notice Resend sends to ValiantAI when something happens to an email. ValiantAI subscribes to these events: sent, delivered, delivery delayed, bounced, complained (marked as spam), opened and clicked. This is how your campaign results reach ValiantAI.

  3. Saves your key in encrypted form. Only its last 4 characters are ever shown again.

  4. Makes Resend (your account) your active sender. You do not need to select Use for sending.

The window closes and the card shows Active sender with the line "Sending as" followed by your From address, your domain and the last 4 characters of your key, for example "Sending as [email protected] · example.com · ••••a1b2". Below the cards, the "Sending with Resend (your account)" section shows "Connected and ready to send".

You can see the new webhook under Webhooks in your Resend account. Leave it in place: if you delete it, ValiantAI stops receiving delivery and engagement results for your emails.

Your contacts, segments and unsubscribes stay in Resend

Connecting does not copy your Resend contacts into ValiantAI, and ValiantAI does not upload its own contact lists to Resend. While Resend is your sender:

  • You pick a Resend segment on each email and each workflow. See How to choose which list or segment receives your email.

  • The Email List and contacts pages show "Your contacts and domains are managed in your Resend account" instead of the upload and list tools.

  • Unsubscribes are recorded in Resend, and Resend does not send to contacts who have unsubscribed, even when they are in the segment you chose.

Common questions

How do I change the From name, From address or key later?

Select Reconnect on the Resend (your account) card and go through both steps again. The current sender details are filled in for you, but you must paste a key again. See How to change the sender address for your Resend account or reconnect it.

How do I stop sending through Resend?

Select Disconnect on the card and confirm. If Resend was your active sender, the ValiantAI Native Emailer, ValiantAI's built-in sender, becomes your sender, and the confirmation warns that campaigns without a verified sending domain in ValiantAI can only be downloaded as HTML. ValiantAI also tries to remove its webhook from your Resend account; if it cannot, a message tells you to delete it in Resend. See How to disconnect Mailchimp, Klaviyo or your own Resend account from ValiantAI.

Why don't I see the Resend (your account) card?

Connecting your own Resend account is not available on every account yet. If the card is missing from the Email tab, or you see "Connecting a Resend account isn't available yet.", the option is not switched on for your account. You can send through the ValiantAI Native Emailer, Mailchimp or Klaviyo instead; see How to choose or switch the service that sends your email campaigns.

The card says the key stopped working or sending is paused

Related articles

Did this answer your question?