# MailerLite Integration (Classic)

## Why MailerLite Classic?

If you want to add MailerLite to your comment form but have yet to migrate to the newer version, you can use the Classic option to connect to MailerLite.

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

## Enabling MailerLite

<figure><img src="https://3862281288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwIGhykuGfv38YJ8fAMWe%2Fuploads%2FtzlE1VVpOPEc9m1c9RM9%2Fdlx-000602%402x.jpg?alt=media&#x26;token=65089225-b3dd-4318-92c9-9f89b94dd294" alt=""><figcaption><p>Enable MailLite Option</p></figcaption></figure>

Visit the MailerLite settings in the Integrations tab.&#x20;

{% content-ref url="../../getting-started/finding-the-plugin-settings" %}
[finding-the-plugin-settings](https://docs.dlxplugins.com/comment-edit-pro/getting-started/finding-the-plugin-settings)
{% endcontent-ref %}

Click on "Enable MailerLite." You'll be prompted to whether to enable MailerLite Classic.

<figure><img src="https://3862281288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwIGhykuGfv38YJ8fAMWe%2Fuploads%2Fgoc0MF2FOPgpbvYLMGrM%2Fdlx-000618%402x.jpg?alt=media&#x26;token=c9ad0e30-0c30-419c-9167-c08693cd922b" alt=""><figcaption><p>MailerLite Interface Where Classic is an Option</p></figcaption></figure>

You'll want to enable to Toggle for "Enable MailerLite Classic."

<figure><img src="https://3862281288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwIGhykuGfv38YJ8fAMWe%2Fuploads%2F0rnteSFAEUxQ3xOSzq7g%2Fdlx-000620%402x.jpg?alt=media&#x26;token=b416c2ec-920c-4271-9938-39aa0cc6063b" alt=""><figcaption><p>Prompt for a MailerLite Classic Theme</p></figcaption></figure>

### Retrieving the API Keys

Log into your MailerLite account and hover over your profile and find the Integrations section.

<figure><img src="https://3862281288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwIGhykuGfv38YJ8fAMWe%2Fuploads%2FzulXHXc9OsecCq599S0Z%2Fdlx-000621%402x.jpg?alt=media&#x26;token=67b3eb21-8332-412d-9c77-2fa1cad8749d" alt=""><figcaption><p>Integrations Section Under Your Profile</p></figcaption></figure>

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

<figure><img src="https://3862281288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwIGhykuGfv38YJ8fAMWe%2Fuploads%2F9ZtxW3KkgXPTvf3Joy4r%2Fdlx-000622%402x.jpg?alt=media&#x26;token=943ee260-02a2-4738-ad36-f9ba5ef007cf" alt=""><figcaption><p>Find the "Use" Function for the Developer API</p></figcaption></figure>

One on the APIs screen, you'll find your API key. You may need to create one if it doesn't exist yet.

<figure><img src="https://3862281288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwIGhykuGfv38YJ8fAMWe%2Fuploads%2FrHRf49Zhs6ptbSh7dxDe%2Fdlx-000623%402x.jpg?alt=media&#x26;token=e786e5f6-baa8-474c-a1f0-65aad36d59b6" alt=""><figcaption><p>Retrieve Your API Key from MailerLite Classic</p></figcaption></figure>

### Adding the MailerLite Token to the Integration

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

<figure><img src="https://3862281288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwIGhykuGfv38YJ8fAMWe%2Fuploads%2FOFTTTbSGEsGfJfykL1RT%2Fdlx-000624%402x.jpg?alt=media&#x26;token=5847fb64-82fe-4965-a8af-a702207f0ad2" alt=""><figcaption><p>Input Your MailerLite API Token</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="https://3862281288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwIGhykuGfv38YJ8fAMWe%2Fuploads%2FzsBltJ4H9T9kTHN8kmWK%2Fdlx-000610%402x.jpg?alt=media&#x26;token=3fdad92c-5605-4056-a336-b0801c4e82ea" 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="https://3862281288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwIGhykuGfv38YJ8fAMWe%2Fuploads%2FDZ8IXHgTdAfEeJ518kLs%2Fdlx-000611%402x.jpg?alt=media&#x26;token=61c29145-ba9f-4a30-bcbc-4b71bfaa0882" 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="https://3862281288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwIGhykuGfv38YJ8fAMWe%2Fuploads%2FIxW51t6r2JUAgvr9o8nq%2Fdlx-000612%402x.jpg?alt=media&#x26;token=5efce8cd-282b-47d0-ac42-0e7ef614ffcf" 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="https://3862281288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwIGhykuGfv38YJ8fAMWe%2Fuploads%2FyvEIuFD1EEVtAJSYVhc7%2Fdlx-000613%402x.jpg?alt=media&#x26;token=7513105c-a35f-40ec-8408-29cba625db33" 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="https://3862281288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwIGhykuGfv38YJ8fAMWe%2Fuploads%2FPzGYfayx4IEUkwRIAqXj%2Fdlx-000614%402x.jpg?alt=media&#x26;token=e51c1ce8-511b-4ebd-b01b-beddad07f3e6" alt=""><figcaption><p>Adjust the Form Defaults Shown on the Frontend</p></figcaption></figure>

### What the User Sees

<figure><img src="https://3862281288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwIGhykuGfv38YJ8fAMWe%2Fuploads%2FSNh7wTnMERgX4Q95Dix1%2Fdlx-000560%402x.jpg?alt=media&#x26;token=3d7fd96d-9e9e-448f-9988-bc2ac1081af3" alt=""><figcaption><p>Subscribe Option on the Frontend</p></figcaption></figure>

The user will see a Subscribe checkbox. If they subscribe, they will receive an email with an opt-in request.

### What You'll See

A successful subscriber adds the user to the correct groups and data mapped.

<figure><img src="https://3862281288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwIGhykuGfv38YJ8fAMWe%2Fuploads%2FJbFH0nZVrk1lgTOybCWZ%2Fdlx-000625%402x.jpg?alt=media&#x26;token=b787f8fd-4905-44d5-94e5-d81ffba1af02" alt=""><figcaption><p>Subscriber View in MailerLite Classic</p></figcaption></figure>
