Best practice
For the integration with Oomnitza, create a dedicated user account.
Prerequisites
Client ID and Secret
Xero uses OAuth 2.0 authentication and requires your Client ID and Secret to be added to Oomnitza. To obtain this information, complete the following steps:
- Go to My Apps and create an app.
- Give the application a name
- Enter the URL of your Oomnitza instance, for example:
https://mycompany.oomnitza.com - Enter the following redirect URI:
https://generic-oauth2-proxy.oomnitza.com/oauth2/redirect_url - Click Create app.
- When your app is created, in the App details screen, copy your XTID (Xero Tenant ID).
- Go to Configuration in the app sidebar. Copy your Client ID and generate a Secret. Keep your credentials safe for adding to Oomnitza.
For further information, refer to Xero API Documentation: Create your OAuth2.0 app.
Did you know?
You can create a free Xero trial account here.
Xero Scopes
You will also need to supply Xero scopes when adding your credentials to Oomnitza. You can enter a list of scopes separated by a space. We recommend that you use the following scopes:
- openid
- profile
- assets
- assets.read
For further information, refer to Xero API Documentation: Scopes.
Adding your credentials
To stream Xero data into Oomnitza, add the credentials that you obtained to Oomnitza:
- In Oomnitza, click Configuration > Security > Credentials.
- Click Add new credential (+).
- Search for the integration, and then click the forward arrow > to select the integration.
- Enter your client credentials and any other additional information.
- Click Authenticate. You are prompted to log in to authorize your request.
- Click CREATE.
- Add the information details.
- Click the AUTHORIZATION tab.
- Ensure that OAuth 2.0 is selected as the Authorization type.
- Ensure that Xero is selected from the SaaS list.
- Enter the OAuth credentials.
- Click Authenticate.
- Click Create.
Adding your Tenant ID as a global variable
To save time entering information when you create the integration and the workflow, you can add the Xero Tenant ID as a global variable in Oomnitza.
- From the menu, go to Configuration>General.
- Click Global Settings.
- Click Add new variable (+).
- Enter Xero.Tenant Id as the variable name.
- Enter your Xero Tenant ID that you copied when creating the app in Xero.
- Save your changes.
Next
You use the credentials and global variable that you have added to create and customize your Xero integrations with Oomnitza.
Comments
0 comments
Please sign in to leave a comment.