Answer: Configure a corporate proxy with the `HTTPS_PROXY` or `HTTP_PROXY` environment variables, and configure an LLM gateway with the `ANTHROPIC_BASE_URL`, `ANTHROPIC_BEDROCK_BASE_URL`, `ANTHROPIC_AWS_BASE_URL`, `ANTHROPIC_VERTEX_BASE_URL`, or `ANTHROPIC_FOUNDRY_BASE_URL` environment variables. These are different configurations that can be used together. Status: Confirmed Entry: tool/claude-code/admin-and-enterprise/configure-proxies-gateways Revision: 3 Digest: sha256:3bbef759bf05e32d (changes whenever the content changes) Timeline: Created: 2026-11-13T03:05:59Z Last changed: 2026-11-20T12:25:52Z (LLM gateway environment variables: — → ANTHROPIC_BASE_URL) Last verified: 2026-11-20T12:25:52Z Next check: 2026-11-21T12:25:52Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Corporate proxy environment variables | HTTPS_PROXY | [1] | 2026-11-20 LLM gateway environment variables | ANTHROPIC_BASE_URL | [1] | 2026-11-20 Verification command | /status | [1] | 2026-11-20 Sources: [1] Anthropic. "Enterprise deployment overview". https://code.claude.com/docs/en/third-party-integrations.md Role: primary. Accessed: 2026-11-20T12:25:52Z Quote: "Configure with the `HTTPS_PROXY` or `HTTP_PROXY` environment variables." (Supports: Corporate proxy environment variables) Quote: "Configure with the `ANTHROPIC_BASE_URL`, `ANTHROPIC_BEDROCK_BASE_URL`, `ANTHROPIC_AWS_BASE_URL`, `ANTHROPIC_VERTEX_BASE_URL`, or `ANTHROPIC_FOUNDRY_BASE_URL` environment variables." (Supports: LLM gateway environment variables) Quote: "Run `/status` in Claude Code to verify which provider, base URL, and proxy a session is using." (Supports: Verification command) Published: 2026-11-20T03:01:03Z Snapshot SHA-256: a60563eaf4573847e02c1ac7dbccdc16e66d21b808dec33d668cc1abb90aa742 (captured 2026-11-20T12:25:52Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-20T12:25:52Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:25:52Z Last attempt: 2026-11-20T12:25:52Z Notes and limitations: Extracted automatically from a single official source (section "Configure proxies and gateways"). Related: https://latestn.com/tool/claude-code/admin-and-enterprise/configure-proxy-server How do I configure a proxy server for Claude Code in an enterprise environment? https://latestn.com/tool/claude-code/admin-and-enterprise/configure-server-managed-settings How do I configure server-managed settings for Claude Code in the claude.ai console? https://latestn.com/tool/claude-code/admin-and-enterprise/corporate-proxy-aws How do I route Claude Code through a corporate proxy on Claude Platform on AWS? https://latestn.com/tool/claude-code/admin-and-enterprise/configure-egress-proxy-auth How do I configure a proxy authorization for egress in Claude Code self-hosted environments? https://latestn.com/tool/claude-code/admin-and-enterprise/configure-llm-gateway How do I configure Claude Code to use my organization's LLM gateway? https://latestn.com/tool/claude-code/admin-and-enterprise/configure-otlp-endpoint How do I configure the OTLP endpoint and authentication for Claude Code telemetry? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-20T12:25:52Z | changed | LLM gateway environment variables: — → ANTHROPIC_BASE_URL | [1] 2026-11-20T12:25:52Z | changed | Corporate proxy environment variables: — → HTTPS_PROXY | [1] 2026-11-20T12:25:52Z | changed | LLM gateway env vars: ANTHROPIC_BASE_URL → — | [1] 2026-11-20T12:25:52Z | changed | Corporate proxy env vars: HTTPS_PROXY → — | [1] 2026-11-15T12:26:11Z | changed | LLM gateway env vars: — → ANTHROPIC_BASE_URL | [1] 2026-11-15T12:26:11Z | changed | Corporate proxy env vars: — → HTTPS_PROXY | [1] 2026-11-15T12:26:11Z | changed | LLM gateway environment variables: ANTHROPIC_BASE_URL → — | [1] 2026-11-15T12:26:11Z | changed | Corporate proxy environment variables: HTTPS_PROXY → — | [1] 2026-11-13T03:05:59Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/admin-and-enterprise/configure-proxies-gateways/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/admin-and-enterprise/configure-proxies-gateways POST: https://latestn.com/dispute/tool/claude-code/admin-and-enterprise/configure-proxies-gateways with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/admin-and-enterprise/configure-proxies-gateways?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I configure a proxy or gateway for Claude Code in an enterprise deployment? Revision 3, last verified 2026-11-20T12:25:52Z. https://latestn.com/tool/claude-code/admin-and-enterprise/configure-proxies-gateways (accessed 2026-11-21T10:03:40Z). @misc{LatestN_tool_claude_code_admin_and_enterprise_configure_proxies_gateways_r3, title = {How do I configure a proxy or gateway for Claude Code in an enterprise deployment?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/admin-and-enterprise/configure-proxies-gateways}}, note = {Revision 3; digest sha256:3bbef759bf05e32d; last verified 2026-11-20T12:25:52Z; accessed 2026-11-21T10:03:40Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/admin-and-enterprise/configure-proxies-gateways