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

# Mailchimp Setup

> Step-by-step guide to setting up Mailchimp (formerly Mandrill) with OneSignal for transactional email delivery. Includes domain configuration, API key setup, email testing, and subscriber management.

<Warning>
  This guide is for users who already have a Mailchimp account and want to integrate it with OneSignal. If you don’t have a Mailchimp account, consider using [OneSignal Email](./email-setup) instead.
</Warning>

## Requirements

* [Mailchimp Account](https://www.mailchimp.com)
* [Mailchimp Transactional Email Plan (formerly Mandrill)](https://mailchimp.com/help/add-or-remove-transactional-email/)
* [OneSignal Account](https://onesignal.com)
* Access to your domain and DNS provider

***

## Setup

### 1. Configure your domain for email

Go to the [Mailchimp Transactional Email Domains page](https://mandrillapp.com/settings/sending-domains) and add your domain if it hasn’t been added already.

<Frame caption="Add domain">
  <img src="https://mintcdn.com/onesignal/jFWn5xzleD8du3j6/images/docs/5a4f614-esp-mandrill-domain.jpg?fit=max&auto=format&n=jFWn5xzleD8du3j6&q=85&s=3c39403028ceab636638ed20ce6394d4" width="2500" height="1030" data-path="images/docs/5a4f614-esp-mandrill-domain.jpg" />
</Frame>

After adding your domain:

* Click **View DKIM/SPF Setup Instructions** to get your DNS records.
* Optionally verify ownership via email under **View details**.

<Frame caption="View DKIM/SPF Setup Instructions">
  <img src="https://mintcdn.com/onesignal/tNi1OgLc_p9hiq7_/images/docs/208fa77-esp-mandrill-domain-2.jpg?fit=max&auto=format&n=tNi1OgLc_p9hiq7_&q=85&s=5389f9723d5aa450d1623a933617e78a" width="2500" height="830" data-path="images/docs/208fa77-esp-mandrill-domain-2.jpg" />
</Frame>

Update your DNS records with your DNS provider. Follow [Mailchimp’s setup guide](https://mailchimp.com/developer/transactional/docs/authentication-delivery/#configure-your-dns) if needed.

Mailchimp may take up to 48 hours to verify your domain. You’ll receive a confirmation email once complete.

***

### 2. Create API Key

In the [Transactional Email Settings](https://mandrillapp.com/settings), click **+ New API Key**.

<Frame caption="Create API Key">
  <img src="https://mintcdn.com/onesignal/_KaXe4GQkxsEfa17/images/docs/34f8ee5-esp-mandrill-apikey.jpg?fit=max&auto=format&n=_KaXe4GQkxsEfa17&q=85&s=c6e1729e222e76863a355a419223eabc" width="2500" height="1210" data-path="images/docs/34f8ee5-esp-mandrill-apikey.jpg" />
</Frame>

You can name it something like `OneSignal API Key`.

<Frame caption="Name the API Key">
  <img src="https://mintcdn.com/onesignal/MUgio66t0sYhGEvj/images/docs/635e416-esp-mandrill-apikey-2.jpg?fit=max&auto=format&n=MUgio66t0sYhGEvj&q=85&s=a42b769f287aba8e49fcee5f8a05103e" width="2500" height="1210" data-path="images/docs/635e416-esp-mandrill-apikey-2.jpg" />
</Frame>

Once created:

* Copy the API key securely
* Note your **SMTP Username**

<Frame caption="Copy the API key and SMTP Username">
  <img src="https://mintcdn.com/onesignal/9_Q1FZLh6C0BFLq-/images/docs/c630834-esp-mandrill-apikey-3.jpg?fit=max&auto=format&n=9_Q1FZLh6C0BFLq-&q=85&s=2064667fc2226e93ef3975cd23a3a404" width="2500" height="1340" data-path="images/docs/c630834-esp-mandrill-apikey-3.jpg" />
</Frame>

<Warning>
  Treat your API key like a password — keep it secure and never share it.
</Warning>

#### Recommended API Key Permissions

Enable the following permissions to ensure compatibility with OneSignal:

<Frame caption="API Key Permissions">
  <img src="https://mintcdn.com/onesignal/jBdBk5XvQR5eKOks/images/docs/73b2f9f-5bc4cf3-Mandrill.png?fit=max&auto=format&n=jBdBk5XvQR5eKOks&q=85&s=15c97adef93b1485366a2559fd3bd762" width="772" height="1185" data-path="images/docs/73b2f9f-5bc4cf3-Mandrill.png" />
</Frame>

***

### 3. Enable email messaging in OneSignal

1. In your OneSignal dashboard, go to **Settings > Platforms > Email**.

<Frame caption="Enable Email Messaging">
  <img src="https://mintcdn.com/onesignal/ciRrThfP6xMpI7GY/images/docs/02aa869-Screen_Shot_2020-10-22_at_4.24.33_PM.png?fit=max&auto=format&n=ciRrThfP6xMpI7GY&q=85&s=36b376df2149cb8b3cbf8e9c91141dba" width="1106" height="283" data-path="images/docs/02aa869-Screen_Shot_2020-10-22_at_4.24.33_PM.png" />
</Frame>

2. Select **Mailchimp** as your provider and enter the API key and SMTP username.

<Frame caption="Select Mailchimp and enter credentials">
  <img src="https://mintcdn.com/onesignal/9_Q1FZLh6C0BFLq-/images/docs/c033759-mailchimp.png?fit=max&auto=format&n=9_Q1FZLh6C0BFLq-&q=85&s=fac5599a343ea954012ff4aa64b5eaa8" width="1549" height="651" data-path="images/docs/c033759-mailchimp.png" />
</Frame>

<Frame caption="Configure Mailchimp email settings">
  <img src="https://mintcdn.com/onesignal/tc0EvmtSSX56SX0c/images/docs/8bad403-mailchimp_configure.png?fit=max&auto=format&n=tc0EvmtSSX56SX0c&q=85&s=915a7960852f0c28dc9063fd0b461766" width="1548" height="668" data-path="images/docs/8bad403-mailchimp_configure.png" />
</Frame>

3. Set your **default sender name** and **email address**.

<Frame caption="Configure default sender info">
  <img src="https://mintcdn.com/onesignal/_KaXe4GQkxsEfa17/images/docs/386301e-mailchimp_additional_settings.png?fit=max&auto=format&n=_KaXe4GQkxsEfa17&q=85&s=ef2289538cbe81374271ffc84610104f" width="1548" height="601" data-path="images/docs/386301e-mailchimp_additional_settings.png" />
</Frame>

***

### 4. Send a test email

Go to **OneSignal > Messages > Email** and click **New Email**.

* Add a subject line
* Click **Send Test Email**
* Enter your email address and click **Send Test Message**

<Frame caption="Send Test Email">
  <img src="https://mintcdn.com/onesignal/YOTSrtBSoqdrJ37A/images/docs/46aaab5-Screen_Shot_2021-11-18_at_6.00.46_PM.png?fit=max&auto=format&n=YOTSrtBSoqdrJ37A&q=85&s=5d3969be38e8e9caea691fdb094a54c7" width="1806" height="598" data-path="images/docs/46aaab5-Screen_Shot_2021-11-18_at_6.00.46_PM.png" />
</Frame>

You should receive your test email shortly.

<Info>
  Having issues? Check the [Email FAQ](./email-troubleshooting) or email `support@onesignal.com`.

  For faster assistance, include:

  * Your OneSignal App ID
  * Detailed issue description, logs, and screenshots
  * Steps to reproduce
</Info>

***

## Optional: Generate API key from Mailchimp Dashboard

If you are generating an API key from the main Mailchimp account dashboard:

1. Click your avatar in the top-right corner.

<Frame caption="Open profile menu">
  <img src="https://mintcdn.com/onesignal/tc0EvmtSSX56SX0c/images/docs/8f26003-step-1-50.png?fit=max&auto=format&n=tc0EvmtSSX56SX0c&q=85&s=639dec38e9f52f847410e268e6c7c87b" width="1616" height="1365" data-path="images/docs/8f26003-step-1-50.png" />
</Frame>

2. Go to **Account & Billing**.

<Frame caption="Navigate to Account & Billing">
  <img src="https://mintcdn.com/onesignal/56ctKxZSV4m5VEkn/images/docs/b99a7d1-step-2-50.png?fit=max&auto=format&n=56ctKxZSV4m5VEkn&q=85&s=71ff7d282c3218d0b4d357d449f54516" width="1616" height="1365" data-path="images/docs/b99a7d1-step-2-50.png" />
</Frame>

3. Click **Extras > API Keys**.

<Frame caption="Access API Key section">
  <img src="https://mintcdn.com/onesignal/Xl2NHJvxakrK4JbL/images/docs/efb165b-step-3-50.png?fit=max&auto=format&n=Xl2NHJvxakrK4JbL&q=85&s=a3eaef5b5c0324d33c17f1a5cb276f7b" width="1616" height="1365" data-path="images/docs/efb165b-step-3-50.png" />
</Frame>

4. Click **Create A Key**.

<Frame caption="Create a new API key">
  <img src="https://mintcdn.com/onesignal/YOTSrtBSoqdrJ37A/images/docs/49c865f-step-4-50.png?fit=max&auto=format&n=YOTSrtBSoqdrJ37A&q=85&s=71142924179b022dec01acf3e9596b4f" width="1616" height="1365" data-path="images/docs/49c865f-step-4-50.png" />
</Frame>

5. Name your key and click **Generate Key**.

<Frame caption="Generate key">
  <img src="https://mintcdn.com/onesignal/6v_cVPknFpo5qSVB/images/docs/09a6003-step-5-50.png?fit=max&auto=format&n=6v_cVPknFpo5qSVB&q=85&s=18bbd9d72dfe14424a7b121cfabfba28" width="1616" height="1365" data-path="images/docs/09a6003-step-5-50.png" />
</Frame>

6. Copy the API key securely.

<Frame caption="Copy key to clipboard">
  <img src="https://mintcdn.com/onesignal/9_Q1FZLh6C0BFLq-/images/docs/ca6d67b-step-6-50.png?fit=max&auto=format&n=9_Q1FZLh6C0BFLq-&q=85&s=515a654329b0f92030b88c3c0fd99a3e" width="1616" height="1365" data-path="images/docs/ca6d67b-step-6-50.png" />
</Frame>

***

<Check>
  ✅ Email setup complete!

  **Next steps:**

  * Return to the [Email Setup guide](./email-setup) to explore more OneSignal Email features.
</Check>

***
