> For the complete documentation index, see [llms.txt](https://docs.getmesa.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getmesa.com/connect/mailchimp.md).

# Mailchimp

### Connection <a href="#connect" id="connect"></a>

When you're setting up your first workflow with Mailchimp, you'll need to add your API key so that Mailchimp is a connected app within MESA.

<figure><img src="/files/5E2KZ5jVej4p1NsgXuCb" alt="Screenshot of a MESA workflow Mailchimp step connection panel, add your API key so Mailchimp becomes a connected app. Spotlight the API key field."><figcaption></figcaption></figure>

1\. You can locate your [API key](https://us4.admin.mailchimp.com/account/api/) by clicking your Account bubble, located at the top right of the Mailchimp Dashboard. Then, locate Account & billing and click on it.

<figure><img src="/files/yWFw3GDHEjdiUAv774pV" alt="Screenshot of the Mailchimp Dashboard, click the Account bubble at the top right. Spotlight the Account and billing option."><figcaption></figcaption></figure>

2\. Next, click on the Extras dropdown and select API keys.

<figure><img src="/files/JDU2Q6V4rIwzHLPmqPTX" alt="Screenshot of the Mailchimp Account and billing page, click the Extras dropdown. Spotlight the API keys option."><figcaption></figcaption></figure>

3\. Scroll down until you see Your API Keys. if you have an existing API key, skip this step. If you do not have any active API keys, you can click on Create A Key.

<figure><img src="/files/beLBtlwk2CJlUYORNhiq" alt="Screenshot of the Mailchimp API keys page scrolled to Your API Keys. Spotlight the Create A Key button."><figcaption></figcaption></figure>

4\. Once you have an API key, copy the value under API key.

<figure><img src="/files/Ol9CQQVITUQ2h2maAvgu" alt="Screenshot of the Mailchimp Your API Keys section. Spotlight the API key value to copy."><figcaption></figcaption></figure>

5\. Then, paste that into your MESA's workflow's Mailchimp step and click on Add Connection.

Afterwards, you are all set and you can re-use the newly created connection for your future workflows!

### Configure <a href="#configuring" id="configuring"></a>

#### Locate your Admin URL <a href="#admin-url" id="admin-url"></a>

For MESA's Mailchimp [action](/workflow-builder/triggers.md), you can enter your Admin URL by selecting the checkbox under More options.

<figure><img src="/files/qYBiBjUMslANX77AQevk" alt="Screenshot of a MESA Mailchimp action step. Spotlight the More options checkbox that reveals the Admin URL field."><figcaption></figcaption></figure>

<figure><img src="/files/FDxA0ORbrCGehXasXLAF" alt="Screenshot of a MESA Mailchimp action step with More options expanded. Spotlight the Admin URL field."><figcaption></figcaption></figure>

To locate the Admin URL, log into your [Mailchimp account](https://us7.admin.mailchimp.com/login). Then, view your browser's URL and copy the values before .admin. Paste that into the **Admin URL** field in your MESA workflow.

<figure><img src="/files/jtE2B9TbzrEIUWENxpSG" alt="Screenshot of a logged-in Mailchimp account in the browser. Spotlight the browser address bar URL, highlighting the value before .admin."><figcaption></figcaption></figure>

Here is an example of what the Admin URL could look like.

<figure><img src="/files/rpPi0eeHbbL9tp9t1rkU" alt="Screenshot of an example Mailchimp Admin URL entered in the MESA workflow. Spotlight the Admin URL value."><figcaption></figcaption></figure>

#### Locate your Audience ID <a href="#audience-id" id="audience-id"></a>

For MESA's Mailchimp [action](/workflow-builder/triggers.md), you can enter your Audience ID by selecting the checkbox under More options.

<figure><img src="/files/lMB2EfEu9jsdqG18Ouyf" alt="Screenshot of a MESA Mailchimp action step. Spotlight the Audience ID checkbox under More options."><figcaption></figcaption></figure>

1\. To locate the Audience ID, log into your [Mailchimp account](https://us7.admin.mailchimp.com/login). Then, go to [Audience](https://us7.admin.mailchimp.com/audience/) and select your audience.

<figure><img src="/files/91bXU3DMetHrPFDm5G7A" alt="Screenshot of the Mailchimp Audience page. Spotlight the audience selection."><figcaption></figcaption></figure>

2\. Once the audience is selected, click on Settings under the Manage Audience drop-down menu.

<figure><img src="/files/sh8VUJOFGDrmWPf2ShQn" alt="Screenshot of a Mailchimp audience with the Manage Audience drop-down open. Spotlight the Settings option."><figcaption></figcaption></figure>

3\. Under Audience name and campaign defaults, you will see your Audience ID on the right-hand side.

<figure><img src="/files/cqaFoVup3kCZQ9VadfrB" alt="Screenshot of the Mailchimp Audience name and campaign defaults settings. Spotlight the Audience ID on the right-hand side."><figcaption></figcaption></figure>

<figure><img src="/files/ShAq8q3iyD74swxWw4JT" alt="Screenshot of the Mailchimp audience Settings page. Spotlight the Audience ID value to copy."><figcaption></figcaption></figure>

4\. Copy the value and then paste that into the Audience ID field in your MESA workflow.

Here is an example of what the Audience ID could look like.

<figure><img src="/files/thROPAE1Xg0ckuN9MjwT" alt="Screenshot of an example Mailchimp Audience ID entered in the MESA workflow. Spotlight the Audience ID field."><figcaption></figcaption></figure>
