> ## Documentation Index
> Fetch the complete documentation index at: https://nango-marcin-get-deployments-docs.mintlify.site/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-marcin-get-deployments-docs/m2srw3HGtarsGGhR/integrations/all/emarsys-oauth/security_settings.png?fit=max&auto=format&n=m2srw3HGtarsGGhR&q=85&s=cb0479e8504fd712d4aa241a25e04338" 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-marcin-get-deployments-docs/m2srw3HGtarsGGhR/integrations/all/emarsys-oauth/modal.png?fit=max&auto=format&n=m2srw3HGtarsGGhR&q=85&s=a718cf6ef814a6f4f50ede0112ac327d" 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-marcin-get-deployments-docs/m2srw3HGtarsGGhR/integrations/all/emarsys-oauth/credentials.png?fit=max&auto=format&n=m2srw3HGtarsGGhR&q=85&s=708d0eb79801a93594ed45a8b180f445" 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-marcin-get-deployments-docs/m2srw3HGtarsGGhR/integrations/all/emarsys-oauth/permissions.png?fit=max&auto=format&n=m2srw3HGtarsGGhR&q=85&s=690aa9113b95ebd84dd2f55896a78ff7" 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-marcin-get-deployments-docs/m2srw3HGtarsGGhR/integrations/all/emarsys-oauth/form.png?fit=max&auto=format&n=m2srw3HGtarsGGhR&q=85&s=db63d3dae0e7597096d61e24de8ed707" style={{maxWidth: "450px" }} width="998" height="1404" data-path="integrations/all/emarsys-oauth/form.png" />

You are now connected to Emarsys (Ouath).
