# Configure LLM Labs Client

<figure><img src="https://1470748636-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDY50EL4OmcrPvtoecg4h%2Fuploads%2FjkZku7xCDYpfPfB64lx8%2FScreenshot%202026-03-25%20at%2020.49.18.png?alt=media&#x26;token=e0eab035-5692-4275-8ebb-e6aa2dab508a" alt=""><figcaption></figcaption></figure>

This page explains how to configure the LLM Labs Client for integration with GLChat. This **setup is required once**. After configuration, creating a Knowledge Base will automatically create it in both GLChat and LLM Labs.

{% hint style="info" %}
**LLM Labs** ([llm.datasaur.ai](http://llm.datasaur.ai)) is a private multi-model AI platform developed by Datasaur. It supports evaluation and cost analysis for over 200 AI models, helping you select and integrate the most suitable model for your project.
{% endhint %}

***

### Generate LLM Labs OAuth Credentials

<figure><img src="https://1470748636-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDY50EL4OmcrPvtoecg4h%2Fuploads%2FBmKEKe0dECxksyx27o13%2FGroup%203.png?alt=media&#x26;token=56929bac-d69d-42c3-85d7-8226c02056f5" alt=""><figcaption></figcaption></figure>

To obtain the Client ID and Client Secret:

1. Log in to [**LLM Labs**](https://llm.datasaur.ai).
2. Click your profile icon in the upper-right corner.
3. Open **Account Settings**.
4. From the left sidebar menu, select **OAuth Credentials**.
   1. Ensure the user generating the OAuth credentials has access to the LLM Labs workspace
5. Click **Regenerate** to generate a new **Client ID** and **Client Secret**.

{% hint style="info" %}
Ensure the Client ID and Client Secret are securely stored, as they will not be displayed again. If lost, new credentials must be generated.
{% endhint %}

***

### Add Credentials to Admin Dashboard

<figure><img src="https://1470748636-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDY50EL4OmcrPvtoecg4h%2Fuploads%2FKtSlRSk5AcNzEU0X623S%2FScreenshot%202026-02-20%20at%2019.01.04.png?alt=media&#x26;token=43706956-a3f9-441f-b171-d1656e75098f" alt="" width="563"><figcaption></figcaption></figure>

After generating the credentials:

1. Copy the **Client ID** and **Client Secret**.
2. Go to the **Knowledge Base** menu in the Admin Dashboard.
3. Click the "Client Configuration" button
4. Enter the credentials in the LLM Labs Client configuration section.
   * **LLM Labs Client ID**\
     Obtained from LLM Labs (see steps below).
   * **LLM Labs Client Secret**\
     Generated together with the Client ID.
   * **LLM Labs Workspace ID**\
     Copy this from the URL of your LLM Labs workspace.&#x20;
     * For example: \
       `https://llm.datasaur.ai/teams/0000/...`

       In this case, the Workspace ID is **0000**.
5. Save the configuration.
