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

# Xero (Client Credentials) - How do I link my account?

# Overview

To authenticate with Xero (Client Credentials), you will need:

1. **Client ID** - A unique identifier for your application on Checkout.
2. **Client Secret** - A key that grants full access to all your application and configurations.

This guide will walk you through generating your **Client Credentials** within Xero.

### Prerequisites:

* You must have an account with Xero.

### Instructions:

#### Step 1: Generating Your Client Credentials

1. Log in to your [Xero My Apps](https://developer.xero.com/app/manage) developer console.

<img src="https://mintcdn.com/nango-marcin-get-deployments-docs/QJDtJlbbTcxkOCz3/integrations/all/xero-oauth2-cc/developer_console.png?fit=max&auto=format&n=QJDtJlbbTcxkOCz3&q=85&s=7a1e57fa7a873058386322b3dbb147be" width="3020" height="1182" data-path="integrations/all/xero-oauth2-cc/developer_console.png" />

2. Click **New app** in the top right corner.
3. A new app form will appear. Enter a unique **App name**.

<img src="https://mintcdn.com/nango-marcin-get-deployments-docs/QJDtJlbbTcxkOCz3/integrations/all/xero-oauth2-cc/new_app_form.png?fit=max&auto=format&n=QJDtJlbbTcxkOCz3&q=85&s=d699c91de9e2354076e833ba88a2bee7" width="3020" height="1600" data-path="integrations/all/xero-oauth2-cc/new_app_form.png" />

4. Select **Web app** as the integration type.
5. Fill in the **Company or application URL** and **Redirect URI** fields.
   <Note> Note that the **Redirect URI** is required to create an app in Xero, even though it's not needed for the integration to work.</Note>
6. Check the developer's terms checkbox and click **Create App**.
7. You app will be genrated, and you will be redirected to your **App details** page.
8. Navigate to the **Configuration** tab to retrieve your **Client ID** and **Client Secret**. Click **Generate a Secret** to create a new **Client Secret**.

<img src="https://mintcdn.com/nango-marcin-get-deployments-docs/QJDtJlbbTcxkOCz3/integrations/all/xero-oauth2-cc/generate_client_secret.png?fit=max&auto=format&n=QJDtJlbbTcxkOCz3&q=85&s=70d0dc145ac2aef00cc3f45e69fa02e4" width="3020" height="1600" data-path="integrations/all/xero-oauth2-cc/generate_client_secret.png" />

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

Once you have your **Client ID** and **Client Secret**:

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

<img src="https://mintcdn.com/nango-marcin-get-deployments-docs/QJDtJlbbTcxkOCz3/integrations/all/xero-oauth2-cc/form.png?fit=max&auto=format&n=QJDtJlbbTcxkOCz3&q=85&s=63da3e5b175eeb33f34cc435ea886dcc" style={{maxWidth: "450px" }} width="1000" height="1396" data-path="integrations/all/xero-oauth2-cc/form.png" />

You are now connected to Xero (Client Credentials).
