> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zeotap.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Getting Emarsys Credentials

## **Prerequisites**

Before using this API, ensure the following conditions are met:

* **Active Emarsys Account:** You must have an active Emarsys account with administrative privileges.
* **API User Credentials:** You must have already created an API user within the Emarsys platform and have access to its username and secret (API Key).
* **Correct Permissions:** The API user must be granted the appropriate permissions for all endpoints listed in this documentation. This is configured in the Emarsys UI under Management > Security Settings > API Users.
* **Existing Data:** The Emarsys account should have existing contacts, contact lists, and configured external events to ensure the API calls return meaningful data.

## **Creating API Credentials (OAuth 2.0 Method)**

To interact with the Emarsys v3 API, your application must first authenticate itself and obtain a temporary access token.

### **Step 1: Create the API Credentials in Emarsys**

These are the permanent, long-term credentials for your application that must be stored securely.

* **Action:**

  <Steps>
    <Step>
      Log in to the Emarsys application as an Account Owner.
    </Step>

    <Step>
      Navigate to **Management > Security Settings**.

      <Frame>
        <img src="https://mintcdn.com/zeotap/ZsC2IoNHiHM6BFS2/articles/integrate-customer/Storage/integrate-customer/image-24.png?fit=max&auto=format&n=ZsC2IoNHiHM6BFS2&q=85&s=0b5217e3e3791d4d144b4f35ba0592da" width="678" height="364" data-path="articles/integrate-customer/Storage/integrate-customer/image-24.png" />
      </Frame>
    </Step>

    <Step>
      Go to the **API Credentials** tab and click **Create API Credential**.

      <Frame>
        <img src="https://mintcdn.com/zeotap/ZsC2IoNHiHM6BFS2/articles/integrate-customer/Storage/integrate-customer/image-25.png?fit=max&auto=format&n=ZsC2IoNHiHM6BFS2&q=85&s=0fd7d68b450cf933893e6203d327dc9c" width="678" height="364" data-path="articles/integrate-customer/Storage/integrate-customer/image-25.png" />
      </Frame>
    </Step>

    <Step>
      The system will generate a **Client ID** and a **Client secret**.

      <Frame>
        <img src="https://mintcdn.com/zeotap/ZsC2IoNHiHM6BFS2/articles/integrate-customer/Storage/integrate-customer/image-26.png?fit=max&auto=format&n=ZsC2IoNHiHM6BFS2&q=85&s=b340abf889e7aae47c0c8aef07aaa1c5" width="678" height="364" data-path="articles/integrate-customer/Storage/integrate-customer/image-26.png" />
      </Frame>
    </Step>
  </Steps>

<Warning>
  **Critical Warning**

  The Client secret is displayed only once upon creation. You must copy and save it to a secure location immediately. If you lose the secret, you cannot retrieve it and will need to generate a new set of credentials.
</Warning>

Below you can find all the permissions that needs to be enabled for this particular source:

<Frame>
  <img src="https://mintcdn.com/zeotap/ZsC2IoNHiHM6BFS2/articles/integrate-customer/Storage/integrate-customer/image-27.png?fit=max&auto=format&n=ZsC2IoNHiHM6BFS2&q=85&s=7130b4bd855961a51bc694949de42874" width="2330" height="296" data-path="articles/integrate-customer/Storage/integrate-customer/image-27.png" />
</Frame>

<Frame>
  <img src="https://mintcdn.com/zeotap/ZsC2IoNHiHM6BFS2/articles/integrate-customer/Storage/integrate-customer/image-28.png?fit=max&auto=format&n=ZsC2IoNHiHM6BFS2&q=85&s=17506c5686dd1482fb227df8d8823174" width="2344" height="96" data-path="articles/integrate-customer/Storage/integrate-customer/image-28.png" />
</Frame>
