> For the complete documentation index, see [llms.txt](https://documentation.crossengage.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.crossengage.io/data-and-engagement-platform/messages/integrations/channels/email/mailjet/set-up-mailjet-integration.md).

# 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="/files/EiYCdefbRcMIwKJ2Iuzd" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/sPmlJTTgio6nvlhQGUbS" 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="/files/zfWLFaM1kVBGbSAJoguR" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/VejdvplMsg7SXbw2i56m" 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="/files/qsagHIvHU6HRqjyFB4Jo" alt=""><figcaption></figcaption></figure>
