# Open AI

## Overview

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="https://448889121-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbjY0HseEqu7LtYAt4d%2Fuploads%2Fgit-blob-cadc239a2dba3daaf8ec7df6be5af622d2a38531%2FModels%20-%20Manage%20providers%20dialog%20-%20initial.png?alt=media" 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="https://448889121-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbjY0HseEqu7LtYAt4d%2Fuploads%2Fgit-blob-e6d2f7f60c459eeb004d402ce38e4a59589a7356%2FModels%20-%20Manage%20providers%20dialog%20-%20OpenAI%20-%20Initial.png?alt=media" 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="https://448889121-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbjY0HseEqu7LtYAt4d%2Fuploads%2Fgit-blob-676283bcd5189297994e28d55cee5ea8bcb4a9dd%2FModels%20-%20Manage%20providers%20dialog%20-%20OpenAI%20-%20connected%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>
2. In the dialog that opens, click **Disconnect** at the bottom left.

   <figure><img src="https://448889121-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MbjY0HseEqu7LtYAt4d%2Fuploads%2Fgit-blob-8b43fd411b87149300023c7ce5800ffd8e0636fc%2FModels%20-%20Manage%20providers%20dialog%20-%20OpenAI%20-%20provider%20details.png?alt=media" alt=""><figcaption></figcaption></figure>
3. All OpenAI models linked to that API key will be removed from the workspace.
