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

# Use ChatAll with CometAPI

> Use this guide to configure ChatAll with CometAPI by setting the base URL, API key, and model or provider options.

[ChatAll](https://github.com/ai-shifu/ChatALL) lets you send messages to multiple AI models simultaneously. Connect it to CometAPI to access GPT, Claude, Gemini, and more through a single key.

## Prerequisites

* [ChatAll](https://github.com/ai-shifu/ChatALL/releases) installed
* A [CometAPI](https://www.cometapi.com) account with an active API key

## Setup

<Steps>
  <Step title="Get your CometAPI API key">
    Log in to the [CometAPI dashboard](https://www.cometapi.com/console). Click **Add API Key** and copy your key and base URL (`https://api.cometapi.com`).

    <Frame>
      <img src="https://mintcdn.com/cometapi/SZhlxZhCnMLn__BW/images/overview/810968_364191.png?fit=max&auto=format&n=SZhlxZhCnMLn__BW&q=85&s=aef81a83f29f8eb16655ed4060425f50" alt="CometAPI dashboard — Add API Key" width="3824" height="1892" data-path="images/overview/810968_364191.png" />
    </Frame>

    <Frame>
      <img src="https://mintcdn.com/cometapi/HhtmQffktazbxUvS/images/overview/810968_364193.png?fit=max&auto=format&n=HhtmQffktazbxUvS&q=85&s=d893f659267150d0faf45f99eb5dffc1" alt="CometAPI API key and base URL" width="2434" height="1232" data-path="images/overview/810968_364193.png" />
    </Frame>
  </Step>

  <Step title="Configure OpenAI in ChatAll">
    Open ChatAll → **Settings** → **OpenAI**. Enter `https://api.cometapi.com/v1` in the **API Address** field, paste your CometAPI key into **API Key**, and click **Save**.

    <Frame>
      <img src="https://mintcdn.com/cometapi/mA1ovj6s0e3RM42l/images/integrations/810968_351613.png?fit=max&auto=format&n=mA1ovj6s0e3RM42l&q=85&s=223ae91c7aa6c7a300887a624f6648ba" alt="ChatAll OpenAI settings with CometAPI base URL" width="690" height="518" data-path="images/integrations/810968_351613.png" />
    </Frame>

    <Frame>
      <img src="https://mintcdn.com/cometapi/mA1ovj6s0e3RM42l/images/integrations/810968_351614.png?fit=max&auto=format&n=mA1ovj6s0e3RM42l&q=85&s=82546a500cfc0c4f0d161475d08bbf56" alt="API key field filled in ChatAll settings" width="1024" height="519" data-path="images/integrations/810968_351614.png" />
    </Frame>
  </Step>

  <Step title="Select models">
    Click the model selector to view and switch between available models.

    <Frame>
      <img src="https://mintcdn.com/cometapi/mA1ovj6s0e3RM42l/images/integrations/810968_351615.png?fit=max&auto=format&n=mA1ovj6s0e3RM42l&q=85&s=30485dde702fb471d2d2b45cd7f928fe" alt="ChatAll model selection panel" width="690" height="519" data-path="images/integrations/810968_351615.png" />
    </Frame>

    <Frame>
      <img src="https://mintcdn.com/cometapi/mA1ovj6s0e3RM42l/images/integrations/810968_351616.png?fit=max&auto=format&n=mA1ovj6s0e3RM42l&q=85&s=4dcbfb21b05f291a470c5927cc144999" alt="Models listed and selected in ChatAll" width="690" height="534" data-path="images/integrations/810968_351616.png" />
    </Frame>
  </Step>
</Steps>
