> For the complete documentation index, see [llms.txt](https://help.inboxhour.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.inboxhour.com/api-channel-integration/how-to-integrate-with-openai-chatgpt.md).

# How To Integrate With OpenAI (ChatGPT)

Go to the API channels menu and click the Open AI tab. The Open AI (ChatGPT) integration feature is only available for the **Standard** and **Premium** plans only.

<figure><img src="/files/bs2Zc5KmxlbZO4TJrAko" alt=""><figcaption></figcaption></figure>

Then, scroll down and you can see the OpenAI option. Just click the OpenAI option.

<figure><img src="/files/oTwcBx84VWnWXQjqNIrr" alt=""><figcaption></figcaption></figure>

Then, fill in the OpenAI API secret key. You can get this secret key from the OpenAI website. Check the tutorial below on how to get the secret key.&#x20;

<figure><img src="/files/x51HFR8hGSfWkNVdaSVl" alt=""><figcaption></figcaption></figure>

**Instruction to AI**: you can use the default instruction or you can create your own instruction. This is to teach general instruction to your AI.

**Models**: choose your ChatGPT Models.

Then, click save when you're done.&#x20;

### How to get the OpenAI secret key

Firstly, you need to have an OpenAI account. If you don't have it, you can sign up for an account at this link: <https://openai.com/api/>

After login to the OpenAI account, go to your profile and click on the **View API Keys**

<figure><img src="/files/Wza6adqlF5U0K09W4hox" alt=""><figcaption></figcaption></figure>

Then, click on the **Create New Secret Key** button to generate your API key.&#x20;

<figure><img src="/files/3JJWgmTxJLcWlSvuD2X1" alt=""><figcaption></figcaption></figure>

A popup with your secret key will appear. Just copy this secret key and put it in the setting in the Inboxhour system as in the previous step.

<figure><img src="/files/id0AkPOAtjXiPoCcVOnw" alt=""><figcaption></figcaption></figure>

Now you can use the AI reply in the flow builder feature.&#x20;

<figure><img src="/files/8m2JbNjOiuFAkXZuckZf" alt=""><figcaption></figcaption></figure>
