> For the complete documentation index, see [llms.txt](https://docs.cortecs.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cortecs.ai/integration-examples/chat/lobechat.md).

# LobeChat

[LobeChat](https://lobehub.com/de/docs/usage/start) is an open-source, modern design ChatGPT/LLMs UI/framework. This guide will walk you through the setup process.

{% hint style="info" %}
*Before you begin: Make sure you have generated your Cortecs API key. If not, check out our* [*QuickStart*](/quickstart.md) *guide.*
{% endhint %}

## 1. Deploy LobeChat

There are multiple ways to deploy LobeChat.

To get started quickly, follow the official [Quick Start guide](https://lobehub.com/de/docs/self-hosting/start) for LobeChat.

Once installation is complete, you’ll need to configure the external provider.

## 2. Connect to cortecs

Cortecs provides **OpenAI-compatible API endpoints**, making it easy to integrate with LobeChat and many other tools. To connect:

1. Open LobeChat in your browser.
2. Go to ⚙️ **Settings** → **Language Model** → **OpenAI**.
   1. **API Key:** Your API Key
   2. **API Proxy Address:**  <code class="expression">space.vars.DEFAULT\_API\_BASE\_URL</code>
   3. Click `Get Model List`.
   4. Select Models to show

## 4. Start Chatting!

You're all set!

* Open the chat interface.
* Select your connected server's model from the model menu.
* Start chatting with your AI assistant.

<figure><img src="/files/UjEuXdudJzpA4LfVTnbM" alt=""><figcaption></figcaption></figure>
