> ## 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 Immersive Translation with CometAPI

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

[Immersive Translation](https://immersivetranslate.com/) is a browser extension for bilingual translation. Connect it to CometAPI to power translations with any model on our platform.

## Prerequisites

* Immersive Translation browser extension installed — search for it in your browser’s extension store

  <Frame>
    <img src="https://mintcdn.com/cometapi/E4FFvyMYmaOZoldp/images/integrations/810968_360315.png?fit=max&auto=format&n=E4FFvyMYmaOZoldp&q=85&s=f922401fe2555358631fed147db49b0f" alt="Browser extension store showing Immersive Translation" width="549" height="278" data-path="images/integrations/810968_360315.png" />
  </Frame>

  <Frame>
    <img src="https://mintcdn.com/cometapi/E4FFvyMYmaOZoldp/images/integrations/810968_360316.png?fit=max&auto=format&n=E4FFvyMYmaOZoldp&q=85&s=c504344ed770c68c806c17bca6b3084b" alt="Immersive Translation extension installation page" width="1824" height="960" data-path="images/integrations/810968_360316.png" />
  </Frame>

* 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="Add CometAPI as an OpenAI-compatible service">
    Right-click the Immersive Translation extension icon → **Extension Settings** → **Translation Services**. Click **Add OpenAI Compatible Service**, enter `https://api.cometapi.com/v1/chat/completions` in the **API Address** field, and paste your key into **API Key**.

    <Frame>
      <img src="https://mintcdn.com/cometapi/mA1ovj6s0e3RM42l/images/integrations/810968_351546.png?fit=max&auto=format&n=mA1ovj6s0e3RM42l&q=85&s=e4437b20cd9e8cdbedfa0410b0cf1d3c" alt="Immersive Translation extension settings — add service dialog" width="1909" height="942" data-path="images/integrations/810968_351546.png" />
    </Frame>

    <Frame>
      <img src="https://mintcdn.com/cometapi/mA1ovj6s0e3RM42l/images/integrations/810968_351547.png?fit=max&auto=format&n=mA1ovj6s0e3RM42l&q=85&s=75c2bc0d71731de1c0da744aa106a0d8" alt="API address and key fields filled in for CometAPI" width="1906" height="946" data-path="images/integrations/810968_351547.png" />
    </Frame>
  </Step>

  <Step title="Test the service">
    Click **Test Service** in the settings panel. A successful verification confirms the integration is working.

    <Frame>
      <img src="https://mintcdn.com/cometapi/mA1ovj6s0e3RM42l/images/integrations/810968_351548.png?fit=max&auto=format&n=mA1ovj6s0e3RM42l&q=85&s=d5f341f7b99ab31d939ac1f10f5ad06f" alt="Immersive Translation service test showing a successful result" width="1916" height="934" data-path="images/integrations/810968_351548.png" />
    </Frame>
  </Step>
</Steps>

<Tip>
  You can also customize the model ID on the settings page by entering the model ID you want to use.
</Tip>
