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

# How to configure Xero webhooks with Nango

> Learn how to set up webhook notifications from Xero to Nango

This guide shows you how to configure webhooks from Xero to receive real-time notifications about changes in your users' Xero accounts.

## Configuring Xero Webhooks

<Steps>
  <Step title="Get your Nango webhook URL">
    1. Go to the Nango UI and navigate to the *Integrations* tab
    2. Select your Xero integration
    3. Go to the *Settings* sub-tab
    4. Copy your unique webhook URL (it should look like `https://api.nango.dev/webhook/<UUID>/xero`)
  </Step>

  <Step title="Configure webhook in Xero">
    1. Go to your [Xero Developer Portal](https://developer.xero.com/app/manage)
    2. Select your app
    3. Navigate to the **Webhooks** tab
    4. Select the topics you would like to receive webhook notifications for
    5. Paste your Nango webhook URL from step 1 in the Deliver URL form
    6. Click Save to **Save** the configuration
    7. Copy the **Webhook Key** provided by Xero - you'll need this in the next step
  </Step>

  <Step title="Add webhook secret to Nango">
    1. Return to the Nango UI *Settings* page for your Xero integration
    2. In the **Webhook Configuration** section, paste the Xero Webhook Key into the **Webhook Secret** field
    3. Click **Save**
  </Step>

  <Step title="Verify the webhook">
    1. In the Xero Developer Portal, click the **Send intent to receive validation** button
    2. If everything is configured correctly, you should see a successful validation response
    3. Your webhooks are now ready to receive events from Xero
  </Step>
</Steps>

## Webhook Events

Once configured, you can receive webhook events from Xero such as:

* Contact events (created, updated)
* Invoice events (created, updated)

For a complete list of webhook events, refer to the [Xero Webhook API documentation](https://developer.xero.com/documentation/guides/webhooks/overview/).

<Tip>Need help getting started? Get help in the [community](https://nango.dev/slack).</Tip>

***
