Claude Code
Connect Claude Code with an API key or a setup token.
Claude Code is installed in the standard Adria sandbox image. Choose the credential supported by your Anthropic account.
Connect an API key
cube auth claudePaste your Anthropic API key at the hidden prompt. Model usage is billed by Anthropic.
Use a setup token
If your Claude account supports setup tokens, run claude setup-token on your
local computer, then:
cube auth claude --method setup_tokenPaste the token when prompted. This is separate from importing local configuration; login caches are not imported.
Run Claude Code
cube start feature/payments --tmux claudeInside the sandbox:
claudeClaude works in the remote repository with the sandbox's tools and services. Its own permission settings govern tool approvals. Use the remote browser on desktop-enabled images to inspect an app.
Optional: bring your setup
Reuse your local instructions, settings, skills, and MCP definitions with configuration imports. Preview the import first; credentials and subscription login sessions are managed separately.
Replace a credential
Run the same authentication command again to replace the stored credential.
Use cube auth claude --remove to disable future delivery. Already running
agents may retain it; revoke it with Anthropic if it must be invalidated.