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

# 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/_RLkbImQrpSTYVYg/integrations/all/xero-oauth2-cc/developer_console.png?fit=max&auto=format&n=_RLkbImQrpSTYVYg&q=85&s=5e5f01821c7dc09407a002e92420e129" 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/_RLkbImQrpSTYVYg/integrations/all/xero-oauth2-cc/new_app_form.png?fit=max&auto=format&n=_RLkbImQrpSTYVYg&q=85&s=0b68640a8871a9b4d58bb6ab73029aaa" 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/_RLkbImQrpSTYVYg/integrations/all/xero-oauth2-cc/generate_client_secret.png?fit=max&auto=format&n=_RLkbImQrpSTYVYg&q=85&s=bff45f604a8f8325b1fca4ad50a3886b" 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/_RLkbImQrpSTYVYg/integrations/all/xero-oauth2-cc/form.png?fit=max&auto=format&n=_RLkbImQrpSTYVYg&q=85&s=7d0bf88bb6faf445c52e1001e2d8309f" style={{maxWidth: "450px" }} width="1000" height="1396" data-path="integrations/all/xero-oauth2-cc/form.png" />

You are now connected to Xero (Client Credentials).
