# MailerLite Integration

## Why MailerLite?

MailerLite is a more polished and fully featured newsletter solution designed for marketers. It's also much easier to use than most newsletter solutions.

{% embed url="<https://www.mailerlite.com/>" %}

## Looking for MailerLite Classic?

This guide works for the newer version of MailerLite. Please see the MailerLite Classic documentation on how to connect MailerLite Classic to your comment section.

{% content-ref url="/pages/qigbVbiskQprlA70WBYm" %}
[MailerLite Integration (Classic)](/comment-edit-pro/features-overview/integrations/mailerlite-integration-classic.md)
{% endcontent-ref %}

## Enabling MailerLite

<figure><img src="/files/paMZPNI0UrpDI32TUJS2" alt=""><figcaption><p>Enable MailLite Option</p></figcaption></figure>

Visit the MailerLite settings in the Integrations tab. Click on "Enable MailerLite." You'll be prompted to enter your MailerLite API key.

<figure><img src="/files/Df0Zn9K6DNtkdlaf85IS" alt=""><figcaption><p>MailerLite API Token Interface</p></figcaption></figure>

{% content-ref url="/pages/RjZz6qVjfOrWhwwqaAXh" %}
[Finding the Plugin Settings](/comment-edit-pro/getting-started/finding-the-plugin-settings.md)
{% endcontent-ref %}

### Retrieving the API Keys

Log into your MailerLite account and find the Integrations tab on the left.

<figure><img src="/files/6wH7RhLSsk6rW1FU1WuO" alt=""><figcaption><p>Find the Integrations Section to Access Your API Keys</p></figcaption></figure>

Find the section for API and click the "Use" button.

<figure><img src="/files/5titewqJhSRpW018DRH8" alt=""><figcaption><p>API Use Button</p></figcaption></figure>

One on the APIs screen, click the button for "Generate New Token."

<figure><img src="/files/uNcVEdXAWM5szKJ9eHqP" alt=""><figcaption><p>The Use Button for Using the API</p></figcaption></figure>

Name the token something memorable and create the token.

<figure><img src="/files/TCA1dq0EK8qYKHz9ZHyd" alt=""><figcaption><p>Create a Label for Your Token/API Key</p></figcaption></figure>

Once you've clicked on "Create Token", you're presented with your token (API key). Save this somewhere you can access it later such as in a password manager. You'll use this token in the Comment Edit Pro MailerLite integration settings.

<figure><img src="/files/BGjfEhJUwez4GWWW0JtM" alt=""><figcaption><p>Copy Your Token Somewhere Safe</p></figcaption></figure>

### Adding the MailerLite Token to the Integration

Input your API Key and click on "Connect to MailerLite."

<figure><img src="/files/oSaLL7PdcR7H8A3xS7vB" alt=""><figcaption><p>Connect to MailerLite With Your API Token/Key</p></figcaption></figure>

### Selecting a Group

Groups are like tags, and if you have any, they'll be listed in this section.

<figure><img src="/files/lrlKJpf4CNPsLV6PjOpo" alt=""><figcaption><p>Select One or More Groups for Your Subscribers</p></figcaption></figure>

You can also add your own Groups (tags) and refresh them if they are updated elsewhere.

### Selecting a Field (Custom Fields)

<figure><img src="/files/3XirZvQ2YR0aaazrnseV" alt=""><figcaption><p>MailerLite Fields are Shown in the Custom Fields Section</p></figcaption></figure>

With Custom Fields, you can map all of your MailerLite fields to the various comment fields available.

<figure><img src="/files/ZOwUqvBTFHX07azl6RMU" alt=""><figcaption><p>Map to a Field or Enter a Custom Value</p></figcaption></figure>

You're also able to refresh your Fields and add in new ones. If you need to delete any fields, I recommend doing so in the MailerLite interface.

<figure><img src="/files/6LowypSeuShLZcOS7x6d" alt=""><figcaption><p>Refresh or Add New Custom Fields</p></figcaption></figure>

{% hint style="info" %}
All Fields created using this integration will have the type of 'text.'
{% endhint %}

### Set up Default Options

You can also set the sign-up label, whether to enable double-optin, and to have the signup checkbox enabled or disabled by default.

<figure><img src="/files/piHShGstMHtxPoOFY4b5" alt=""><figcaption><p>Adjust the Form Defaults Shown on the Frontend</p></figcaption></figure>

### What the User Sees

<figure><img src="/files/sCM4jrc9RECqbF3UmFMp" alt=""><figcaption><p>Subscribe Option on the Frontend</p></figcaption></figure>

The user will see a Subscribe checkbox; if they subscribe, they will be sent an email for an opt-in request.

### What You'll See

If the user subscribes, you will be able to view the subscriber and see all of the mapped custom fields and groups.

It'll also have an opt-in date should you choose to disable double opt-in.

<figure><img src="/files/8mzScT1FhONGvxEg0AXx" alt=""><figcaption><p>Viewing a Subscriber in MailerLite</p></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.dlxplugins.com/comment-edit-pro/features-overview/integrations/mailerlite-integration.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.
