How to Set Up Magento 2 Mailjet Integration

How to Create Mailjet API for Magento 2

In this section, you will learn how to get your Mailjet API Key and set up the Magento 2 Mailjet integration for Newsletter Popup. Please, follow the instruction below.

Step-by-Step actions:

  1. Log in to your Mailjet account at app.mailjet.com.
magento 2 newsletter popup extension mailjet integration configuration 1

Step-by-Step actions:

  1. In the upper right corner of the page, click on the user menu.
  2. Select Account Settings.
magento 2 newsletter popup extension mailjet integration configuration 2

Step-by-Step actions:

  1. Click on Master API Key & Sub API key management.
magento 2 newsletter popup extension mailjet integration configuration 3

Step-by-Step actions:

  1. This is your Main Account API Key. Copy it to the clipboard as this key will be required in the Magento admin panel > Newsletter Popup configuration > Mailjet Integration.
  2. Copy your Secret Key that will be required in the Magento admin panel > Newsletter Popup configuration > Mailjet Integration.
  3. You can use the given API key or click on the Add another key button if you want to generate another API key. You will be required to enter a name for your new key and confirm its creation in the validation email.
magento 2 newsletter popup extension mailjet integration configuration 4

Configuring Mailjet API in Magento 2 Newsletter Popup Extension

In this section of the article, you will configure Mailjet API integration in your Magento 2 Newsletter Popup extension with step-by-step instructions.

In the main Magento menu, go to the Plumrocket tab > Newsletter Popup > Configuration. Then, scroll down to the Integrations > select Mailjet.

Step-by-Step actions:

  1. Enable“: in this field, you can enable or disable the Mailjet integration with your Magento store. Set to “Yes” in order to complete further configurations.
  2. API Key“: paste the API Key you have received in the Mailjet account.
  3. Secret API Key“: paste the Secret Key from your Mailjet account.
  4. Click on the Test Connection button to test the connection with Mailjet API. The green confirmation checkmark will be displayed if the connection is successful.
  5. Contact List(s)“: in this field, you can enable lists in each new popup individually.
  6. Fields Mapping“: this field lets you set up a relation between your Newsletter Popup Fields and Mailjet List Fields. This will allow you to save your newsletter subscribers’ additional data (including Coupon Codes) directly to your Mailjet account.
  7. Press the Save Config button to save your configurations.
magento 2 newsletter popup extension mailjet integration configuration 5

The Mailjet Integration with the Magento Newsletter Popup extension is now completed.

Was this article helpful?