> ## 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.

# SAP Ariba - How do I link my account?

# Overview

To authenticate with SAP Ariba, you will need:

1. **Client ID** - A unique identifier for your application.
2. **Client Secret** - A confidential key used to authenticate the identity of your application.
3. **Subdomain** - Your SAP Ariba API subdomain (`api`, `api-eu`, or `api.au.cloud`).
4. **Application Key (API Key)** - Required for all API requests.
5. **Ariba Network ID (ANID)** - Your organization's unique identifier in SAP Ariba (e.g., `AN01234567890`).

This guide will walk you through obtaining these credentials within SAP Ariba.

### Prerequisites:

* You must have an account with [SAP Ariba Developer Portal](https://developer.ariba.com).
* You need your Ariba Network ID (ANID) for your organization.

### Instructions:

#### Step 1: Select Your Subdomain

SAP Ariba has different data centers for different regions. Select the API subdomain that matches where your SAP Ariba instance is hosted:

| Region        | Subdomain      | Description                              |
| ------------- | -------------- | ---------------------------------------- |
| United States | `api`          | Default subdomain for US-based customers |
| Europe        | `api-eu`       | For EU-based customers                   |
| Australia     | `api.au.cloud` | For APAC customers                       |

The subdomain determines which API endpoints will be used for authentication and API calls. Enter the exact value shown in the "Subdomain" column.

#### Step 2: Get Your API Key

1. Log in to the [SAP Ariba Developer Portal](https://developer.ariba.com).
2. Navigate to **Manage > Applications**.
3. Select your application (or create one if you haven't already).
4. Navigate to **Application Details**.
5. Copy your **Application Key** (also called `apikey`).

This API Key is required in the header of all API requests to SAP Ariba.

#### Step 3: Find Your ANID

Your Ariba Network ID (ANID) is your organization's unique identifier in SAP Ariba:

1. Your ANID starts with `AN` followed by digits (e.g., `AN01234567890`).
2. You can find your ANID in your SAP Ariba account settings under **Company Profile** or in the URL when logged in.
3. Contact your SAP Ariba administrator if you're unsure of your ANID.

#### Step 4: Get OAuth Credentials

1. In the SAP Ariba Developer Portal, navigate to your application's **Credentials** section.
2. Copy your **OAuth Client ID**.
3. Click **Generate** to create a new **OAuth Client Secret** (if you don't have one).
4. Store these credentials securely - the Client Secret is only shown once.

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

Once you have all your credentials:

1. Open the form where you need to authenticate with SAP Ariba.
2. Enter your **Subdomain** value (`api` for US, `api-eu` for Europe, or `api.au.cloud` for Australia).
3. Enter your **Application Key (API Key)**.
4. Enter your **Ariba Network ID (ANID)**.
5. Enter your **Client ID** and **Client Secret**.
6. Submit the form, and you should be successfully authenticated.

You are now connected to SAP Ariba.
