Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

15 pages for setup-token.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Set up Claude Code for your organization Claude Code CLI · in the page admin-setup …restriction applies across the VS Code extension, Agent SDK, `claude setup-token`, and `/install-github-app`, and the terminal's interactive login screen, reached by `/login` or first-run onboarding,… Use Claude Code features in the SDK Claude Code CLI · in the page agent-sdk/claude-code-features …Not loaded when `CLAUDE_CODE_OAUTH_TOKEN` holds a token from [`claude setup-token`](/docs/en/authentication#generate-a-long-lived-token), which can only make model requests. Passing `mcpServers: {}` d… Agent SDK reference - TypeScript Claude Code CLI · in the page agent-sdk/typescript …:profile` scope * The account isn't on usage-based billing A `claude setup-token` token passed as `CLAUDE_CODE_OAUTH_TOKEN` doesn't qualify by default, because it carries only the `user:inference` sc… Authentication Claude Code CLI · in the page authentication …: verify `forceLoginOrgUUID` for claude.ai account logins * **`claude setup-token` and `/install-github-app`**: enforce only `forceLoginMethod`, so they can mint a token in a different organization *… Use Claude Code with Chrome Claude Code CLI · in the page chrome …you authenticate with an API key or a long-lived token from [`claude setup-token`](/docs/en/authentication#generate-a-long-lived-token), Claude Code keeps Chrome integration off, even when you pass `… CLI reference Claude Code CLI · in the page cli-reference …laude self-hosted-runner setup` | | `claude setup-token` | Generate a long-lived OAuth token for CI and scripts. Prints the token to the terminal without saving it… Development containers Claude Code CLI · in the page devcontainer …tore `ANTHROPIC_API_KEY` or a `CLAUDE_CODE_OAUTH_TOKEN` from [`claude setup-token`](/docs/en/authentication#generate-a-long-lived-token) as a [Codespaces secret](https://docs.github.com/en/codespaces/… Error reference Claude Code CLI · in the page errors …KEY`](/docs/en/env-vars) or [generate a long-lived token with `claude setup-token`](/docs/en/authentication#generate-a-long-lived-token). * If you authenticate with the `CLAUDE_CODE_OAUTH_TOKEN` envir… Claude Code GitHub Actions Claude Code CLI · in the page github-actions …Pro, Max, Team, and Enterprise plans. Generate one by running `claude setup-token` locally. See [Generate a long-lived token](/docs/en/authentication.md#generate-a-long-lived-token) In workflow files… Connect Claude Code to tools via MCP Claude Code CLI · in the page mcp …he credential * `CLAUDE_CODE_OAUTH_TOKEN` holds a token from [`claude setup-token`](/docs/en/authentication#generate-a-long-lived-token), which can only make model requests If `/mcp` doesn't list a c… Continue local sessions from any device with Remote Control Claude Code CLI · in the page remote-control …gin token" You're authenticated with a long-lived token from `claude setup-token` or the `CLAUDE_CODE_OAUTH_TOKEN` environment variable. These tokens can only make model requests, so they can't estab… Test self-hosted environments end to end Claude Code CLI · in the page self-hosted-environments-testing …r:sessions:claude_code`, is capped server-side at 30 days, so `claude setup-token`, which mints a one-year inference-only token, doesn't cover it. The [environment secret](/docs/en/self-hosted-environ… Configure server-managed settings Claude Code CLI · in the page server-managed-settings …CODE_OAUTH_TOKEN`. * **OAuth token**: generate a token with [`claude setup-token`](/docs/en/authentication#generate-a-long-lived-token), authorize it for your Team or Enterprise organization, and set… Claude Code settings Claude Code CLI · in the page settings …ing the [VS Code extension](/docs/en/vs-code), the Agent SDK, `claude setup-token`, and `/install-github-app`; before v2.1.212, only terminal logins applied it. See [Restrict login to your organizatio… Get started with Claude Code in the cloud Claude Code CLI · in the page web-quickstart …ssions use it for GitHub access until you [remove it](#remove-the-web-setup-token). A cloud session you start yourself can then access any repository that token can access, with no Claude GitHub App i…
Feedback