> **Building with AI coding agents?** If you're using an AI coding agent, install the official Scalekit plugin. It gives your agent full awareness of the Scalekit API — reducing hallucinations and enabling faster, more accurate code generation.
>
> - **Claude Code**: `/plugin marketplace add scalekit-inc/claude-code-authstack` then `/plugin install <auth-type>@scalekit-auth-stack`
> - **GitHub Copilot CLI**: `copilot plugin marketplace add scalekit-inc/github-copilot-authstack` then `copilot plugin install <auth-type>@scalekit-auth-stack`
> - **Codex**: run the bash installer, restart, then open Plugin Directory and enable `<auth-type>`
> - **Skills CLI** (Windsurf, Cline, 40+ agents): `npx skills add scalekit-inc/skills --list` then `--skill <skill-name>`
>
> `<auth-type>` / `<skill-name>`: `agentkit`, `full-stack-auth`, `mcp-auth`, `modular-sso`, `modular-scim` — [Full setup guide](https://docs.scalekit.com/dev-kit/build-with-ai/)

---

# Xero connector

1. ### Install the SDK

   ```bash frame="terminal"
       npm install @scalekit-sdk/node
       ```
     ```bash frame="terminal"
       pip install scalekit
       ```
     Full SDK reference: [Node.js](/agentkit/sdks/node/) | [Python](/agentkit/sdks/python/)

2. ### Set your credentials

   <AgentKitCredentials />

3. ### Set up the connector

   Register your Xero credentials with Scalekit so it handles the token lifecycle. You do this once per environment.

   <details>
   <summary>Dashboard setup steps</summary>

   <SetupXeroSection />

   </details>

4. ### Authorize and make your first call

   <QuickstartGenericOauthSection connector="xero" toolName="xero_accounts_list" providerName="Xero" />

## What you can do

Connect this agent connector to let your agent:

- **Manage the chart of accounts** — list, create, update, and archive accounts
- **Work with contacts** — create and update customers and suppliers, manage contact groups
- **Create and manage invoices** — draft, authorise, update, and void invoices and bills
- **Handle payments and credit notes** — list payments, overpayments, prepayments, batch payments, and credit notes
- **Manage inventory** — create, update, and delete inventory items
- **Process purchase orders and quotes** — create, update, and track purchase orders and quotes
- **Record manual journals** — create and post manual journal entries
- **Manage employees** — create and update employee records
- **Run financial reports** — generate Balance Sheet, Profit & Loss, Trial Balance, Aged Payables/Receivables, Bank Summary, and Executive Summary reports
- **Access organisation settings** — list currencies, tax rates, tracking categories, and users

## Common workflows

<SectionAfterSetupXeroCommonWorkflows />

## Common patterns

<SectionBeforeToolListXeroCommonPatterns />

## Tool list

Pass the exact tool name from the list below when you call `executeTool` (Node.js) or `execute_tool` (Python).

<ToolList tools={tools} />

---

## More Scalekit documentation

| Resource | What it contains | When to use it |
|----------|-----------------|----------------|
| [/llms.txt](/llms.txt) | Structured index with routing hints per product area | Start here — find which documentation set covers your topic before loading full content |
| [/llms-full.txt](/llms-full.txt) | Complete documentation for all Scalekit products in one file | Use when you need exhaustive context across multiple products or when the topic spans several areas |
| [sitemap-0.xml](https://docs.scalekit.com/sitemap-0.xml) | Full URL list of every documentation page | Use to discover specific page URLs you can fetch for targeted, page-level answers |
