> **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**: `claude plugin marketplace add scalekit-inc/claude-code-authstack && claude 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/)

---

# Microsoft 365 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 Microsoft 365 credentials with Scalekit so it handles the token lifecycle. You do this once per environment.

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

   <SetupMicrosoft365Section />

   </details>

4. ### Authorize and make your first call

   <QuickstartGenericOauthSection connector="microsoft365" toolName="microsoft365_outlook_mailbox_settings_get" providerName="Microsoft 365" />

## What you can do

Connect this agent connector to let your agent:

- **Outlook** — Send, reply, forward, and draft emails; manage mail folders and inbox rules; create and respond to calendar events; find available meeting times; manage contacts and contact folders; track tasks with To Do lists
- **Teams** — Create teams and channels; send and delete channel messages; schedule and manage online meetings; manage team members and roles; handle shift scheduling, time-off requests, and shift swaps; archive and clone teams
- **SharePoint** — Create and manage sites, lists, and list items; upload, download, check out, and check in files; manage site permissions and role assignments; search for content and follow documents; register webhooks for site events
- **OneDrive** — Upload, download, copy, and delete files and folders; create sharing links; manage file permissions; check files in and out; browse recent items, drive activities, and version history
- **Excel** — Read and write cell ranges; create, update, and delete tables, rows, and columns; sort and merge ranges; manage worksheets and charts; open and close workbook sessions for batched edits
- **Word** — Create new Word documents and read existing ones stored in OneDrive
- **PowerPoint** — Create new presentations and read existing ones stored in OneDrive

## Common workflows

<SectionAfterSetupMicrosoft365CommonWorkflows />

## Tool list

Use the exact tool names from the **Tool list** below when you call `execute_tool`. If you're not sure which name to use, list the tools available for the current user first.

<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 |
