Skip to main content

What is Claude Code?

Claude Code is an agentic coding tool from Anthropic that runs directly in your terminal (or integrated in your IDE) and is designed to understand your full codebase, execute commands, edit files, create commits, and handle git workflows — all via natural-language prompts. Its key capabilities include building new features from plain-English descriptions, debugging and fixing issues by analysing the codebase, navigating complex repositories, and automating repetitive engineering tasks.

Integration Options

Unbound provides two ways to integrate Claude Code depending on your needs:
  1. Without Anthropic Account: Use Claude Code through Unbound Gateway without needing your own Anthropic subscription
  2. With Anthropic Account: Keep your existing Anthropic subscription and add Unbound for tracking and analytics

Prerequisites

Before integration, ensure you have:

Installation and Configuration

Choose the setup method that matches your needs:

Method 1: Without Anthropic Account

Use this method if you don’t have an Anthropic subscription and want to use Claude Code through Unbound. Open your terminal and run the following command:
python3 <(curl -fsSl https://raw.githubusercontent.com/websentry-ai/setup/refs/heads/main/claude-code/gateway/setup.py) --domain gateway.getunbound.ai
If your Unbound Gateway URL changes, you can update it in the command above by replacing gateway.getunbound.ai Once the script starts, it will generate a login URL. Click the URL or open it in your browser. The page will automatically:
  • Authenticate your account through the Unbound dashboard
  • Retrieve and register your gateway credentials
  • Redirect you back to a success page
You can close the browser window once the callback is complete. Return to your terminal. The installation will finish automatically. Restart your terminal and IDE (if you’re using the Claude Code IDE extension). You can now use Claude Code directly via your gateway by running:
claude

Method 2: With Anthropic Account

Use this method if you have an active Anthropic subscription and want to add Unbound’s tracking and analytics capabilities. Prerequisites for this method:
  • Active Anthropic account with Claude Code subscription
  • Claude Code already installed and configured
Step 1: Log into your Anthropic account on Claude Code (if not already logged in) Step 2: Open your terminal and run the following command:
python3 -c "$(curl -s https://raw.githubusercontent.com/websentry-ai/setup/refs/heads/main/claude-code/hooks/setup.py)" --domain gateway.getunbound.ai
If your Unbound Gateway URL changes, you can update it in the command above by replacing gateway.getunbound.ai Step 3: Restart your terminal and IDE (if you’re using the Claude Code IDE extension) That’s it! You can now use Claude Code with your Anthropic account while benefiting from Unbound’s tracking and analytics features:
claude