> ## 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.

# Gebruik IntelliJ Translation Plugin met CometAPI

> Gebruik deze gids om IntelliJ Translation Plugin met CometAPI te configureren door de base URL, API key en model- of provideropties in te stellen.

De [IntelliJ Translation Plugin](https://plugins.jetbrains.com/plugin/8579-translation) voegt AI-vertaalmogelijkheden direct toe aan JetBrains IDE's. Koppel deze aan CometAPI om code en tekst te vertalen zonder je editor te verlaten.

## Vereisten

* [IntelliJ IDEA](https://www.jetbrains.com/idea/) of een andere JetBrains IDE

* Translation Plugin geïnstalleerd — zoek naar **Translation** in de JetBrains Marketplace

  <Frame>
    <img src="https://mintcdn.com/cometapi/mA1ovj6s0e3RM42l/images/integrations/810968_352994.png?fit=max&auto=format&n=mA1ovj6s0e3RM42l&q=85&s=3ea7331394d52a903c9b550830689eef" alt="JetBrains Marketplace met de Translation-plugin" width="972" height="806" data-path="images/integrations/810968_352994.png" />
  </Frame>

* Een [CometAPI](https://www.cometapi.com)-account met een actieve API key

## Instellen

<Steps>
  <Step title="Haal je CometAPI API-sleutel op">
    Log in op het [CometAPI-dashboard](https://www.cometapi.com/console). Klik op **Add API Key** en kopieer je sleutel.

    <Frame>
      <img src="https://mintcdn.com/cometapi/E4FFvyMYmaOZoldp/images/integrations/810968_360264.png?fit=max&auto=format&n=E4FFvyMYmaOZoldp&q=85&s=686b18e5eda53581cd92f39b18683c01" alt="CometAPI-dashboard — sectie API-sleutels" width="1920" height="1005" data-path="images/integrations/810968_360264.png" />
    </Frame>

    <Frame>
      <img src="https://mintcdn.com/cometapi/E4FFvyMYmaOZoldp/images/integrations/810968_360265.png?fit=max&auto=format&n=E4FFvyMYmaOZoldp&q=85&s=4a5a528f1fbbeb3da7ace18066b73bd1" alt="Dialoogvenster Add API Key in de CometAPI-console" width="1914" height="999" data-path="images/integrations/810968_360265.png" />
    </Frame>

    <Frame>
      <img src="https://mintcdn.com/cometapi/E4FFvyMYmaOZoldp/images/integrations/810968_360266.png?fit=max&auto=format&n=E4FFvyMYmaOZoldp&q=85&s=8462dfff1cf0a880c44effc7dccbc131" alt="CometAPI API-sleutel en base URL" width="1920" height="975" data-path="images/integrations/810968_360266.png" />
    </Frame>
  </Step>

  <Step title="Configureer de vertaalengine">
    Klik op het pictogram van de Translation Plugin in de IDE-werkbalk → **Settings** → **Translation**. Selecteer **OpenAI Translation** als engine. Voer in het instellingenpaneel aan de rechterkant `https://api.cometapi.com` in bij het veld **API Endpoint** (het tweede veld staat standaard op `/v1/chat/completions`). Plak je CometAPI-sleutel in **API Key** en klik op **Confirm**.

    <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 — knop Add API Key en sleutellijst" 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="Details van CometAPI API-sleutel" width="2434" height="1232" data-path="images/overview/810968_364193.png" />
    </Frame>
  </Step>

  <Step title="Test de integratie">
    Klik op **Test Service** in de plugininstellingen. Een succesvolle verificatie bevestigt dat de configuratie werkt.

    <Frame>
      <img src="https://mintcdn.com/cometapi/mA1ovj6s0e3RM42l/images/integrations/810968_352997.png?fit=max&auto=format&n=mA1ovj6s0e3RM42l&q=85&s=2acec03c1fcd4584cf8448d588cf5d68" alt="Test van IntelliJ Translation Plugin — succesvol resultaat" width="1092" height="944" data-path="images/integrations/810968_352997.png" />
    </Frame>
  </Step>
</Steps>

<Tip>
  Om aangepaste modellen toe te voegen, voer je de huidige model ID in het modelconfiguratieveld van de plugin in.

  <Frame>
    <img src="https://mintcdn.com/cometapi/mA1ovj6s0e3RM42l/images/integrations/810968_352998.png?fit=max&auto=format&n=mA1ovj6s0e3RM42l&q=85&s=1138ce4ff04851f6db1ff996ea91f667" alt="Modelinstellingen van IntelliJ Translation Plugin met een toegevoegd aangepast model" width="1215" height="874" data-path="images/integrations/810968_352998.png" />
  </Frame>
</Tip>

<script type="application/ld+json">
  {`
    {
    "@context": "https://schema.org",
    "@graph": [
      {
        "@type": "HowTo",
        "@id": "https://apidoc.cometapi.com/integrations/intellij-translation-plugin#howto",
        "name": "IntelliJ Translation Plugin gebruiken met CometAPI",
        "description": "Gebruik deze handleiding om IntelliJ Translation Plugin met CometAPI te configureren door de base URL, API-sleutel en model- of provideropties in te stellen.",
        "step": [
          {
            "@type": "HowToStep",
            "@id": "https://apidoc.cometapi.com/integrations/intellij-translation-plugin#step-1",
            "position": 1,
            "name": "Haal je CometAPI API-sleutel op",
            "text": "Maak je CometAPI-account aan of open het en kopieer vervolgens een actieve API-sleutel uit het dashboard."
          },
          {
            "@type": "HowToStep",
            "@id": "https://apidoc.cometapi.com/integrations/intellij-translation-plugin#step-2",
            "position": 2,
            "name": "Configureer de vertaalengine",
            "text": "Voltooi de stap Configureer de vertaalengine in de handleiding IntelliJ Translation Plugin gebruiken met CometAPI."
          },
          {
            "@type": "HowToStep",
            "@id": "https://apidoc.cometapi.com/integrations/intellij-translation-plugin#step-3",
            "position": 3,
            "name": "Test de integratie",
            "text": "Voltooi de stap Test de integratie in de handleiding IntelliJ Translation Plugin gebruiken met CometAPI."
          }
        ]
      },
      {
        "@type": "BreadcrumbList",
        "itemListElement": [
          {
            "@type": "ListItem",
            "position": 1,
            "name": "CometAPI-documentatie",
            "item": "https://apidoc.cometapi.com/"
          },
          {
            "@type": "ListItem",
            "position": 2,
            "name": "Integraties",
            "item": "https://apidoc.cometapi.com/integrations"
          },
          {
            "@type": "ListItem",
            "position": 3,
            "name": "IntelliJ Translation Plugin gebruiken met CometAPI",
            "item": "https://apidoc.cometapi.com/integrations/intellij-translation-plugin"
          }
        ]
      }
    ]
    }
    `}
</script>
