Skip to content

Xero credentials#

You can use these credentials to authenticate the following nodes:

Prerequisites#

Create a Xero account.

Supported authentication methods#

  • OAuth2

Refer to Zero's API documentation for more information about the service.

Using OAuth2#

To configure this credential, you'll need:

  • A Client ID: Generated when you create a new app for a custom connection.
  • A Client Secret: Generated when you create a new for a custom connection.

To generate your Client ID and Client Secret, create an OAuth2 custom connection app in your Xero developer portal My Apps.

Use these settings for your app:

  • Select Web app as the Integration Type.
  • Copy the OAuth Redirect URL from n8n and add it as an OAuth 2.0 redirect URI in your app.
  • Select appropriate scopes for your app. Refer to OAuth2 Scopes for more information.
    • To use all functionality in the Xero node, add the accounting.contacts and accounting.transactions scopes.

Refer to Xero's OAuth Custom Connections documentation for more information.