# 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.inogic.com/marketing4dynamics/how-to-guides/how-to-find-api-url-and-key.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
