The Xero connector is a Palantir-provided driver for Xero.
To create a new Xero source, follow the standard setup flow for Palantir-provided drivers, then use the sections below for Xero-specific configuration and networking. For the complete property reference, see the official Xero driver documentation ↗.
The properties below are mandatory or recommended.
| Property | Required? | Description | Default |
|---|---|---|---|
AuthScheme ↗ | Recommended | The type of authentication to use when connecting to Xero. | OAuthClient |
InitiateOAuth ↗ | Recommended | Specifies the process for obtaining or refreshing the OAuth access token, which maintains user access while an authenticated, authorized user is working. | GETANDREFRESH |
OAuthClientId ↗ | Recommended | Specifies the client Id that was assigned when the custom OAuth application was created. (Also known as the consumer key.) This ID registers the custom application with the OAuth authorization server. | — |
OAuthClientSecret ↗ | Recommended | Specifies the client secret that was assigned when the custom OAuth application was created. (Also known as the consumer secret). This secret registers the custom application with the OAuth authorization server. | — |
Schema ↗ | Recommended | The Xero API you want to access as a database schema. | ACCOUNTING |
Tenant ↗ | Recommended | Sets the Xero organization to connect to. Can be a name or tenant ID. | — |
The table below lists the domains that the source needs to be able to access in order to successfully run.
For each domain, add a corresponding egress policy. If the source is hosted on-premises and not directly reachable from Foundry, use an agent proxy egress policy instead; the agent host itself must also be able to reach the listed domains. See using an agent as a proxy for details.
| Domain | Required |
|---|---|
| api.xero.com | Always |
| login.xero.com | OAuth Authorization URL |
| identity.xero.com | Always. OAuth Token URL |