> For the complete documentation index, see [llms.txt](https://docs.pandium.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pandium.com/connectors/connectors-101/xero-oauth.md).

# Xero

## **Connector Overview**

<figure><img src="/files/VHtL6SkK72prmknXOCIp" alt="" width="188"><figcaption></figcaption></figure>

Xero is a cloud-based accounting software platform that helps businesses manage their finances, track transactions, and streamline their bookkeeping tasks.

## **Authentication Type**

OAuth

## **Webhook Supported**

Yes, Xero supports webhooks at an integration-level. To configure these, simply add your Xero integration webhook URL as the "Delivery URL" in your Xero Developer Portal under Apps > [Webhooks](https://developer.xero.com/documentation/guides/webhooks/overview/).

## **Secrets**

* PAN\_SEC\_XERO\_ACCESS\_TOKEN
* PAN\_SEC\_XERO\_SCOPE
* PAN\_SEC\_XERO\_EXPIRES\_IN
* PAN\_SEC\_XERO\_CLIENT\_ID
* PAN\_SEC\_XERO\_CLIENT\_SECRET
* PAN\_SEC\_XERO\_TENANT\_URL
* PAN\_SEC\_XERO\_WEBHOOK\_KEY

## **API Client Supported**

No

## **Requirements for Provisioning**

In order to provision your connector, the following Xero information must be gathered:

* Client ID
* Client Secret
* Webhook Key
  * *This is not required for provisioning, but if you wish to utilize webhooks, then it must be supplied*
* Scopes

## **How to Connect Your Integration**

Upon successfully creating a tenant, you will perform the following steps to connect to Xero:

1. Click on Reconnect
2. Log into your Xero Account
3. Select which Organization you want to connect
   1. If you have more than one organization, there should be a dropdown available\
      ![](/files/GG5igM0q60k6xajCoLIK)

## **API Resources**

For more information on how to utilize the Xero API, feel free to reference the following [documentation](https://developer.xero.com/documentation/api/accounting/overview).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.pandium.com/connectors/connectors-101/xero-oauth.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
