> ## Documentation Index
> Fetch the complete documentation index at: https://nango-wari-migrated-bigcommerce-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-wari-migrated-bigcommerce-docs/5uzsB-_-fT400Ffv/integrations/all/emarsys-oauth/security_settings.png?fit=max&auto=format&n=5uzsB-_-fT400Ffv&q=85&s=e7a2105d05f152ea75bcf374e595ad05" 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-wari-migrated-bigcommerce-docs/5uzsB-_-fT400Ffv/integrations/all/emarsys-oauth/modal.png?fit=max&auto=format&n=5uzsB-_-fT400Ffv&q=85&s=334270f93c125a7f07b7e776f6a4e2f8" 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-wari-migrated-bigcommerce-docs/5uzsB-_-fT400Ffv/integrations/all/emarsys-oauth/credentials.png?fit=max&auto=format&n=5uzsB-_-fT400Ffv&q=85&s=93236585755e2bfe3a29c65045998f32" 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-wari-migrated-bigcommerce-docs/5uzsB-_-fT400Ffv/integrations/all/emarsys-oauth/permissions.png?fit=max&auto=format&n=5uzsB-_-fT400Ffv&q=85&s=bf8cb7366e4e5e5ff5e52d424906deaf" 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-wari-migrated-bigcommerce-docs/5uzsB-_-fT400Ffv/integrations/all/emarsys-oauth/form.png?fit=max&auto=format&n=5uzsB-_-fT400Ffv&q=85&s=292a3b745f7a0f419b0074c0325907f4" style={{maxWidth: "450px" }} width="998" height="1404" data-path="integrations/all/emarsys-oauth/form.png" />

You are now connected to Emarsys (Ouath).
