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

# Other Integrations

> Connect NagaAI to any app or tool that supports OpenAI-compatible APIs (and more).

Many third-party tools can connect to NagaAI as long as they let you set a base URL, an API key, and a model.

Start with the protocol the tool already supports.

## Which protocol should you use?

<CardGroup cols={2}>
  <Card title="OpenAI-Compatible" icon="plug" href="/api/chat-completions">
    Best fit for most third-party apps that expect an OpenAI-style base URL and
    chat-shaped requests.
  </Card>

  <Card title="Anthropic Messages" icon="comment-dots" href="/api/messages">
    Use this when the tool is built around Anthropic-style content blocks and
    Messages streaming.
  </Card>

  <Card title="Responses API" icon="bolt" href="/api/responses">
    Use this when the tool already supports the newer Responses endpoint and
    item-based workflows.
  </Card>
</CardGroup>

## Connection settings

| Tool expects               | Base URL                 | Auth                         |
| -------------------------- | ------------------------ | ---------------------------- |
| OpenAI-compatible requests | `https://api.naga.ac/v1` | Your standard NagaAI API key |
| OpenAI Responses API       | `https://api.naga.ac/v1` | Your standard NagaAI API key |
| Anthropic Messages API     | `https://api.naga.ac`    | Your standard NagaAI API key |

## What most tools need

Most integrations only need three values:

1. **Base URL**
   Usually `https://api.naga.ac/v1`, or `https://api.naga.ac` for Anthropic-style tools.

2. **API key**
   Use your standard **NagaAI API key**.

3. **Model**
   Choose an exact NagaAI model ID.

<Info>
  Need an API key? Create one in the [NagaAI Dashboard](https://naga.ac/dashboard), or start with [Quickstart](/get-started/quickstart).
</Info>

## If the tool uses agents or tools

Choose a model that supports function calling:

* [Browse models with tools support](https://naga.ac/models?parameters=tools)

## Generic setup flow

1. Identify whether the tool expects OpenAI-compatible or Anthropic-compatible settings.
2. Paste the correct base URL.
3. Paste your NagaAI API key.
4. Pick a model ID.
5. Send a simple test request.

## Common mistakes

| Problem                               | Likely cause                           | Fix                                                                                                    |
| ------------------------------------- | -------------------------------------- | ------------------------------------------------------------------------------------------------------ |
| Auth fails                            | Wrong key type or bad copy/paste       | Recreate or re-enter your standard API key                                                             |
| Request hits the wrong endpoint shape | Wrong base URL for the tool's protocol | Use `https://api.naga.ac/v1` for OpenAI-style tools or `https://api.naga.ac` for Anthropic-style tools |
| Agent features do not work            | Chosen model does not support tools    | Pick a tools-capable model                                                                             |
