Go to https://developer.xero.com/app/manage and create a new app. Fill the application name and redirect URL (https://api.appmixer.com/auth/xero/callback).
Get you client ID and clientSecret in the "Configuration" section
Go to the Appmixer BackOffice -> Configuration. Add new configuration: appmixer:xero
. Add your clientId
and clientSecret
keys.
All trigger components (for example NewInvoice
) use Xero webhooks. In order to use this component(s) in Appmixer, you have to register Appmixer's Xero URI in Xero first.
Go to https://developer.xero.com/myapps then choose your Appmixer app. Navigate to the "Webhooks" section and add a new webhook.
Fill the field Send notifications to with https://api.acme.appmixer.cloud/plugins/xero/webhooks
(replace acme
with your subdomain) and select the events you want to listen to.
For detailed steps, see Xero documentation.
Make sure to copy the Webhooks key and paste it to the Appmixer BackOffice -> Configuration -> appmixer:xero
-> webhookKey
field.