n8n-docs/docs/integrations/credentials/xero.md
2022-04-13 15:19:07 +01:00

22 lines
939 B
Markdown

# Xero
You can use these credentials to authenticate the following nodes with Xero.
- [Xero](/integrations/nodes/n8n-nodes-base.xero/)
## Prerequisites
Create a [Xero](https://www.xero.com/) account.
## Using OAuth
1. Go to the [apps page](https://developer.xero.com/myapps) in the Xero developer portal.
2. Click on the *New app* button and fill in any necessary information.
3. Copy the 'OAuth Callback URL' provided in the Xero OAuth API credentials in n8n and paste it in the *OAuth 2.0 redirect URI* field in the Xero app creation page.
4. Click on the *Create app* button.
5. Click on *Generate a secret* and use the 'Client id' and the 'Client secret' with your Xero OAuth API credentials in n8n.
6. Click on the circle button in the OAuth section to connect a Xero account to n8n.
7. Click the *Save* button to save your credentials.
![Getting Xero Oauth Credentials](/_images/integrations/credentials/xero/using-oauth.gif)