Register an OAuth Application
Register an application in the Xero Developer Portal to obtain OAuth credentials for API access.
Sign in to the Xero Developer Portal
Go to the Xero Developer Portal and click Log in in the top right corner. Sign in with your Xero account credentials.
Create a New App
Navigate to My Apps in the top navigation and click the New app button.
- Enter your App name (e.g.,
StackOne Integration) - Select Web app as the Integration type
- For the AI data usage question, select the appropriate option
- Select Yes to confirm you agree to meet Xero’s minimum security requirements
- Enter your Company or application URL
- Set the OAuth 2.0 redirect URI to the Callback URL from your Connector Profile
- Check the box to agree to the Xero Developer Platform Terms & Conditions
- Click Create app
Copy Client Credentials
After creating the app, click Configuration in the left sidebar to obtain your credentials.
- Click Copy next to the Client id to copy it
- Click Generate a secret to create a new Client Secret
- Copy the Client Secret immediately — it is only shown once
- Store both values securely for use later
Configure Scopes
Select the OAuth scopes based on your integration needs. Scopes control which Xero data your application can access.
Select Permissions
Enable the scopes required for your use case. If no scopes are specified during connection, the default scopes will be used.
Create the StackOne Connector Profile
Create a Connector Profile
Link an Account