> ## 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 LobeChat met CometAPI

> Gebruik deze handleiding om LobeChat met CometAPI te configureren door de basis-URL, API-sleutel en model- of provideropties in te stellen.

[Lobe-Chat](https://chat-preview.lobehub.com/) is een functierijke open-source AI-chatapplicatie met ingebouwde ondersteuning voor CometAPI — handmatige URL-configuratie is niet nodig.

## Vereisten

* [Lobe-Chat](https://chat-preview.lobehub.com/) (cloud of self-hosted)
* Een [CometAPI](https://www.cometapi.com)-account met een actieve API-sleutel

## Instellen

<Steps>
  <Step title="Haal je CometAPI API key op">
    Log in op het [CometAPI-dashboard](https://www.cometapi.com/console). Klik op **Add API Key** en kopieer je 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 — 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 en base URL" width="2434" height="1232" data-path="images/overview/810968_364193.png" />
    </Frame>
  </Step>

  <Step title="Selecteer CometAPI als modelprovider">
    Klik in Lobe-Chat op je avatar → **Application Settings** → **Model Providers**. Selecteer **CometAPI**, plak je API key en schakel de provider in. Selecteer daarna een model om het te activeren.

    <Frame>
      <img src="https://mintcdn.com/cometapi/E4FFvyMYmaOZoldp/images/integrations/810968_360319.png?fit=max&auto=format&n=E4FFvyMYmaOZoldp&q=85&s=299c123baafc43c598449113a6723031" alt="Lobe-Chat application settings — lijst met modelproviders" width="1205" height="931" data-path="images/integrations/810968_360319.png" />
    </Frame>

    <Frame>
      <img src="https://mintcdn.com/cometapi/SZhlxZhCnMLn__BW/images/integrations/810968_361341.png?fit=max&auto=format&n=SZhlxZhCnMLn__BW&q=85&s=dc0b478e91393dcb3a5db92f07360ece" alt="CometAPI-providerinstellingen in Lobe-Chat met ingevoerde API key" width="1910" height="965" data-path="images/integrations/810968_361341.png" />
    </Frame>
  </Step>

  <Step title="Test de verbinding">
    Start een chat en verstuur een testbericht. Een succesvolle reactie bevestigt dat de integratie werkt.

    <Frame>
      <img src="https://mintcdn.com/cometapi/SZhlxZhCnMLn__BW/images/integrations/810968_361342.png?fit=max&auto=format&n=SZhlxZhCnMLn__BW&q=85&s=5f804dee6dc6ac724164630e945a053d" alt="Lobe-Chat-conversatie met een succesvolle reactie van CometAPI" width="1900" height="960" data-path="images/integrations/810968_361342.png" />
    </Frame>

    <Frame>
      <img src="https://mintcdn.com/cometapi/SZhlxZhCnMLn__BW/images/integrations/810968_361343.png?fit=max&auto=format&n=SZhlxZhCnMLn__BW&q=85&s=3bdff04efc655f5235d11f34cb43b1b3" alt="Lobe-Chat model response-paneel" width="1920" height="929" data-path="images/integrations/810968_361343.png" />
    </Frame>
  </Step>
</Steps>

<script type="application/ld+json">
  {`
    {
    "@context": "https://schema.org",
    "@graph": [
      {
        "@type": "HowTo",
        "@id": "https://apidoc.cometapi.com/integrations/lobe-chat#howto",
        "name": "LobeChat gebruiken met CometAPI",
        "description": "Gebruik deze handleiding om LobeChat met CometAPI te configureren door de base URL, API key en model- of provideropties in te stellen.",
        "step": [
          {
            "@type": "HowToStep",
            "@id": "https://apidoc.cometapi.com/integrations/lobe-chat#step-1",
            "position": 1,
            "name": "Haal je CometAPI API key op",
            "text": "Maak je CometAPI-account aan of open het en kopieer daarna een actieve API key vanuit het dashboard."
          },
          {
            "@type": "HowToStep",
            "@id": "https://apidoc.cometapi.com/integrations/lobe-chat#step-2",
            "position": 2,
            "name": "Selecteer CometAPI als modelprovider",
            "text": "Voltooi de stap Selecteer CometAPI als modelprovider in de handleiding LobeChat gebruiken met CometAPI."
          },
          {
            "@type": "HowToStep",
            "@id": "https://apidoc.cometapi.com/integrations/lobe-chat#step-3",
            "position": 3,
            "name": "Test de verbinding",
            "text": "Selecteer een actueel model ID op de CometAPI Models-pagina en verstuur daarna een testaanvraag vanuit de integratie."
          }
        ]
      },
      {
        "@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": "LobeChat gebruiken met CometAPI",
            "item": "https://apidoc.cometapi.com/integrations/lobe-chat"
          }
        ]
      }
    ]
    }
    `}
</script>
