> For the complete documentation index, see [llms.txt](https://docs.aichatone.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aichatone.com/product-guides/custom-chatbots/openai.md).

# 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="/files/LOnWN38DqFeRCJEgV0fD" 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>
