Xero credentials
You can use these credentials to authenticate the following nodes:
Prerequisites
Create a Xero (opens in a new tab) account.
Supported authentication methods
- OAuth2
Related resources
Refer to Zero's API documentation (opens in a new tab) 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 app for a custom connection.
To generate your Client ID and Client Secret, create an OAuth2 custom connection app (opens in a new tab) in your Xero developer portal My Apps (opens in a new tab).
Use these settings for your app:
Xero App Name: Xero doesn't support app instances within the Xero Developer Centre that contain n8n in their name.
- Select Web app as the Integration Type.
- For the Company or Application URL, enter the URL of your n8n server or reverse proxy address. For cloud users, for example, this is:
https://your-username.app.n8n.cloud/. - 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 (opens in a new tab) for more information.
- To use all functionality in the Xero node, add the
accounting.contactsandaccounting.transactionsscopes.
- To use all functionality in the Xero node, add the
Refer to Xero's OAuth Custom Connections (opens in a new tab) documentation for more information.