Authenticating Claude Code
Authenticating Claude Code
Use claude auth login or /login to get authenticated.
claude auth loginopens a browser to sign in (or prints an OAuth URL if the browser doesn't open).- Select login method:
- Claude account with subscription — Pro, Max, Team, or Enterprise
- Anthropic Console account — API usage billing
- 3rd-party platform — Amazon Bedrock, Microsoft Foundry, etc.
Related: Installing Claude Code, Auth Error, Via API Key