What is Unbound Claude Code?
Unbound Claude Code is a command-line interface (CLI) tool that provides AI-powered coding assistance through Claude models, integrated with Unbound Security AI Gateway. This tool allows developers to get coding help, explanations, and suggestions directly from their terminal while maintaining enterprise-grade security, cost control, and compliance. By using Unbound Claude Code, all your AI requests go through the Unbound Security gateway with proper guardrails, routing, and monitoring.Watch the Installation Process
For a detailed walkthrough of installing and configuring Unbound Claude Code, watch this demonstration: Watch this video for a step-by-step guide on installing and setting up Unbound Claude Code.Prerequisites
Before installing Unbound Claude Code, ensure you have:- Node.js: Version 20 or higher installed on your system
- npm: Node package manager (comes with Node.js)
- Unbound Application: A configured application in your Unbound Security dashboard
- Unbound API Key: Generated from your application settings
Installation and Configuration
Step 1: Install Unbound Claude Code
Install the CLI tool globally using npm:Step 2: Configuration Process
During the installation process, you’ll be prompted with several configuration options:Enter Your Unbound API Key
First, you’ll be prompted to enter your Unbound API key:Vertex AI Configuration
Choose whether to use Vertex AI models: Option 1: Without Vertex AI ModelsFile Permission Setup
You’ll be asked to trust files in your project folder:Step 3: Welcome Screen
After successful setup, you’ll see:Using Unbound Claude Code
Basic Commands
Once installed and configured, you can use Claude Code with these commands:/help
: Display help information and available commands/claude
: Show your current setup and configuration/exit
: Exit Claude Code
Configuration Options
Environment Variables
You can override configuration using environment variables:UNBOUND_API_KEY
: Your Unbound API keyUNBOUND_API_BASE_URL
: API base URL (default: https://api.getunbound.ai)VERTEX_AI_ENABLED
: Enable/disable Vertex AI models
Model Selection
Unbound Claude Code supports various Claude models:- Claude Sonnet: Balanced performance and speed
- Claude Haiku: Fast and cost-effective
- Claude Opus: Most capable for complex tasks
- Vertex AI Models: Google’s Claude models (if enabled)