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

# OpenAI

Add a new custom chatbot with OpenAI API.

## Preparation

Get your **OpenAI API key** from [https://platform.openai.com/api-keys](https://platform.openai.com/api-keys).

## Configuration

<img src="https://mintlify.s3.us-west-1.amazonaws.com/chathub-5dac209e/images/custom-bots/openai.png" alt="" />

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

You can find all the available models from OpenAI website: [https://platform.openai.com/docs/models/overview](https://platform.openai.com/docs/models/overview).
