Connect your email (Resend) for campaigns
Step-by-step guide to connect your Resend account and send email campaigns to your customers from Xtarly.
Xtarly email campaigns send through your own Resend account. That way mail goes out from your domain, with your sending reputation, and you control the limits and cost. You only need to do this setup once.
Everything is configured in the dashboard: Email Campaigns → Resend Connection tab.
Never used Resend? It's an email sending service with a free tier that's enough to get started. You'll create an account, verify your domain, and copy an "API key" into Xtarly.
What you'll need
- A resend.com account (free to start).
- Access to your domain's DNS (wherever you bought your domain: GoDaddy, Cloudflare, Namecheap, etc.) to verify it.
- 10–15 minutes.
Step by step
Create your Resend account
Go to resend.com and sign up. You can use your email or your Google account.
Verify your domain
In Resend go to Domains → Add Domain and enter your domain (for example yourbusiness.com).
Resend will show you a few DNS records (SPF, DKIM). Copy them and add them in your domain provider's panel. Once they propagate, the domain will show as Verified in Resend.
Without a verified domain you cannot send campaigns. This is the slowest step (DNS propagation can take from minutes to a few hours). That's normal.
Create your API key
In Resend go to API Keys → Create API Key, name it (for example "Xtarly") and create it.
Copy the key that starts with re_... right away: Resend only shows it once.
Connect it in Xtarly
In Xtarly open Email Campaigns → Resend Connection and fill in:
- Resend API key — paste the
re_...key. - Sender email — the address you'll send from, e.g.
promos@yourbusiness.com. It must belong to a domain you verified in Step 2. - Sender name — the name customers will see, e.g. "Your Business".
Click Connect. Xtarly validates the key instantly; if it's correct you'll see the Active status.
Set up the webhook (recommended)
The webhook tells Xtarly when an email was delivered, opened, or clicked, so you see per-campaign metrics.
- In Xtarly, on the same Connection tab, copy the webhook URL shown (ends in
/api/webhooks/resend/...). - In Resend go to Webhooks → Add Endpoint and paste that URL.
- Resend gives you a Signing secret starting with
whsec_.... Copy it. - Back in Xtarly, paste that
whsec_...into the Signing secret field → Save.
Send a test
Create a template in the Templates tab and use Send test to your own inbox. If it arrives, you're done — you can create your first campaign.
Troubleshooting
| Problem | Likely cause | Fix |
|---|---|---|
| "Invalid API key" on connect | The key was copied incomplete or belongs to another account | Create a new one in Resend → API Keys and paste it in full. |
| Domain shows "not verified" | Missing DNS records or not propagated yet | Check that you copied SPF and DKIM exactly; wait and re-verify in Resend. |
| Email doesn't send / bounces | The Sender email isn't on a verified domain | Use an address from a domain that is Verified in Resend. |
| No opens/clicks showing | Webhook not set up | Repeat Step 5 (webhook + signing secret). |
POS Integration
Connect your point-of-sale system to Xtarly Rewards to automatically award points or stamps when customers make a purchase.
Connect WhatsApp (Meta or Twilio) for campaigns
Step-by-step guide to connect your WhatsApp number via Meta Cloud API or Twilio and send campaigns and handle conversations from Xtarly.