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

# How to Find Your Unbound API Key

> Step-by-step guide to finding, creating, and managing your Unbound API key for Claude Code, Roo Code, Cursor, and other tools

## Finding Your API Key

Your Unbound API key is available in the **Connect** section of your dashboard. It's a single key that works across all supported AI tools and models.

<Steps>
  <Step title="Log in to your Unbound dashboard">
    Go to [gateway.getunbound.ai](https://gateway.getunbound.ai) or your organization's custom domain if your enterprise admin has set one up.
  </Step>

  <Step title="Navigate to Connect">
    Click **Connect** in the left sidebar, then go to **AI Coding Tools**.
  </Step>

  <Step title="Select your tool">
    Click on the tool you want to use (Claude Code, Roo Code, Cursor, etc.).
  </Step>

  <Step title="Copy your API key">
    Your API key will be displayed along with tool-specific setup instructions. Click the copy icon to copy it.
  </Step>
</Steps>

<Warning>
  Your API key is sensitive. Never share it publicly, commit it to a git repository, or expose it in client-side code.
</Warning>

## Don't See an API Key?

If you navigate to **Connect → AI Coding Tools** and don't see an API key:

* Make sure you're logged into the correct organization
* Verify you have the necessary permissions — contact your organization administrator if you're a new user
* Some enterprise configurations require admins to enable tools before API keys become available

## API Keys for Specific Tools

Your single Unbound API key works across all supported integrations:

| Tool                | Where to Use                   | Base URL                                                     |
| ------------------- | ------------------------------ | ------------------------------------------------------------ |
| **Claude Code CLI** | `ANTHROPIC_API_KEY` env var    | [https://api.getunbound.ai](https://api.getunbound.ai)       |
| **Roo Code**        | Settings → Provider: "unbound" | Auto-configured                                              |
| **Cursor**          | Settings → API Key field       | [https://api.getunbound.ai/v1](https://api.getunbound.ai/v1) |
| **Cline**           | Settings → API Key field       | [https://api.getunbound.ai/v1](https://api.getunbound.ai/v1) |
| **Gemini CLI**      | API Key field in settings      | Auto-configured                                              |
| **Codex CLI**       | `OPENAI_API_KEY` env var       | [https://api.getunbound.ai/v1](https://api.getunbound.ai/v1) |

<Tip>
  Your single Unbound API key gives you access to **all models** enabled for your organization — Claude, GPT, Gemini, and more. You don't need separate keys for each provider.
</Tip>

## How Tools Display API Keys

The **Connect → AI Coding Tools** page shows two types of setup flows depending on the tool:

**Tools that display a dedicated API key field** (with a **Regenerate** button):

* Roo Code
* Cline
* Kilo Code
* Custom Access

For these tools, you'll see your API key directly on the tool's page along with a **Regenerate** button next to it.

**Tools that provide setup scripts or commands** (no separate API key field):

* Cursor
* Claude Code (Subscription)
* Claude Code (API Key)
* GitHub Copilot
* Gemini CLI
* Codex

For these tools, the API key is embedded inside the setup script or commands shown on the tool's page. Just copy the provided script/commands as-is — the key is already included.

## How to Regenerate Your API Key

<Note>
  The **Regenerate** button is only available for tools with a dedicated API key field (Roo Code, Cline, Kilo Code, Custom Access). For other tools, the key is part of the setup script and doesn't have a standalone regenerate action.
</Note>

<Steps>
  <Step title="Go to Connect → AI Coding Tools">
    Navigate to the **Connect** section in the sidebar, then click **AI Coding Tools**.
  </Step>

  <Step title="Click into your tool">
    Select Roo Code, Cline, Kilo Code, or Custom Access to open its setup page.
  </Step>

  <Step title="Click the Regenerate button">
    The **Regenerate** button appears next to your API key. Click it to generate a new key.
  </Step>

  <Step title="Update all your integrations">
    Copy the new key and update it in all tools, scripts, and environment variables where you use it.
  </Step>
</Steps>

<Warning>
  Regenerating your key **immediately invalidates the old key**. Any tool still using the old key will stop working until you update it.
</Warning>
