# OpenAI

## Preparation[​](https://doc.chathub.gg/custom-chatbots/openai#preparation) <a href="#preparation" id="preparation"></a>

Get your **OpenAI API key** from <https://platform.openai.com/api-keys>.

## Configuration <a href="#configuration" id="configuration"></a>

<figure><img src="https://3481753452-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzYU2cjsYvY3seDzkySsN%2Fuploads%2FE8hLnIpZQMEEMpEMklmn%2Fimage.png?alt=media&#x26;token=e637e9d3-051f-4b5c-b003-5430fcebb517" alt=""><figcaption></figcaption></figure>

We're using the `gpt-4-1106-preview` model in this example.

You can find all the available models from OpenAI website: <https://platform.openai.com/docs/models/overview>
