> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hubto.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Use in Claude Code

> Connect HubTo to Claude Code through a unified gateway.

## Overview

Claude Code is a command-line AI assistant for developers.

By connecting it to HubTo, you can route Claude requests through a single gateway and manage keys, models, quotas, and routing in one place.

## Quick setup

```bash theme={null}
export ANTHROPIC_API_KEY="YOUR_API_KEY"
export ANTHROPIC_BASE_URL="https://api.hubto.ai"
export ANTHROPIC_MODEL="claude-opus-4-7"
claude
```

## Notes

* Make sure your HubTo key has access to Claude models.
* To switch models, update `ANTHROPIC_MODEL`.
* Check Model Plaza for the latest available models.
* To make the config persistent, add these variables to your shell profile.
