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

# Integrations

> Connect SnapGen to common development tools and OpenAI SDKs.

Use one SnapGen API key across tools that support OpenAI, Anthropic Messages, Gemini native, or OpenAI Responses-compatible gateways.

## Development tools

<CardGroup cols={2}>
  <Card title="Claude Code" icon="terminal" href="/integrations/claude-code">
    Route Claude Code through SnapGen's Anthropic Messages compatibility API.
  </Card>

  <Card title="Cursor" icon="code" href="/integrations/cursor">
    Override Cursor's OpenAI base URL and add a SnapGen model ID.
  </Card>

  <Card title="Cline" icon="brackets-curly" href="/integrations/cline">
    Select the OpenAI Compatible provider and configure the gateway.
  </Card>

  <Card title="Gemini CLI" icon="terminal" href="/integrations/gemini-cli">
    Use the Gemini native compatibility endpoint from Google's CLI.
  </Card>

  <Card title="Codex CLI" icon="terminal" href="/integrations/codex-cli">
    Add a Responses-compatible provider in `config.toml`.
  </Card>
</CardGroup>

## Shared settings

| Setting                    | Value                                      |
| -------------------------- | ------------------------------------------ |
| OpenAI base URL            | `https://api.snapgen.org/v1`               |
| Anthropic gateway base URL | `https://api.snapgen.org`                  |
| Gemini base URL            | `https://api.snapgen.org`                  |
| API key                    | A key created under **Console > API Keys** |

<Warning>
  Never commit an API key to a project settings file. Prefer environment
  variables, a local ignored file, or the tool's encrypted credential store.
</Warning>

## SDKs

<CardGroup cols={2}>
  <Card title="OpenAI Python" icon="python" href="/sdks/openai-python">
    Configure the official Python SDK with `base_url`.
  </Card>

  <Card title="OpenAI Node.js" icon="node-js" href="/sdks/openai-node">
    Configure the official JavaScript SDK with `baseURL`.
  </Card>
</CardGroup>
