> For the complete documentation index, see [llms.txt](https://docs.datasaur.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.datasaur.ai/llm-projects/models/open-ai.md).

# Open AI

OpenAI integration in LLM Labs lets you connect and manage OpenAI chat-completion models, making them available for evaluation and deployment in LLM Labs.

## Setup

1. Click **Manage providers** then select **OpenAI** in the dialog that appears.

   <figure><img src="/files/nOG9tl14VjkPnxbmYUsO" alt=""><figcaption></figcaption></figure>
2. Enter your API key. [Learn more about how to find your OpenAI API key](https://platform.openai.com/api-keys)

   <figure><img src="/files/EFJ3mFIKqBiHAXqSYEDc" alt=""><figcaption></figcaption></figure>
3. Click **Add Credentials**. After the connection is successful, all models available through your API key will be synced to Datasaur.

## Disconnect

1. Click **Manage providers**, then click **View details** on OpenAI provider.

   <figure><img src="/files/4YoeddYFytxouiX7r8vF" alt=""><figcaption></figcaption></figure>
2. In the dialog that opens, click **Disconnect** at the bottom left.

   <figure><img src="/files/4ZLLZ9hbgTbantarLbQw" alt=""><figcaption></figcaption></figure>
3. All OpenAI models linked to that API key will be removed from the workspace.
