# Set up Mailjet Integration

Before you begin, you will need the following:

* Mailjet Account
* CrossEngage Account
* User data (including an email address)

## **Creating a New API Key**

A Mailjet API key allows CrossEngage to connect to your Mailjet account. To create the API key:

* [*Log in*](https://app.mailjet.com/signin) to your Mailjet account.
* Click on your profile drop-down menu and select `Account Settings`.

<figure><img src="https://985110910-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Hio8LJewN8lQY2Vlqy0%2Fuploads%2FEx6m40tm3qIwz7DybpQn%2FMailjet_AccountSettings.png?alt=media&#x26;token=f7a3fd9d-385a-4a6c-8d40-777bb467fd79" alt=""><figcaption></figcaption></figure>

* In the “REST API” box, click on `API Key Management`.

<figure><img src="https://985110910-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Hio8LJewN8lQY2Vlqy0%2Fuploads%2FOdQQQ1e5PiDiUpUG3ZCl%2FMailjet_APIKeyManagement.png?alt=media&#x26;token=67a3cd18-cb6e-4d4b-9673-848151b02b0d" alt=""><figcaption></figcaption></figure>

* You can choose between two types of API keys: The Primary API Key and the Sub-Account API Key. More information regarding the difference between these two options can be found [here](https://documentation.mailjet.com/hc/en-us/articles/360042561854-What-are-sub-accounts-and-how-does-it-help-me-).&#x20;
* By default, all Mailjet accounts come with a Primary API Key that grants full access to your account, including but not limited to sending emails, statistics, and information.
* Using the Sub-account API Keys, you can separate your mailings across different API Keys. Find out how to proceed with creating a Sub-account API key [here](https://documentation.mailjet.com/hc/en-us/articles/360042561974-How-to-create-a-sub-account-or-additional-API-Key-).

## Configure Mailjet Integration in CrossEngage

* In the CrossEngage app, navigate to `Settings` > `Integrations`.
* Click the `Add new integration` button in the top right corner of the page.

<figure><img src="https://985110910-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Hio8LJewN8lQY2Vlqy0%2Fuploads%2FAgS47R9XoM50Wg0ysO8G%2FIntegrations_new.png?alt=media&#x26;token=f0b23923-4d5f-4b08-85d8-b97df995be9f" alt=""><figcaption></figcaption></figure>

* Search for Mailjet, then click `Set up`. An integration set-up form will open.

<figure><img src="https://985110910-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Hio8LJewN8lQY2Vlqy0%2Fuploads%2FwNmnLA0LtfZCChxtiJas%2FIntegrations_Mailjet.png?alt=media&#x26;token=a5cd0924-81a6-4796-b26c-1a81b3e8463e" alt=""><figcaption></figcaption></figure>

* Enter a clear, descriptive name for your integration in the "Account name" field.
* Insert your Primary API Key and Secret Key into the "API key" and "Secret key" fields respectively.
* Paste the API key that you copied from your Mailjet account during the previous steps into the "Account name" field.
* Click `Connect` and then `Apply` to save your integration.

<figure><img src="https://985110910-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Hio8LJewN8lQY2Vlqy0%2Fuploads%2FrzZW4bjv6QOgRnvKylTi%2FIntegrations_Mailjet_Form.png?alt=media&#x26;token=1c8eeff2-a847-4ddd-860c-3f33fb0a75f7" alt=""><figcaption></figcaption></figure>
