How to Connect Your Claude Code Subscription to Ekuri
What You Need
- An active Ekuri BYOK VPS (deploy one from your dashboard)
- An active Claude Pro or Claude Max subscription from Anthropic
- Claude Code installed on your computer (
npm install -g @anthropic-ai/claude-code)
With the BYOK (Bring Your Own Key) tier, you use your own Claude subscription instead of Ekuri credits. This guide shows you how to connect it in under a minute.
Step 1 — Generate a Setup Token
Open your terminal and run:
claude setup-token
Claude Code will generate a long token that starts with sk-ant-oat01-.... Copy this token — you'll paste it into the Ekuri dashboard next.
Note: This requires an active Claude Pro or Max subscription. The token is valid for 1 year.
Step 2 — Paste the Token in Ekuri Dashboard
- Open your Ekuri dashboard
- Find the Anthropic section under API Keys
- Click Use Claude Sub
- Paste the
sk-ant-oat01-...token from Step 1 - Click Save
The gateway will restart automatically. After a few seconds, you can start chatting with Claude models through your Ekuri assistant.
Step 3 — Select a Claude Model
After connecting, choose your preferred Claude model from the model selector in the dashboard:
- Claude Sonnet 4.6 — balanced speed and capability (recommended)
- Claude Opus 4.6 — maximum capability for complex tasks
How It Works
Ekuri connects directly to Anthropic's API using your subscription token. Your requests go through your own Ekuri VPS — no middleman, no credit system. You get the full power of your Claude subscription with Ekuri's agent capabilities (web browsing, file management, code execution, Telegram/Discord/Slack integration).
Troubleshooting
"Invalid setup token" error?
Make sure you copied the full token including the sk-ant-oat01- prefix. The token is very long — double-check nothing was cut off.
Token expired?
Setup tokens last 1 year. Run claude setup-token again to generate a fresh one.
Models not showing up? After saving the token, wait 10-15 seconds for the gateway to restart. Refresh the dashboard if models don't appear.
Want to switch to a different Anthropic account? Disconnect Anthropic from the dashboard, then reconnect with a new setup token from the other account.