> ## 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 Pot with CometAPI

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

Pot is a cross-platform translation and OCR application. Connect it to CometAPI to power AI translation with any supported model.

## Prerequisites

* A CometAPI account with an active API key — [get yours here](https://www.cometapi.com/console/token)
* Pot installed — [download here](https://pot-app.com/)

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

    <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 showing the Add API Key button" 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 details with base URL" width="2434" height="1232" data-path="images/overview/810968_364193.png" />
    </Frame>
  </Step>

  <Step title="Add OpenAI service in Pot">
    Open Pot's menu, go to **Service Settings → Add Built-in Service**, select **OpenAI**, and enable **Stream Output**.

    <Frame>
      <img src="https://mintcdn.com/cometapi/E4FFvyMYmaOZoldp/images/integrations/810968_360328.png?fit=max&auto=format&n=E4FFvyMYmaOZoldp&q=85&s=09610d2bdcb807597f9231425f362f33" alt="Pot service settings panel" width="986" height="748" data-path="images/integrations/810968_360328.png" />
    </Frame>

    <Frame>
      <img src="https://mintcdn.com/cometapi/E4FFvyMYmaOZoldp/images/integrations/810968_360329.png?fit=max&auto=format&n=E4FFvyMYmaOZoldp&q=85&s=c56778e30c7e45b4846c29f032f31234" alt="Selecting OpenAI service with stream enabled" width="1025" height="753" data-path="images/integrations/810968_360329.png" />
    </Frame>
  </Step>

  <Step title="Enter your API credentials">
    * **API Address**: `https://api.cometapi.com/v1/chat/completions`
    * **API Key**: paste your CometAPI API key
    * **Model**: set the current model ID you want to use

    Click **Save**.

    <Frame>
      <img src="https://mintcdn.com/cometapi/E4FFvyMYmaOZoldp/images/integrations/810968_360330.png?fit=max&auto=format&n=E4FFvyMYmaOZoldp&q=85&s=dde9ce700ffb17506a9ea8b7331cee1a" alt="Pot API configuration fields filled in" width="975" height="740" data-path="images/integrations/810968_360330.png" />
    </Frame>
  </Step>

  <Step title="Test the translation">
    Select any text and trigger a translation. A successful response confirms the integration is working.

    <Frame>
      <img src="https://mintcdn.com/cometapi/E4FFvyMYmaOZoldp/images/integrations/810968_360331.png?fit=max&auto=format&n=E4FFvyMYmaOZoldp&q=85&s=1c9343d3f829d67bf19214754eae1a67" alt="Pot showing a successful AI translation result" width="356" height="429" data-path="images/integrations/810968_360331.png" />
    </Frame>

    If the call fails, double-check your API key and the endpoint URL, or contact [CometAPI support](https://www.cometapi.com).
  </Step>
</Steps>

<Tip>
  You can type any current CometAPI model ID directly into the **Model** field — for example, a GPT, Claude, Gemini, or DeepSeek model from the [CometAPI Models page](/overview/models).
</Tip>
