Sign in with Claude

Authenticate with your Anthropic account using the EasyEnv sign-in panel. Browser OAuth, then a one-time code paste back into the workspace.

Why OAuth (and not an API key)#

EasyEnv asks Anthropic to do the actual auth - we never see your token. The Claude Code CLI on the machine stores the credential in the user's keychain and EasyEnv just orchestrates the round-trip. Result: you keep your billing inside Anthropic, and rotating credentials is one click.

Account scope
Sign-in is per machine. If your workspace has two machines and you want Claude on both, sign in on each one.

Open the sign-in panel#

Start the workspace and you land in the console. The terminal opens in the main area; the AI sidebar opens on the right. The Claude sign-in panel is pinned to the bottom of that sidebar whenever the active machine has the Claude stack but isn't signed in yet.

It guides you through three sub-steps: start, authorize, paste code.

dashboard.easyenv.io/console/acme-engineering/workspace/feature-x
dev-1: terminalVS CodePortsLogs
user@dev-1:~$ claude
Error: not logged in. Run /login or use the sign-in panel.
user@dev-1:~$
AI⋮
Sign in to start chatting with Claude.
Sign in to Claude
on dev-1
1Start
2Paste code
3Done
Sign in with Claude
The workspace console. Terminal in the main area, AI sidebar on the right with the Claude sign-in panel pinned at the bottom.

Authorize on Anthropic#

  1. Click 'Sign in with Claude'
    EasyEnv opens a new browser tab pointing at Anthropic's OAuth consent screen.
  2. Approve the EasyEnv app
    On Anthropic, log in with your Claude account and approve the EasyEnv app's request. Anthropic shows you a short authorization code.
  3. Copy the code
    Copy the code Anthropic shows you. You'll paste it back into the dashboard in a moment.
Don't close the EasyEnv tab
The EasyEnv panel needs to be open when you paste the code back. Closing it cancels the sign-in and you'll start over.

Paste the code back#

In the EasyEnv panel, the stepper has advanced to Paste code. Drop the code in and click Submit.

Sign in to Claudeawaiting code
✓Start
2Paste code
3Done
CancelSubmit

Verify you are signed in#

On success the panel collapses and the workspace status now shows Claude signed in. You can also confirm from the machine's terminal:

user@dev-1: ~/work
user@dev-1:~/work$ claude --version
claude-code 0.x.x
user@dev-1:~/work$ claude whoami
✓ signed in as [email protected]

Sign out#

From the Claude panel, click ··· -> Sign out. From the machine itself:

bash
claude logout

Sign-out is local to the machine. Other machines you signed into stay signed in until you log out individually.

Troubleshooting#

  • "Claude CLI not installed": the Claude stack hasn't been applied to this machine yet. Either attach it from the machine's Stacks tab, or boot a new workspace from a template that bundles the Claude stack.
  • Code rejected: the authorization code is single-use and short-lived. Click Restart in the sign-in panel and run through the OAuth flow again.
  • Stuck on "Starting...": inspect the machine's logs (Logs tab on the machine detail page) for cloud-init errors. A missing Claude CLI binary or a network blip is the usual cause.
Sign in with Claude | Docs | EasyEnv