SpyBara
Go Premium

Documentation 2026-01-08 21:02 UTC to 2026-01-09 21:01 UTC

5 files changed +204 −187. View all changes and history on the product overview
2026
Sat 31 03:42 Fri 30 18:07 Thu 29 21:03 Wed 28 15:06 Tue 27 21:01 Mon 26 21:03 Sun 25 03:34 Sat 24 03:29 Fri 23 21:01 Thu 22 21:03 Wed 21 21:05 Tue 20 21:03 Mon 19 21:01 Fri 16 21:01 Wed 14 06:02 Mon 12 21:02 Sun 11 18:02 Sat 10 21:01 Fri 9 21:01 Thu 8 21:02 Wed 7 21:01 Tue 6 21:01 Sat 3 18:02

iam.md +24 −8

Details

4 4 

5## Authentication methods5## Authentication methods

6 6 

7Setting up Claude Code requires access to Anthropic models. For teams, you can set up Claude Code access in one of four ways:7Setting up Claude Code requires access to Anthropic models. For teams, you can set up Claude Code access in one of these ways:

8 8 

9* Claude API via the Claude Console9* [Claude for Teams or Enterprise](/en/setup#for-teams-and-organizations) (recommended)

10* Amazon Bedrock10* [Claude Console with team billing](/en/setup#for-teams-and-organizations)

11* Microsoft Foundry11* [Amazon Bedrock](/en/amazon-bedrock)

12* Google Vertex AI12* [Google Vertex AI](/en/google-vertex-ai)

13* [Microsoft Foundry](/en/microsoft-foundry)

13 14 

14### Claude API authentication15### Claude for Teams or Enterprise (recommended)

15 16 

16**To set up Claude Code access for your team via Claude API:**17[Claude for Teams](https://claude.com/pricing#team-&-enterprise) and [Claude for Enterprise](https://anthropic.com/contact-sales) provide the best experience for organizations using Claude Code. Team members get access to both Claude Code and Claude on the web with centralized billing and team management.

18 

19* **Claude for Teams**: Self-service plan with collaboration features, admin tools, and billing management. Best for smaller teams.

20* **Claude for Enterprise**: Adds SSO, domain capture, role-based permissions, compliance API, and managed policy settings for organization-wide Claude Code configurations. Best for larger organizations with security and compliance requirements.

21 

22**To set up Claude Code access:**

23 

241. Subscribe to [Claude for Teams](https://claude.com/pricing#team-&-enterprise) or contact sales for [Claude for Enterprise](https://anthropic.com/contact-sales)

252. Invite team members from the admin dashboard

263. Team members install Claude Code and log in with their Claude.ai accounts

27 

28### Claude Console authentication

29 

30For organizations that prefer API-based billing, you can set up access through the Claude Console.

31 

32**To set up Claude Code access for your team via Claude Console:**

17 33 

181. Use your existing Claude Console account or create a new Claude Console account341. Use your existing Claude Console account or create a new Claude Console account

192. You can add users through either method below:352. You can add users through either method below:

20 * Bulk invite users from within the Console (Console -> Settings -> Members -> Invite)36 * Bulk invite users from within the Console (Console -> Settings -> Members -> Invite)

21 * [Set up SSO](https://support.claude.com/en/articles/10280258-setting-up-single-sign-on-on-the-api-console)37 * [Set up SSO](https://support.claude.com/en/articles/13132885-setting-up-single-sign-on-sso)

223. When inviting users, they need one of the following roles:383. When inviting users, they need one of the following roles:

23 * "Claude Code" role means users can only create Claude Code API keys39 * "Claude Code" role means users can only create Claude Code API keys

24 * "Developer" role means users can create any kind of API key40 * "Developer" role means users can create any kind of API key

overview.md +6 −6

Details

6 6 

7Prerequisites:7Prerequisites:

8 8 

9* A [Claude.ai](https://claude.ai) (recommended) or [Claude Console](https://console.anthropic.com/) account9* A [Claude subscription](https://claude.com/pricing) (Pro, Max, Teams, or Enterprise) or [Claude Console](https://console.anthropic.com/) account

10 10 

11**Install Claude Code:**11**Install Claude Code:**

12 12 


16 <Tab title="Native Install (Recommended)">16 <Tab title="Native Install (Recommended)">

17 **macOS, Linux, WSL:**17 **macOS, Linux, WSL:**

18 18 

19 ```bash theme={null}19 ```bash theme={null} theme={null} theme={null}

20 curl -fsSL https://claude.ai/install.sh | bash20 curl -fsSL https://claude.ai/install.sh | bash

21 ```21 ```

22 22 

23 **Windows PowerShell:**23 **Windows PowerShell:**

24 24 

25 ```powershell theme={null}25 ```powershell theme={null} theme={null} theme={null}

26 irm https://claude.ai/install.ps1 | iex26 irm https://claude.ai/install.ps1 | iex

27 ```27 ```

28 28 

29 **Windows CMD:**29 **Windows CMD:**

30 30 

31 ```batch theme={null}31 ```batch theme={null} theme={null} theme={null}

32 curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd32 curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd

33 ```33 ```

34 </Tab>34 </Tab>

35 35 

36 <Tab title="Homebrew">36 <Tab title="Homebrew">

37 ```sh theme={null}37 ```sh theme={null} theme={null} theme={null}

38 brew install --cask claude-code38 brew install --cask claude-code

39 ```39 ```

40 </Tab>40 </Tab>


42 <Tab title="NPM">42 <Tab title="NPM">

43 If you have [Node.js 18 or newer installed](https://nodejs.org/en/download/):43 If you have [Node.js 18 or newer installed](https://nodejs.org/en/download/):

44 44 

45 ```sh theme={null}45 ```sh theme={null} theme={null} theme={null}

46 npm install -g @anthropic-ai/claude-code46 npm install -g @anthropic-ai/claude-code

47 ```47 ```

48 </Tab>48 </Tab>

quickstart.md +8 −8

Details

10 10 

11* A terminal or command prompt open11* A terminal or command prompt open

12* A code project to work with12* A code project to work with

13* A [Claude.ai](https://claude.ai) (recommended) or [Claude Console](https://console.anthropic.com/) account13* A [Claude subscription](https://claude.com/pricing) (Pro, Max, Teams, or Enterprise) or [Claude Console](https://console.anthropic.com/) account

14 14 

15## Step 1: Install Claude Code15## Step 1: Install Claude Code

16 16 


20 <Tab title="Native Install (Recommended)">20 <Tab title="Native Install (Recommended)">

21 **macOS, Linux, WSL:**21 **macOS, Linux, WSL:**

22 22 

23 ```bash theme={null}23 ```bash theme={null} theme={null} theme={null}

24 curl -fsSL https://claude.ai/install.sh | bash24 curl -fsSL https://claude.ai/install.sh | bash

25 ```25 ```

26 26 

27 **Windows PowerShell:**27 **Windows PowerShell:**

28 28 

29 ```powershell theme={null}29 ```powershell theme={null} theme={null} theme={null}

30 irm https://claude.ai/install.ps1 | iex30 irm https://claude.ai/install.ps1 | iex

31 ```31 ```

32 32 

33 **Windows CMD:**33 **Windows CMD:**

34 34 

35 ```batch theme={null}35 ```batch theme={null} theme={null} theme={null}

36 curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd36 curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd

37 ```37 ```

38 </Tab>38 </Tab>

39 39 

40 <Tab title="Homebrew">40 <Tab title="Homebrew">

41 ```sh theme={null}41 ```sh theme={null} theme={null} theme={null}

42 brew install --cask claude-code42 brew install --cask claude-code

43 ```43 ```

44 </Tab>44 </Tab>


46 <Tab title="NPM">46 <Tab title="NPM">

47 If you have [Node.js 18 or newer installed](https://nodejs.org/en/download/):47 If you have [Node.js 18 or newer installed](https://nodejs.org/en/download/):

48 48 

49 ```sh theme={null}49 ```sh theme={null} theme={null} theme={null}

50 npm install -g @anthropic-ai/claude-code50 npm install -g @anthropic-ai/claude-code

51 ```51 ```

52 </Tab>52 </Tab>


66# Follow the prompts to log in with your account66# Follow the prompts to log in with your account

67```67```

68 68 

69You can log in using either account type:69You can log in using any of these account types:

70 70 

71* [Claude.ai](https://claude.ai) (subscription plans - recommended)71* [Claude Pro, Max, Teams, or Enterprise](https://claude.com/pricing) (recommended)

72* [Claude Console](https://console.anthropic.com/) (API access with pre-paid credits)72* [Claude Console](https://console.anthropic.com/) (API access with pre-paid credits)

73 73 

74Once logged in, your credentials are stored and you won't need to log in again.74Once logged in, your credentials are stored and you won't need to log in again.

setup.md +22 −15

Details

23 <Tab title="Native Install (Recommended)">23 <Tab title="Native Install (Recommended)">

24 **macOS, Linux, WSL:**24 **macOS, Linux, WSL:**

25 25 

26 ```bash theme={null}26 ```bash theme={null} theme={null} theme={null}

27 curl -fsSL https://claude.ai/install.sh | bash27 curl -fsSL https://claude.ai/install.sh | bash

28 ```28 ```

29 29 

30 **Windows PowerShell:**30 **Windows PowerShell:**

31 31 

32 ```powershell theme={null}32 ```powershell theme={null} theme={null} theme={null}

33 irm https://claude.ai/install.ps1 | iex33 irm https://claude.ai/install.ps1 | iex

34 ```34 ```

35 35 

36 **Windows CMD:**36 **Windows CMD:**

37 37 

38 ```batch theme={null}38 ```batch theme={null} theme={null} theme={null}

39 curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd39 curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd

40 ```40 ```

41 </Tab>41 </Tab>

42 42 

43 <Tab title="Homebrew">43 <Tab title="Homebrew">

44 ```sh theme={null}44 ```sh theme={null} theme={null} theme={null}

45 brew install --cask claude-code45 brew install --cask claude-code

46 ```46 ```

47 </Tab>47 </Tab>


49 <Tab title="NPM">49 <Tab title="NPM">

50 If you have [Node.js 18 or newer installed](https://nodejs.org/en/download/):50 If you have [Node.js 18 or newer installed](https://nodejs.org/en/download/):

51 51 

52 ```sh theme={null}52 ```sh theme={null} theme={null} theme={null}

53 npm install -g @anthropic-ai/claude-code53 npm install -g @anthropic-ai/claude-code

54 ```54 ```

55 </Tab>55 </Tab>


66claude66claude

67```67```

68 68 

69Claude Code offers the following authentication options:

70 

711. **Claude Console**: The default option. Connect through the Claude Console and complete the OAuth process. Requires active billing in the [Anthropic console](https://console.anthropic.com). A "Claude Code" workspace is automatically created for usage tracking and cost management. You can't create API keys for the Claude Code workspace; it's dedicated exclusively for Claude Code usage.

722. **Claude App (with Pro or Max plan)**: Subscribe to Claude's [Pro or Max plan](https://claude.com/pricing) for a unified subscription that includes both Claude Code and the web interface. Get more value at the same price point while managing your account in one place. Log in with your Claude.ai account. During launch, choose the option that matches your subscription type.

733. **Enterprise platforms**: Configure Claude Code to use [Amazon Bedrock, Google Vertex AI, or Microsoft Foundry](/en/third-party-integrations) for enterprise deployments with your existing cloud infrastructure.

74 

75<Note>

76 Claude Code securely stores your credentials. See [Credential Management](/en/iam#credential-management) for details.

77</Note>

78 

79## Windows setup69## Windows setup

80 70 

81**Option 1: Claude Code within WSL**71**Option 1: Claude Code within WSL**


179 If you encounter permission errors, see [configure Claude Code](/en/troubleshooting#linux-permission-issues) for recommended solutions.169 If you encounter permission errors, see [configure Claude Code](/en/troubleshooting#linux-permission-issues) for recommended solutions.

180</Warning>170</Warning>

181 171 

172## Authentication options

173 

174### For individuals

175 

1761. **Claude Pro or Max plan** (recommended): Subscribe to Claude's [Pro or Max plan](https://claude.ai/pricing) for a unified subscription that includes both Claude Code and Claude on the web. Manage your account in one place and log in with your Claude.ai account.

1772. **Claude Console**: Connect through the [Claude Console](https://console.anthropic.com) and complete the OAuth process. Requires active billing in the Anthropic Console. A "Claude Code" workspace is automatically created for usage tracking and cost management. You can't create API keys for the Claude Code workspace; it's dedicated exclusively for Claude Code usage.

178 

179### For teams and organizations

180 

1811. **Claude for Teams or Enterprise** (recommended): Subscribe to [Claude for Teams](https://claude.com/pricing#team-&-enterprise) or [Claude for Enterprise](https://anthropic.com/contact-sales) for centralized billing, team management, and access to both Claude Code and Claude on the web. Team members log in with their Claude.ai accounts.

1822. **Claude Console with team billing**: Set up a shared [Claude Console](https://console.anthropic.com) organization with team billing. Invite team members and assign roles for usage tracking.

1833. **Cloud providers**: Configure Claude Code to use [Amazon Bedrock, Google Vertex AI, or Microsoft Foundry](/en/third-party-integrations) for deployments with your existing cloud infrastructure.

184 

185<Note>

186 Claude Code securely stores your credentials. See [Credential Management](/en/iam#credential-management) for details.

187</Note>

188 

182## Running on AWS or GCP189## Running on AWS or GCP

183 190 

184By default, Claude Code uses the Claude API.191By default, Claude Code uses the Claude API.

Details

2 2 

3> Learn how Claude Code can integrate with various third-party services and infrastructure to meet enterprise deployment requirements.3> Learn how Claude Code can integrate with various third-party services and infrastructure to meet enterprise deployment requirements.

4 4 

5This page provides an overview of available deployment options and helps you choose the right configuration for your organization.5Organizations can deploy Claude Code through Anthropic directly or through a cloud provider. This page helps you choose the right configuration.

6 6 

7## Provider comparison7## Compare deployment options

8 

9For most organizations, Claude for Teams or Claude for Enterprise provides the best experience. Team members get access to both Claude Code and Claude on the web with a single subscription, centralized billing, and no infrastructure setup required.

10 

11**Claude for Teams** is self-service and includes collaboration features, admin tools, and billing management. Best for smaller teams that need to get started quickly.

12 

13**Claude for Enterprise** adds SSO and domain capture, role-based permissions, compliance API access, and managed policy settings for deploying organization-wide Claude Code configurations. Best for larger organizations with security and compliance requirements.

14 

15Learn more about [Team plans](https://support.claude.com/en/articles/9266767-what-is-the-team-plan) and [Enterprise plans](https://support.claude.com/en/articles/9797531-what-is-the-enterprise-plan).

16 

17If your organization has specific infrastructure requirements, compare the options below:

8 18 

9<table>19<table>

10 <thead>20 <thead>

11 <tr>21 <tr>

12 <th>Feature</th>22 <th>Feature</th>

13 <th>Anthropic</th>23 <th>Claude for Teams/Enterprise</th>

24 <th>Anthropic Console</th>

14 <th>Amazon Bedrock</th>25 <th>Amazon Bedrock</th>

15 <th>Google Vertex AI</th>26 <th>Google Vertex AI</th>

16 <th>Microsoft Foundry</th>27 <th>Microsoft Foundry</th>


18 </thead>29 </thead>

19 30 

20 <tbody>31 <tbody>

32 <tr>

33 <td>Best for</td>

34 <td>Most organizations (recommended)</td>

35 <td>Individual developers</td>

36 <td>AWS-native deployments</td>

37 <td>GCP-native deployments</td>

38 <td>Azure-native deployments</td>

39 </tr>

40 

41 <tr>

42 <td>Billing</td>

43 <td><strong>Teams:</strong> \$150/seat (Premium) with PAYG available<br /><strong>Enterprise:</strong> <a href="https://claude.com/contact-sales">Contact Sales</a></td>

44 <td>PAYG</td>

45 <td>PAYG through AWS</td>

46 <td>PAYG through GCP</td>

47 <td>PAYG through Azure</td>

48 </tr>

49 

21 <tr>50 <tr>

22 <td>Regions</td>51 <td>Regions</td>

23 <td>Supported [countries](https://www.anthropic.com/supported-countries)</td>52 <td>Supported [countries](https://www.anthropic.com/supported-countries)</td>

53 <td>Supported [countries](https://www.anthropic.com/supported-countries)</td>

24 <td>Multiple AWS [regions](https://docs.aws.amazon.com/bedrock/latest/userguide/models-regions.html)</td>54 <td>Multiple AWS [regions](https://docs.aws.amazon.com/bedrock/latest/userguide/models-regions.html)</td>

25 <td>Multiple GCP [regions](https://cloud.google.com/vertex-ai/generative-ai/docs/learn/locations)</td>55 <td>Multiple GCP [regions](https://cloud.google.com/vertex-ai/generative-ai/docs/learn/locations)</td>

26 <td>Multiple Azure [regions](https://azure.microsoft.com/en-us/explore/global-infrastructure/products-by-region/)</td>56 <td>Multiple Azure [regions](https://azure.microsoft.com/en-us/explore/global-infrastructure/products-by-region/)</td>


32 <td>Enabled by default</td>62 <td>Enabled by default</td>

33 <td>Enabled by default</td>63 <td>Enabled by default</td>

34 <td>Enabled by default</td>64 <td>Enabled by default</td>

65 <td>Enabled by default</td>

35 </tr>66 </tr>

36 67 

37 <tr>68 <tr>

38 <td>Authentication</td>69 <td>Authentication</td>

70 <td>Claude.ai SSO or email</td>

39 <td>API key</td>71 <td>API key</td>

40 <td>API key or AWS credentials</td>72 <td>API key or AWS credentials</td>

41 <td>GCP credentials</td>73 <td>GCP credentials</td>


44 76 

45 <tr>77 <tr>

46 <td>Cost tracking</td>78 <td>Cost tracking</td>

47 <td>Dashboard</td>79 <td>Usage dashboard</td>

80 <td>Usage dashboard</td>

48 <td>AWS Cost Explorer</td>81 <td>AWS Cost Explorer</td>

49 <td>GCP Billing</td>82 <td>GCP Billing</td>

50 <td>Azure Cost Management</td>83 <td>Azure Cost Management</td>

51 </tr>84 </tr>

52 85 

86 <tr>

87 <td>Includes Claude on web</td>

88 <td>Yes</td>

89 <td>No</td>

90 <td>No</td>

91 <td>No</td>

92 <td>No</td>

93 </tr>

94 

53 <tr>95 <tr>

54 <td>Enterprise features</td>96 <td>Enterprise features</td>

55 <td>Teams, usage monitoring</td>97 <td>Team management, SSO, usage monitoring</td>

98 <td>None</td>

56 <td>IAM policies, CloudTrail</td>99 <td>IAM policies, CloudTrail</td>

57 <td>IAM roles, Cloud Audit Logs</td>100 <td>IAM roles, Cloud Audit Logs</td>

58 <td>RBAC policies, Azure Monitor</td>101 <td>RBAC policies, Azure Monitor</td>


60 </tbody>103 </tbody>

61</table>104</table>

62 105 

63## Cloud providers106Select a deployment option to view setup instructions:

64 

65<CardGroup cols={3}>

66 <Card title="Amazon Bedrock" icon="aws" href="/en/amazon-bedrock">

67 Use Claude models through AWS infrastructure with API key or IAM-based authentication and AWS-native monitoring

68 </Card>

69 

70 <Card title="Google Vertex AI" icon="google" href="/en/google-vertex-ai">

71 Access Claude models via Google Cloud Platform with enterprise-grade security and compliance

72 </Card>

73 

74 <Card title="Microsoft Foundry" icon="microsoft" href="/en/microsoft-foundry">

75 Access Claude through Azure with API key or Microsoft Entra ID authentication and Azure billing

76 </Card>

77</CardGroup>

78 

79## Corporate infrastructure

80 

81<CardGroup cols={2}>

82 <Card title="Enterprise Network" icon="shield" href="/en/network-config">

83 Configure Claude Code to work with your organization's proxy servers and SSL/TLS requirements

84 </Card>

85 107 

86 <Card title="LLM Gateway" icon="server" href="/en/llm-gateway">108* [Claude for Teams or Enterprise](/en/iam#claude-for-teams-or-enterprise-recommended)

87 Deploy centralized model access with usage tracking, budgeting, and audit logging109* [Anthropic Console](/en/iam#claude-console-authentication)

88 </Card>110* [Amazon Bedrock](/en/amazon-bedrock)

89</CardGroup>111* [Google Vertex AI](/en/google-vertex-ai)

112* [Microsoft Foundry](/en/microsoft-foundry)

90 113 

91## Configuration overview114## Configure proxies and gateways

92 115 

93Claude Code supports flexible configuration options that allow you to combine different providers and infrastructure:116Most organizations can use a cloud provider directly without additional configuration. However, you may need to configure a corporate proxy or LLM gateway if your organization has specific network or management requirements. These are different configurations that can be used together:

94 117 

95<Note>118* **Corporate proxy**: Routes traffic through an HTTP/HTTPS proxy. Use this if your organization requires all outbound traffic to pass through a proxy server for security monitoring, compliance, or network policy enforcement. Configure with the `HTTPS_PROXY` or `HTTP_PROXY` environment variables. Learn more in [Enterprise network configuration](/en/network-config).

96 Understand the difference between:119* **LLM Gateway**: A service that sits between Claude Code and the cloud provider to handle authentication and routing. Use this if you need centralized usage tracking across teams, custom rate limiting or budgets, or centralized authentication management. Configure with the `ANTHROPIC_BASE_URL`, `ANTHROPIC_BEDROCK_BASE_URL`, or `ANTHROPIC_VERTEX_BASE_URL` environment variables. Learn more in [LLM gateway configuration](/en/llm-gateway).

97 120 

98 * **Corporate proxy**: An HTTP/HTTPS proxy for routing traffic (set via `HTTPS_PROXY` or `HTTP_PROXY`)121The following examples show the environment variables to set in your shell or shell profile (`.bashrc`, `.zshrc`). See [Settings](/en/settings) for other configuration methods.

99 * **LLM Gateway**: A service that handles authentication and provides provider-compatible endpoints (set via `ANTHROPIC_BASE_URL`, `ANTHROPIC_BEDROCK_BASE_URL`, or `ANTHROPIC_VERTEX_BASE_URL`)

100 122 

101 Both configurations can be used in tandem.123### Amazon Bedrock

102</Note>

103 124 

104### Using Bedrock with corporate proxy125<Tabs>

126 <Tab title="Corporate proxy">

127 Route Bedrock traffic through your corporate proxy by setting the following [environment variables](/en/settings#environment-variables):

105 128 

106Route Bedrock traffic through a corporate HTTP/HTTPS proxy:129 ```bash theme={null}

130 # Enable Bedrock

131 export CLAUDE_CODE_USE_BEDROCK=1

132 export AWS_REGION=us-east-1

107 133 

108```bash theme={null}134 # Configure corporate proxy

109# Enable Bedrock135 export HTTPS_PROXY='https://proxy.example.com:8080'

110export CLAUDE_CODE_USE_BEDROCK=1136 ```

111export AWS_REGION=us-east-1137 </Tab>

112 138 

113# Configure corporate proxy139 <Tab title="LLM Gateway">

114export HTTPS_PROXY='https://proxy.example.com:8080'140 Route Bedrock traffic through your LLM gateway by setting the following [environment variables](/en/settings#environment-variables):

115```

116 141 

117### Using Bedrock with LLM Gateway142 ```bash theme={null}

143 # Enable Bedrock

144 export CLAUDE_CODE_USE_BEDROCK=1

118 145 

119Use a gateway service that provides Bedrock-compatible endpoints:146 # Configure LLM gateway

147 export ANTHROPIC_BEDROCK_BASE_URL='https://your-llm-gateway.com/bedrock'

148 export CLAUDE_CODE_SKIP_BEDROCK_AUTH=1 # If gateway handles AWS auth

149 ```

150 </Tab>

151</Tabs>

120 152 

121```bash theme={null}153### Microsoft Foundry

122# Enable Bedrock

123export CLAUDE_CODE_USE_BEDROCK=1

124 154 

125# Configure LLM gateway155<Tabs>

126export ANTHROPIC_BEDROCK_BASE_URL='https://your-llm-gateway.com/bedrock'156 <Tab title="Corporate proxy">

127export CLAUDE_CODE_SKIP_BEDROCK_AUTH=1 # If gateway handles AWS auth157 Route Foundry traffic through your corporate proxy by setting the following [environment variables](/en/settings#environment-variables):

128```

129 158 

130### Using Foundry with corporate proxy159 ```bash theme={null}

160 # Enable Microsoft Foundry

161 export CLAUDE_CODE_USE_FOUNDRY=1

162 export ANTHROPIC_FOUNDRY_RESOURCE=your-resource

163 export ANTHROPIC_FOUNDRY_API_KEY=your-api-key # Or omit for Entra ID auth

131 164 

132Route Azure traffic through a corporate HTTP/HTTPS proxy:165 # Configure corporate proxy

166 export HTTPS_PROXY='https://proxy.example.com:8080'

167 ```

168 </Tab>

133 169 

134```bash theme={null}170 <Tab title="LLM Gateway">

135# Enable Microsoft Foundry171 Route Foundry traffic through your LLM gateway by setting the following [environment variables](/en/settings#environment-variables):

136export CLAUDE_CODE_USE_FOUNDRY=1

137export ANTHROPIC_FOUNDRY_RESOURCE=your-resource

138export ANTHROPIC_FOUNDRY_API_KEY=your-api-key # Or omit for Entra ID auth

139 172 

140# Configure corporate proxy173 ```bash theme={null}

141export HTTPS_PROXY='https://proxy.example.com:8080'174 # Enable Microsoft Foundry

142```175 export CLAUDE_CODE_USE_FOUNDRY=1

143 176 

144### Using Foundry with LLM Gateway177 # Configure LLM gateway

178 export ANTHROPIC_FOUNDRY_BASE_URL='https://your-llm-gateway.com'

179 export CLAUDE_CODE_SKIP_FOUNDRY_AUTH=1 # If gateway handles Azure auth

180 ```

181 </Tab>

182</Tabs>

145 183 

146Use a gateway service that provides Azure-compatible endpoints:184### Google Vertex AI

147 185 

148```bash theme={null}186<Tabs>

149# Enable Microsoft Foundry187 <Tab title="Corporate proxy">

150export CLAUDE_CODE_USE_FOUNDRY=1188 Route Vertex AI traffic through your corporate proxy by setting the following [environment variables](/en/settings#environment-variables):

151 189 

152# Configure LLM gateway190 ```bash theme={null}

153export ANTHROPIC_FOUNDRY_BASE_URL='https://your-llm-gateway.com'191 # Enable Vertex

154export CLAUDE_CODE_SKIP_FOUNDRY_AUTH=1 # If gateway handles Azure auth192 export CLAUDE_CODE_USE_VERTEX=1

155```193 export CLOUD_ML_REGION=us-east5

194 export ANTHROPIC_VERTEX_PROJECT_ID=your-project-id

156 195 

157### Using Vertex AI with corporate proxy196 # Configure corporate proxy

197 export HTTPS_PROXY='https://proxy.example.com:8080'

198 ```

199 </Tab>

158 200 

159Route Vertex AI traffic through a corporate HTTP/HTTPS proxy:201 <Tab title="LLM Gateway">

202 Route Vertex AI traffic through your LLM gateway by setting the following [environment variables](/en/settings#environment-variables):

160 203 

161```bash theme={null}204 ```bash theme={null}

162# Enable Vertex205 # Enable Vertex

163export CLAUDE_CODE_USE_VERTEX=1206 export CLAUDE_CODE_USE_VERTEX=1

164export CLOUD_ML_REGION=us-east5

165export ANTHROPIC_VERTEX_PROJECT_ID=your-project-id

166 207 

167# Configure corporate proxy208 # Configure LLM gateway

168export HTTPS_PROXY='https://proxy.example.com:8080'209 export ANTHROPIC_VERTEX_BASE_URL='https://your-llm-gateway.com/vertex'

169```210 export CLAUDE_CODE_SKIP_VERTEX_AUTH=1 # If gateway handles GCP auth

211 ```

212 </Tab>

213</Tabs>

170 214 

171### Using Vertex AI with LLM Gateway215<Tip>

172 216 Use `/status` in Claude Code to verify your proxy and gateway configuration is applied correctly.

173Combine Google Vertex AI models with an LLM gateway for centralized management:217</Tip>

174 

175```bash theme={null}

176# Enable Vertex

177export CLAUDE_CODE_USE_VERTEX=1

178 

179# Configure LLM gateway

180export ANTHROPIC_VERTEX_BASE_URL='https://your-llm-gateway.com/vertex'

181export CLAUDE_CODE_SKIP_VERTEX_AUTH=1 # If gateway handles GCP auth

182```

183 

184### Authentication configuration

185 

186Claude Code uses the `ANTHROPIC_AUTH_TOKEN` for the `Authorization` header when needed. The `SKIP_AUTH` flags (`CLAUDE_CODE_SKIP_BEDROCK_AUTH`, `CLAUDE_CODE_SKIP_VERTEX_AUTH`) are used in LLM gateway scenarios where the gateway handles provider authentication.

187 

188## Choosing the right deployment configuration

189 

190Consider these factors when selecting your deployment approach:

191 

192### Direct provider access

193 

194Best for organizations that:

195 

196* Want the simplest setup

197* Have existing AWS or GCP infrastructure

198* Need provider-native monitoring and compliance

199 

200### Corporate proxy

201 

202Best for organizations that:

203 

204* Have existing corporate proxy requirements

205* Need traffic monitoring and compliance

206* Must route all traffic through specific network paths

207 

208### LLM Gateway

209 

210Best for organizations that:

211 

212* Need usage tracking across teams

213* Want to dynamically switch between models

214* Require custom rate limiting or budgets

215* Need centralized authentication management

216 

217## Debugging

218 

219When debugging your deployment:

220 

221* Use the `claude /status` [slash command](/en/slash-commands). This command provides observability into any applied authentication, proxy, and URL settings.

222* Set environment variable `export ANTHROPIC_LOG=debug` to log requests.

223 218 

224## Best practices for organizations219## Best practices for organizations

225 220 

226### 1. Invest in documentation and memory221### Invest in documentation and memory

227 222 

228We strongly recommend investing in documentation so that Claude Code understands your codebase. Organizations can deploy CLAUDE.md files at multiple levels:223We strongly recommend investing in documentation so that Claude Code understands your codebase. Organizations can deploy CLAUDE.md files at multiple levels:

229 224 

230* **Organization-wide**: Deploy to system directories like `/Library/Application Support/ClaudeCode/CLAUDE.md` (macOS) for company-wide standards225* **Organization-wide**: Deploy to system directories like `/Library/Application Support/ClaudeCode/CLAUDE.md` (macOS) for company-wide standards

231* **Repository-level**: Create `CLAUDE.md` files in repository roots containing project architecture, build commands, and contribution guidelines. Check these into source control so all users benefit226* **Repository-level**: Create `CLAUDE.md` files in repository roots containing project architecture, build commands, and contribution guidelines. Check these into source control so all users benefit

232 227 

233 [Learn more](/en/memory).228Learn more in [Memory and CLAUDE.md files](/en/memory).

234 229 

235### 2. Simplify deployment230### Simplify deployment

236 231 

237If you have a custom development environment, we find that creating a "one click" way to install Claude Code is key to growing adoption across an organization.232If you have a custom development environment, we find that creating a "one click" way to install Claude Code is key to growing adoption across an organization.

238 233 

239### 3. Start with guided usage234### Start with guided usage

240 235 

241Encourage new users to try Claude Code for codebase Q\&A, or on smaller bug fixes or feature requests. Ask Claude Code to make a plan. Check Claude's suggestions and give feedback if it's off-track. Over time, as users understand this new paradigm better, then they'll be more effective at letting Claude Code run more agentically.236Encourage new users to try Claude Code for codebase Q\&A, or on smaller bug fixes or feature requests. Ask Claude Code to make a plan. Check Claude's suggestions and give feedback if it's off-track. Over time, as users understand this new paradigm better, then they'll be more effective at letting Claude Code run more agentically.

242 237 

243### 4. Configure security policies238### Configure security policies

244 239 

245Security teams can configure managed permissions for what Claude Code is and is not allowed to do, which cannot be overwritten by local configuration. [Learn more](/en/security).240Security teams can configure managed permissions for what Claude Code is and is not allowed to do, which cannot be overwritten by local configuration. [Learn more](/en/security).

246 241 

247### 5. Leverage MCP for integrations242### Leverage MCP for integrations

248 243 

249MCP is a great way to give Claude Code more information, such as connecting to ticket management systems or error logs. We recommend that one central team configures MCP servers and checks a `.mcp.json` configuration into the codebase so that all users benefit. [Learn more](/en/mcp).244MCP is a great way to give Claude Code more information, such as connecting to ticket management systems or error logs. We recommend that one central team configures MCP servers and checks a `.mcp.json` configuration into the codebase so that all users benefit. [Learn more](/en/mcp).

250 245 


252 247 

253## Next steps248## Next steps

254 249 

255* [Set up Amazon Bedrock](/en/amazon-bedrock) for AWS-native deployment250Once you've chosen a deployment option and configured access for your team:

256* [Configure Google Vertex AI](/en/google-vertex-ai) for GCP deployment251 

257* [Set up Microsoft Foundry](/en/microsoft-foundry) for Azure deployment2521. **Roll out to your team**: Share installation instructions and have team members [install Claude Code](/en/setup) and authenticate with their credentials.

258* [Configure Enterprise Network](/en/network-config) for network requirements2532. **Set up shared configuration**: Create a [CLAUDE.md file](/en/memory) in your repositories to help Claude Code understand your codebase and coding standards.

259* [Deploy LLM Gateway](/en/llm-gateway) for enterprise management2543. **Configure permissions**: Review [security settings](/en/security) to define what Claude Code can and cannot do in your environment.

260* [Settings](/en/settings) for configuration options and environment variables

261 255 

262 256 

263---257---