# How to find API URL and Key

To connect Mailchimp and Dynamics 365 CRM, **API URL** and **API key** from Mailchimp account is necessary. Follow the steps given below to obtain the same.

### API Key

* First, log into the existing Mailchimp account or create a new account.

<div align="left"><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-MgQZheXNJWuRjerdflS%2F-MgQ_9ROnKwKnRn8tkXo%2F1.png?alt=media&#x26;token=2aad1cd3-07c2-4ff2-a2a4-15f4b8d3e08d" alt=""></div>

* Go to **Account --> Extras --> Click on API keys.**

<div align="left"><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-MgQZheXNJWuRjerdflS%2F-MgQ_KgsDL0NQ4OS0CLj%2F2.png?alt=media&#x26;token=9cac30e5-868f-4dba-8896-df8756f30329" alt=""></div>

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-MgQZheXNJWuRjerdflS%2F-MgQ_Tlrh8eBjN-x7zmj%2F3.png?alt=media\&token=56363e38-3465-4825-9b85-86f11617e356)

* Navigate to **'Your API keys'** section. If you already have an API key listed and you would like to use it, simply copy it for connecting to your Mailchimp account otherwise, click on **‘Create A Key’** button.

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-MgQZheXNJWuRjerdflS%2F-MgQ_lNJ_cAygM8Ydene%2F4.png?alt=media\&token=0898aa03-43e5-42b2-a485-82d969fd1092)

* The key will be created shortly. This will be the **API key.**

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-MgQZheXNJWuRjerdflS%2F-MgQ_wQL5qsYNiz2ZS6D%2F5.png?alt=media\&token=66de503d-f14c-483c-9e19-1e8fc0ec85f4)

### **API URL**

* Log into the existing Mailchimp account or create a new account.
* The general format of the API URL is like this – **https\://{dc}.api.mailchimp.com/3.0/**
* To get the {dc} for your URL, look at the URL in your browser. On the home page of Mailchimp, you’ll see something like **<https://us5.admin.mailchimp.com/>.** Here, the **us5** part is the server prefix (dc). Note that your specific (dc) value may be different.,
* So in the above example, your API URL would be **<https://us5.api.mailchimp.com/3.0/>**

<div align="left"><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FYTdn2n5z8oD0ZVkbDZGH%2F58.png?alt=media&#x26;token=7b904dd3-e8ea-4f49-92e9-ae9da85688b7" alt=""></div>

* Now use the **API URL** and **API key** to connect Mailchimp account with Dynamics 365 CRM.

{% hint style="success" %}
For further queries, reach out to us at <crm@inogic.com>
{% endhint %}
