269 pages for login.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Connect to external tools with MCP
Claude Code CLI · in the page
agent-sdk/mcp
…laude Code v2.1.307, the status was `needs-auth` instead when a Mac's login keychain was locked. In either case, the agent run continues without that server's tools. The `mcp_servers` array of the [s…
Modifying system prompts
Claude Code CLI · in the page
agent-sdk/modifying-system-prompts
…f your prompt tells Claude to write commit messages as `PROJ-142: fix login redirect` with no trailers, Claude Code still tells Claude to end each commit message with a `Co-Authored-By` trailer, so Cl…
Agent SDK overview
Claude Code CLI · in the page
agent-sdk/overview
…d, Anthropic does not allow third party developers to offer claude.ai login or rate limits for their products, including agents built on the Claude Agent SDK. Use the API key authentication methods de…
Quickstart
Claude Code CLI · in the page
agent-sdk/quickstart
…d, Anthropic does not allow third party developers to offer claude.ai login or rate limits for their products, including agents built on the Claude Agent SDK. Use the API key authentication methods de…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…t-party or Cloud gateway sign-in](/docs/en/authentication.md#restrict-login-to-your-organization), and an Anthropic API key, auth token, or `apiKeyHelper` is configured instead | | `provider_not_allow…
Manage multiple agents with agent view
Claude Code CLI · in the page
agent-view
…ular session while the setting is on, pass a prompt: `claude "fix the login test"`. To turn the setting off, run `/config defaultToAgentsView=false` in a regular session or in one you attach to from a…
Claude Code on Amazon Bedrock
Claude Code CLI · in the page
amazon-bedrock
…tials and want to start using Claude Code through Amazon Bedrock, the login wizard walks you through it. You complete the AWS-side prerequisites once per account; the wizard handles the Claude Code si…
Share session output as artifacts
Claude Code CLI · in the page
artifacts
…x, Team, and Enterprise plans and require a session signed in with [`/login`](/docs/en/setup#authenticate). See [Availability](#availability) for the full set of requirements. An [artifact](https://c…
Authentication
Claude Code CLI · in the page
authentication
…on first launch, except in cases such as these, where it can skip the login prompt: * **API key**: you've set the `ANTHROPIC_API_KEY` environment variable and you approve the key when Claude Code ask…
Best practices for Claude Code
Claude Code CLI · in the page
best-practices
…theme={null} read /src/auth and understand how we handle sessions and login. also look at how we manage environment variables for secrets. ``` **2. Plan** Ask Claude to create a detailed implementat…
Claude Code changelog
Claude Code CLI · in the page
changelog
…vers showing "needs authentication" in `claude -p` on macOS while the login keychain was locked; they now say why, and the next run after an unlock connects without a new sign-in * Fixed MCP servers b…
Use Claude Code with Chrome
Claude Code CLI · in the page
chrome
…s. Claude opens new tabs for browser tasks and shares your browser's login state, so it can access any site you're already signed into. Browser actions run in a visible Chrome window in real time. Wh…
Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry
Claude Code CLI · in the page
claude-apps-gateway
…a gateway sign-in takes the place of a Claude for Teams or Enterprise login. Gateway sessions don't fetch the [server-managed settings](/docs/en/server-managed-settings.md) you set in the claude.ai ad…
Claude apps gateway configuration
Claude Code CLI · in the page
claude-apps-gateway-config
…ine_access` disables refresh tokens, so developers re-run the browser login every `session.ttl_hours`. See [Identity provider setup](/docs/en/claude-apps-gateway-deploy.md#identity-provider-setup) for…
Claude apps gateway deployment and operations
Claude Code CLI · in the page
claude-apps-gateway-deploy
…e IdP wasn't asked for. * **Microsoft Entra ID**: `issuer` = `https://login.microsoftonline.com/<tenant-id>/v2.0`. Entra emits group Object IDs rather than names, so use the GUIDs in `managed.policies…
Deploy Claude apps gateway on AWS
Claude Code CLI · in the page
claude-apps-gateway-on-aws
…specific. To use Microsoft Entra ID instead, set `issuer` to `https://login.microsoftonline.com/<tenant-id>/v2.0`, drop `userinfo_fallback` and the `groups` scope, and note that Entra emits group Obje…
Deploy Claude apps gateway on Google Cloud
Claude Code CLI · in the page
claude-apps-gateway-on-gcp
…e resources above * The `gcloud` CLI, authenticated with `gcloud auth login`, and Docker installed locally * For the GKE track: `kubectl`, and a GKE cluster on the VPC created in the walkthrough below…
Use Claude Code in the cloud
Claude Code CLI · in the page
claude-code-on-the-web
…h theme={null} claude --cloud "Fix the authentication bug in src/auth/login.ts" ``` This creates a new cloud session on claude.ai. The cloud VM clones your current directory's GitHub remote at your c…
Explore the .claude directory
Claude Code CLI · in the page
claude-directory
…safe to delete. Keep these state files: * `.credentials.json`: your [login credentials](/docs/en/authentication#credential-management) * `agent-memory/`: [subagent memory](/docs/en/sub-agents#enable-…
Claude Code on Claude Platform on AWS
Claude Code CLI · in the page
claude-platform-on-aws
…u want SigV4 authentication. The AWS CLI is required only for the SSO login flow. ## Setup ### 1. Configure AWS credentials Claude Code supports two authentication methods for Claude Platform on AW…
Let Claude coordinate ongoing work with Projects
Claude Code CLI · in the page
claude-projects
…n these cases: * **One task that fits in a session**: "Fix the flaky login test." Start a [cloud session](/docs/en/claude-code-on-the-web.md) yourself. * **Work where every task needs your machine**:…
CLI reference
Claude Code CLI · in the page
cli-reference
…install stable` | | `claude auth login` | Sign in to your Anthropic account. Use `--email` to pre-fill your email address, `--sso` to force SSO authent…
Configure cloud environments
Claude Code CLI · in the page
cloud-environments
…ve auth like AWS SSO | No | Not supported. SSO requires browser-based login that can't run in a cloud session | To make your own configuration available in cloud sessions, commit it to the repo. Any…
Commands
Claude Code CLI · in the page
commands
…| | `/design-login` | Authorize design-system acce…
Common workflows
Claude Code CLI · in the page
common-workflows
…Understand the execution flow** ```text wrap theme={null} trace the login process from front-end to database ``` > [!TIP] > > Tips: > > * Be specific about what you're looking for > * Use domain la…
Manage costs effectively
Claude Code CLI · in the page
costs
…-credits` after signing in with your claude.ai subscription through `/login`; the command isn't available with API key authentication. In self-serve Enterprise organizations, Enterprise trials, and En…
Debug your configuration
Claude Code CLI · in the page
debug-your-config
…cation, and connectivity problems, see [Troubleshoot installation and login](/docs/en/troubleshoot-install.md) instead. ## See what loaded into context The `/context` command shows everything occupy…
Desktop application
Claude Code CLI · in the page
desktop
…profile, separate from your personal browser, with none of your saved logins or history. Use it for building and testing your app and for sites that don't need your identity. When you want Claude to a…
Environment variables
Claude Code CLI · in the page
env-vars
…, Claude Code selects federation credentials, which rank above your `/login` credential. See [authentication precedence](/docs/en/authentication#authentication-precedence)…
Error reference
Claude Code CLI · in the page
errors
…und` or TLS failures during setup, see [Troubleshoot installation and login](/docs/en/troubleshoot-install.md). Except for [Wrapper and IDE errors](#wrapper-and-ide-errors), which the launching progr…
Speed up responses with fast mode
Claude Code CLI · in the page
fast-mode
…so first run [`/status`](/docs/en/commands) to check. If it shows a `Login method` row such as `Claude Max account`, you signed in with a Claude subscription. If it shows an `API key` row instead, yo…
Run Claude Code through a gateway
Claude Code CLI · in the page
gateways
…m. Developers sign in with your corporate identity provider through `/login`, the gateway enforces model access and [managed settings](/docs/en/managed-settings.md) by IdP group, and it emits [OpenTel…
Claude Code GitHub Actions
Claude Code CLI · in the page
github-actions
…GitHub CLI](https://cli.github.com) and authenticate it with `gh auth login`. Claude Code checks for it and warns you if it's missing. Open `claude` in the repository you want to connect, run `/insta…
Use Claude Code GitHub Actions with cloud providers
Claude Code CLI · in the page
github-actions-cloud-providers
…esource name. Claude Code builds the endpoint URL from it. The `azure/login` step signs in with the workflow's OIDC token, and Claude Code picks up the credentials through the Azure [default credentia…
Claude Code with GitHub Enterprise Server
Claude Code CLI · in the page
github-enterprise-server
…use the `gh` CLI configured for your GHES host instead. Run `gh auth login --hostname github.example.com` to authenticate, then Claude can use `gh` commands in sessions. ## Troubleshooting ### Clou…
Claude Code GitLab CI/CD
Claude Code CLI · in the page
gitlab-ci-cd
…e gcloud CLI with the same credential configuration - gcloud auth login --cred-file=/tmp/cred.json - gcloud config set project "$GCP_PROJECT_ID" script: - /bin/gitlab-mcp-server || true…
Claude Code on Google Cloud's Agent Platform
Claude Code CLI · in the page
google-vertex-ai
…to start using Claude Code through Google Cloud's Agent Platform, the login wizard walks you through it. You complete the GCP-side prerequisites once per project; the wizard handles the Claude Code si…
Run Claude Code programmatically
Claude Code CLI · in the page
headless
…Y` before running it, because bare mode doesn't use your subscription login: ```bash theme={null} claude --bare -p "Summarize README.md" --allowedTools "Read" ``` In bare mode, Claude Code never rea…
Set up Claude Code (local mode) for a HIPAA-ready organization
Claude Code CLI · in the page
hipaa-setup
…s** tab shows these lines: | Line | When it appears | | :- | :- | | `Login method` and `Organization` | The session is signed in with a claude.ai account. For a Claude Enterprise account, `Login meth…
Hooks reference
Claude Code CLI · in the page
hooks
…ent branch: feat/auth-refactor\nUncommitted changes: src/auth.ts, src/login.tsx\nActive issue: #4211 Migrate to OAuth2", "sessionTitle": "auth-refactor" } } ``` A hook that only adds context ca…
Automate actions with hooks
Claude Code CLI · in the page
hooks-guide
…heck-what-your-organization-enforces) and your session doesn't use [`/login` credentials](/docs/en/authentication#authentication-precedence) for a Team or Enterprise plan, a [mod](/docs/en/plugins/mod…
How Claude Code works
Claude Code CLI · in the page
how-claude-code-works
…Start with what you want, then refine: ```text theme={null} Fix the login bug ``` \[Claude investigates, tries something] ```text theme={null} That's not quite right. The issue is in the session h…
Interactive mode
Claude Code CLI · in the page
interactive-mode
…. When you pass a prompt on the command line, as in `claude "fix the login bug"`, Claude Code doesn't wait for a second Enter. It removes the characters, shows a notice, and sends the cleaned prompt.…
JetBrains IDEs
Claude Code CLI · in the page
jetbrains
…les Claude Code has access to modify For Claude Code installation or login problems outside the IDE, see [Troubleshoot installation and login](/docs/en/troubleshoot-install.md). ### The built-in IDE…
Legal and compliance
Claude Code CLI · in the page
legal-and-compliance
…. Anthropic does not permit third-party developers to offer Claude.ai login into their own applications, or to route requests through Free, Pro, or Max plan credentials on behalf of their users. Moreo…
Other LLM gateways
Claude Code CLI · in the page
llm-gateway
…arry that credential in place of a developer's claude.ai subscription login, and the subscription's usage limits don't apply to them. Claude Code keeps a saved claude.ai login on the machine but doesn…
Connect Claude Code to an LLM gateway
Claude Code CLI · in the page
llm-gateway-connect
…redential your organization issues instead of your personal claude.ai login. This page is for developers running Claude Code through a gateway their organization operates. It covers two paths: [check…
Claude Code gateway compatibility guide
Claude Code CLI · in the page
llm-gateway-protocol
…aude Code releases. When the developer authenticates with a claude.ai login, which is possible when `ANTHROPIC_BASE_URL` is set without a gateway credential variable, this header also carries an OAuth…
Roll out an LLM gateway for your organization
Claude Code CLI · in the page
llm-gateway-rollout
…ocess environment and lower-precedence settings. Don't include `forceLoginMethod`, `forceLoginOrgUUID`, or `forceLoginGatewayUrl` in managed settings alongside a gateway credential. `forceLoginMethod…
Deploy managed settings
Claude Code CLI · in the page
managed-settings
…ller example that shows the shape of more managed keys, including the login method, models, MCP servers, and marketplaces, see [An organization's managed settings](/docs/en/settings-example.md#an-orga…