# Create your MailerLite connection

{% hint style="info" %}
**Oauth connection**: The first step is to install GearPlug in your account so that GearPlug may access the data.
{% endhint %}

To integrate MailerLite as a Plug in GearPlug, you’ll need your account’s API Key. Follow the steps below to get it.

1. **Head over to the Integrations** **menu** in your MailerLite account. Once there, click “Use” in the MailerLite API section.

<figure><img src="https://lh6.googleusercontent.com/VvjzdzwGoDYKU0RBt3i_MpQfzSr3tEIpWjTyytzfR-mfZA9r3IA66hf9cD1NEZFClr83xVoIcZSaJVZxe_c_5tYLIOQGFxeqky-vvlBUygXVgdrQ7aPzKjUVGC4LcplhtisSoDu1LbfUSU_wMTV1Hg" alt=""><figcaption></figcaption></figure>

2. **You’ll need to generate** a new token to integrate the new app. So, click “Generate new token,” name it, and copy or download the API Key to save it.

<figure><img src="https://lh5.googleusercontent.com/xGbOR78okFqlYao_9M5Nvd65IJTujkbm-o8SmLNpw6OK7N0zH-ZvpC38bRIMldh_TH6RhwD6ZqC8pt278e3NO4XLYLv1e_BpygCDm00Yd6MUUrnYjdgHsiaMrRmDQ5qIKTfxqvvLKsRmxFX_DylFBA" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Make sure you copy or download your API Key before closing the creation tab. You won’t be able to access this token after creating it!
{% endhint %}

### Set up access

1. **Head over to “My Apps”** at the top of your GearPlug interface.

<figure><img src="https://lh6.googleusercontent.com/el8NkthlICW7YM-nc3p81oL7xgR3XWs_mGaucROGqsmomhuisT747VYiE-67xAcjbC3OPeA-lR0JjZejsK-7zuTP7SLlLNMhqxa9o2LN4Nuvv_vsxZY-dUN4bs3fdEVTR_J8WbgQ9HpGF_z8Qn7YBA" alt=""><figcaption></figcaption></figure>

2. **Select MailerLite** in the drop-down menu under “New connection” and click “Create.”

<figure><img src="https://lh3.googleusercontent.com/M4lWNTBbO9yhC09bwELNv8wwnlPt9kN92H7DB6wlGvVG0YVaghnUKBXVHhGhfxDHOzJt6f3p2POhDs4YI0mase6jlwW5wepGWOgrmR7bLUH9-Xj3X_lZ4_nzWptgeOEu9jX8tplPROA1Ey5qpOrmnA" alt=""><figcaption></figcaption></figure>

3. **Paste your API Key** in the field and click “Continue” to finish setting up your Plug.

<figure><img src="https://lh6.googleusercontent.com/McWPw1-Ow5eeAKXt9zrhVbF72AHHQUW5LMEZTyS6bgL_4hKrs5BGpWD4v1ph7JXXFzY2lVXnqyz_ZaJDtfUE-Y1AVj3gd3JMhdBbnM7P3Pktrhh0Q6uBNys8h7SZ_o1ZX3pPChGsNZda7tzj0ne9Hg" alt=""><figcaption></figcaption></figure>


---

# 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.gearplug.io/english/set-up-your-integrations/mailerlite/create-your-mailerlite-connection.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.
