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

# Gunakan Open WebUI dengan CometAPI

> Gunakan panduan ini untuk mengonfigurasi Open WebUI dengan CometAPI dengan menetapkan base URL, API key, serta opsi model atau provider.

[Open WebUI](https://openwebui.com/) adalah antarmuka web self-hosted untuk model AI. Konfigurasikan agar menggunakan CometAPI sebagai koneksi eksternal yang kompatibel dengan OpenAI.

## Prasyarat

* [Open WebUI](https://openwebui.com/) sedang berjalan (self-hosted atau melalui demo di [open.zetatechs.online](https://openwebui.com/))
* Akun [CometAPI](https://www.cometapi.com) dengan API key yang aktif

## Penyiapan

<Steps>
  <Step title="Dapatkan API key CometAPI Anda">
    Masuk ke [dashboard CometAPI](https://www.cometapi.com/console). Klik **Add API Key** lalu salin key dan base URL Anda (`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="Dashboard CometAPI — 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="API key dan base URL CometAPI" width="2434" height="1232" data-path="images/overview/810968_364193.png" />
    </Frame>
  </Step>

  <Step title="Tambahkan koneksi OpenAI eksternal">
    Di Open WebUI, buka **Admin Panel** → **Settings** → **External Connections**. Aktifkan **External Link OpenAI API**, masukkan `https://api.cometapi.com/v1` ke kolom **API Address**, tempelkan key Anda ke kolom **Key**, lalu klik **Save**.

    <Frame>
      <img src="https://mintcdn.com/cometapi/mA1ovj6s0e3RM42l/images/integrations/810968_351624.png?fit=max&auto=format&n=mA1ovj6s0e3RM42l&q=85&s=4878931888f1deeda5365545bc35a01a" alt="Pengaturan external connections Open WebUI dengan URL CometAPI yang dimasukkan" width="1265" height="346" data-path="images/integrations/810968_351624.png" />
    </Frame>

    <Frame>
      <img src="https://mintcdn.com/cometapi/mA1ovj6s0e3RM42l/images/integrations/810968_351625.png?fit=max&auto=format&n=mA1ovj6s0e3RM42l&q=85&s=40e7df7cb60b43a4b585ededa36847f2" alt="Pengaturan Open WebUI tersimpan dengan koneksi CometAPI aktif" width="1265" height="408" data-path="images/integrations/810968_351625.png" />
    </Frame>
  </Step>

  <Step title="Uji koneksi">
    Mulai chat dan kirim pesan uji. Balasan yang berhasil mengonfirmasi bahwa integrasi berfungsi.
  </Step>
</Steps>

<script type="application/ld+json">
  {`
    {
    "@context": "https://schema.org",
    "@graph": [
      {
        "@type": "HowTo",
        "@id": "https://apidoc.cometapi.com/integrations/open-webui#howto",
        "name": "Gunakan Open WebUI dengan CometAPI",
        "description": "Gunakan panduan ini untuk mengonfigurasi Open WebUI dengan CometAPI dengan menetapkan base URL, API key, serta opsi model atau provider.",
        "step": [
          {
            "@type": "HowToStep",
            "@id": "https://apidoc.cometapi.com/integrations/open-webui#step-1",
            "position": 1,
            "name": "Dapatkan API key CometAPI Anda",
            "text": "Buat atau buka akun CometAPI Anda, lalu salin API key yang aktif dari dashboard."
          },
          {
            "@type": "HowToStep",
            "@id": "https://apidoc.cometapi.com/integrations/open-webui#step-2",
            "position": 2,
            "name": "Tambahkan koneksi OpenAI eksternal",
            "text": "Selesaikan langkah Tambahkan koneksi OpenAI eksternal dalam panduan Gunakan Open WebUI dengan CometAPI."
          },
          {
            "@type": "HowToStep",
            "@id": "https://apidoc.cometapi.com/integrations/open-webui#step-3",
            "position": 3,
            "name": "Uji koneksi",
            "text": "Pilih model ID saat ini dari halaman CometAPI Models, lalu kirim permintaan uji dari integrasi."
          }
        ]
      },
      {
        "@type": "BreadcrumbList",
        "itemListElement": [
          {
            "@type": "ListItem",
            "position": 1,
            "name": "Dokumentasi CometAPI",
            "item": "https://apidoc.cometapi.com/"
          },
          {
            "@type": "ListItem",
            "position": 2,
            "name": "Integrasi",
            "item": "https://apidoc.cometapi.com/integrations"
          },
          {
            "@type": "ListItem",
            "position": 3,
            "name": "Gunakan Open WebUI dengan CometAPI",
            "item": "https://apidoc.cometapi.com/integrations/open-webui"
          }
        ]
      }
    ]
    }
    `}
</script>
