xeroapi/xero-prompt-library/xero-integration-multi-tenant
Build a MULTI-TENANT Xero integration where EACH end user of the app connects THEIR OWN Xero organisation, with their own access + refresh tokens. Use whenever building a multi-tenant SaaS on Xero — every customer authorizes their own Xero and the app acts as that customer. Covers the full OAuth2 + PKCE lifecycle with the official `xero-node` SDK, per-user encrypted token storage, refresh/rotation, tenant selection, scopes (including the granular-scope migration), and the Xero API gotchas that b
Agent skill · version 0.0.0-main.1795947329.gfd3dbb6 · from XeroAPI/xero-prompt-library
Install
npx yarkr-cli add skill:xeroapi/xero-prompt-library/xero-integration-multi-tenantWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:xeroapi/xero-prompt-library/xero-integration-multi-tenant
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:xeroapi/xero-prompt-library/xero-integration-multi-tenantOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:xeroapi/xero-prompt-library/xero-integration-multi-tenantWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.