> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usedatabrain.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Open AI

### Step 1: Configure Open AI

<Steps>
  <Step>
    Navigate to the **LLMs** section on the settings page and click on **+LLM**.
  </Step>

  <Step>
    Choose Open AI from the list.
  </Step>

  <Step>
    In the **Configure Open AI** panel:

    * **Name**: Enter a descriptive name (e.g., `GPT Workspace Assistant`).
    * **API Key**: Paste your valid Open AI API Key.
  </Step>

  <Step>
    Click **Authenticate** to activate the integration.
  </Step>
</Steps>

<Frame>
  <img src="https://mintcdn.com/databrainlabs-bef6850a/si5PjMbXhV5pO_qE/images/developer-docs/open-ai1.png?fit=max&auto=format&n=si5PjMbXhV5pO_qE&q=85&s=fa84272178bdf8b8d6763074b51d3a54" width="2940" height="1660" data-path="images/developer-docs/open-ai1.png" />
</Frame>

### Step 2: Connect LLM to Workspace

<Steps>
  <Step>
    Navigate to your desired workspace and click on the **⚙️ settings icon** next to the workspace name.
  </Step>

  <Step>
    Under the **General** tab:

    * Scroll to the **LLM** section near the bottom
    * From the **LLM** dropdown, choose the Open AI model you just configured
  </Step>

  <Step>
    Optionally enable **Metric Summary** and choose the summary **Type** from the following options:\
    Technical and Insight Summary, Forecast and Trend Analysis, Comparative and Anomaly Detection, Custom.
  </Step>

  <Step>
    Click **Save** to apply changes.
  </Step>
</Steps>

<Frame>
  <img src="https://mintcdn.com/databrainlabs-bef6850a/AdbrISDq9ZfHhmcQ/images/developer-docs/connect-llm.png?fit=max&auto=format&n=AdbrISDq9ZfHhmcQ&q=85&s=26efc6967140a09cec8890b8d1b2970d" width="2938" height="1654" data-path="images/developer-docs/connect-llm.png" />
</Frame>

<Check>
  You’ve successfully connected Open AI with your Databrain workspace!\
  Your LLM integration is now active — enabling automated metric summaries, insights, and intelligent data exploration across your dashboards.
</Check>
