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

# Emarsys (Ouath) - How do I link my account?

# Overview

To authenticate with Emarsys (Ouath), you need two key pieces of information:

1. **Client ID** - A unique identifier for your client.
2. **Client Secret** - A confidential key used to authenticate the identity of the application (client).

This guide will walk you through obtaining these credentials within Emarsys.

### Prerequisites:

* You must have an account with Emarsys.
* You must be an account owner to create new API credentials.

### Instructions:

#### Step 1: Requesting API credentials

1. Login to your **Emarsys account**.
2. Naviagate to **Management > Security Settings**.

<img src="https://mintcdn.com/nango/jNxmsZ4pW0gKOBN-/integrations/all/emarsys-oauth/security_settings.png?fit=max&auto=format&n=jNxmsZ4pW0gKOBN-&q=85&s=9150f1a8be8560d9fb9f3d7203090bb0" width="855" height="485" data-path="integrations/all/emarsys-oauth/security_settings.png" />

3. Under **Security Settings**, click on the **Create API Credentials** button, then click on **OpenID Connect** button on the **Create API Credentials** modal

<img src="https://mintcdn.com/nango/jNxmsZ4pW0gKOBN-/integrations/all/emarsys-oauth/modal.png?fit=max&auto=format&n=jNxmsZ4pW0gKOBN-&q=85&s=b681d557ffd08ac71daa2846abdae460" width="659" height="346" data-path="integrations/all/emarsys-oauth/modal.png" />

* By selecting the **OpenID Connect** option, API credentials are created with OpenID Connect authentication, using OAuth 2.0 and JSON Web Token (JWT) technologies.

<img src="https://mintcdn.com/nango/jNxmsZ4pW0gKOBN-/integrations/all/emarsys-oauth/credentials.png?fit=max&auto=format&n=jNxmsZ4pW0gKOBN-&q=85&s=4c057d17ac73fb09771b078343593dec" width="855" height="312" data-path="integrations/all/emarsys-oauth/credentials.png" />

* You also need to grant permissions by enabling the status to the specific permission in the permissions table, within the **API Credentials** page of the created **API Credentials**.

<img src="https://mintcdn.com/nango/jNxmsZ4pW0gKOBN-/integrations/all/emarsys-oauth/permissions.png?fit=max&auto=format&n=jNxmsZ4pW0gKOBN-&q=85&s=6667d63fc56a8e3075fd0c8466b8cb45" width="2966" height="1462" data-path="integrations/all/emarsys-oauth/permissions.png" />

#### Step 2: Enter credentials in the Connect UI

Once you have both the **Client ID** and **Client Secret**:

1. Open the form where you need to authenticate with Emarsys (Ouath).
2. Enter the **Client ID** and **Client Secret** in their designated fields.
3. Submit the form, and you should be successfully authenticated.

<img src="https://mintcdn.com/nango/jNxmsZ4pW0gKOBN-/integrations/all/emarsys-oauth/form.png?fit=max&auto=format&n=jNxmsZ4pW0gKOBN-&q=85&s=87d6cbdebb3808440d88dde6e93a101d" style={{maxWidth: "450px" }} width="998" height="1404" data-path="integrations/all/emarsys-oauth/form.png" />

You are now connected to Emarsys (Ouath).
