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

# OpenAI

> OpenAI is an American artificial intelligence (AI) research laboratory . OpenAI conducts AI research with the declared intention of promoting and developing a friendly AI.

## Creating an OpenAI connection[​](#creating-an-openai-connection "Direct link to Creating an OpenAI connection")

## Using API Token[​](#using-api-token "Direct link to Using API Token")

To create the connection you need:

* An API Address
* An API Secret Key

### Obtaining the credentials[​](#obtaining-the-credentials "Direct link to Obtaining the credentials")

Visit the [OpenAI API keys](https://platform.openai.com/account/api-keys) page.

Click on the *Create new secret key* button.

<img src="https://mintcdn.com/blinkops-2/PFTOr0XB-jxgtyO2/img/OpenAI/Img1.png?fit=max&auto=format&n=PFTOr0XB-jxgtyO2&q=85&s=eaab0fa127c0de0f93f2f09a17fb14b9" alt="Untitled" width="1798" height="1578" data-path="img/OpenAI/Img1.png" />

Copy the generated API token from the modal.

<img src="https://mintcdn.com/blinkops-2/PFTOr0XB-jxgtyO2/img/OpenAI/Img2.png?fit=max&auto=format&n=PFTOr0XB-jxgtyO2&q=85&s=632fe53afc2fc14453c0abf0673c4ff8" alt="Untitled" width="1798" height="1578" data-path="img/OpenAI/Img2.png" />

### Creating your connection[​](#creating-your-connection "Direct link to Creating your connection")

1. In the Blink platform, navigate to the **Connections** page > **Add connection**. A New Connection dialog box opens displaying icons of external service providers available.
2. Select the **OpenAI** icon. A dialog box with name of the connection and connection methods appear.
3. (Optional) Edit the name of the connection. At a later stage you cannot edit the name.
4. Select **API Secret Key** as the method to create the connection.
5. Fill in the parameters:
   * The API Address
   * The API Secret Key
6. (Optional) Click **Test Connection** to test it.
7. Click **Create connection**. The new connection appears on the **Connections** page.
