> For the complete documentation index, see [llms.txt](https://docs.inogic.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.inogic.com/marketing4dynamics/how-to-guides/how-to-find-api-url-and-key.md).

# 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="/files/-MgQ_9ROnKwKnRn8tkXo" alt=""></div>

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

<div align="left"><img src="/files/-MgQ_KgsDL0NQ4OS0CLj" alt=""></div>

![](/files/-MgQ_Tlrh8eBjN-x7zmj)

* 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.

![](/files/-MgQ_lNJ_cAygM8Ydene)

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

![](/files/-MgQ_wQL5qsYNiz2ZS6D)

### **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="/files/xGKAhUbRnZt7xyPlhxHw" 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 %}
