# ChatGPT

#### Step 1 of 4: Log in to your BotPenguin Account and Select ChatGPT Integration <a href="#xvw43v6b0iop" id="xvw43v6b0iop"></a>

a. Login to your BotPenguin account. Then, select and click the Bot you want to integrate with ChatGPT. Click on the **‘Integrate tab.’**

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

b. The Integrate Window Will Open up. Select the **‘All Integrations’** Tab.

c. A list of all native integrations for BotPenguin will be available in this window.

d. Find ChatGPT by-

* Either by scrolling down the list or
* by typing **‘ChatGPT’** in the Search Box with the placeholder “Search Integration By Name”

e. Click On The **‘Purchase’** Button As Shown

<figure><img src="https://help.botpenguin.com/~gitbook/image?url=https%3A%2F%2F1745791824-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FAPDb8cKQtGlIAfgHjcsQ%252Fuploads%252FsfoGZtGsJO3p5Sdbo4F2%252F01.png%3Falt%3Dmedia%26token%3Df9039be0-4fd3-4d0b-af07-6f4c56e51e2d&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=7d74bc8c&#x26;sv=1" alt=""><figcaption><p>Third party Integration</p></figcaption></figure>

f. An interest form, as shown below, will open up. You will be asked to enter the details we require to contact you. Our customer success will explain the process and our payment plans.

<figure><img src="https://help.botpenguin.com/~gitbook/image?url=https%3A%2F%2F1745791824-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FAPDb8cKQtGlIAfgHjcsQ%252Fuploads%252FG4DpJsmtWf7kq3clA01h%252FScreenshot%2520%28110%29.png%3Falt%3Dmedia%26token%3D6d4e9dcc-975f-4dce-af14-4bfff4d5d117&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=3354cb2e&#x26;sv=1" alt=""><figcaption><p>Third Party Integration</p></figcaption></figure>

g. Once done, the added feature will reflect in your account and the option to configure. Click on configure.

<figure><img src="https://help.botpenguin.com/~gitbook/image?url=https%3A%2F%2F1745791824-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FAPDb8cKQtGlIAfgHjcsQ%252Fuploads%252F2tFAgpGc5uUfcDiUsoTk%252FScreenshot%2520%28107%29.png%3Falt%3Dmedia%26token%3De73f69c8-f73f-477e-9dc2-12e500b13aa9&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=5d8d6acb&#x26;sv=1" alt=""><figcaption><p>Third party integration</p></figcaption></figure>

h. API key page, as shown below, would open. Add your API Key Token here.

<figure><img src="https://help.botpenguin.com/~gitbook/image?url=https%3A%2F%2F1745791824-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FAPDb8cKQtGlIAfgHjcsQ%252Fuploads%252F0yqcz4I01JQisqeTFOw9%252FScreenshot%2520%28108%29.png%3Falt%3Dmedia%26token%3Da6fadb77-2862-48cd-9a29-a244fa22ab30&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=a0b667f8&#x26;sv=1" alt=""><figcaption><p>third party integration</p></figcaption></figure>

#### Step 2 of 4: Find your Authorization Key/Token in App Account <a href="#nzrqyz7o2otx" id="nzrqyz7o2otx"></a>

a. To get the API Token, log in to the Open AI account, and on the main dashboard, click on the dropdown button next to your profile name in the top-right corner and then click on the **'View API Keys'** Option.

<figure><img src="https://help.botpenguin.com/~gitbook/image?url=https%3A%2F%2F1745791824-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FAPDb8cKQtGlIAfgHjcsQ%252Fuploads%252FWHjSrFRWjRsCESRU0kgU%252FScreenshot%2520%28104%29.png%3Falt%3Dmedia%26token%3Dd6b8f2ed-bc88-42be-8433-747275ee1293&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=4939d260&#x26;sv=1" alt=""><figcaption><p>Open Ai</p></figcaption></figure>

b. Click the **Create new secret key** option on the API keys page.

<figure><img src="https://help.botpenguin.com/~gitbook/image?url=https%3A%2F%2F1745791824-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FAPDb8cKQtGlIAfgHjcsQ%252Fuploads%252F8unCU9YUwQZApGaMjBcG%252FScreenshot%2520%28105%29.png%3Falt%3Dmedia%26token%3D17d0a440-93a2-4c1c-bbb5-581ab82ee697&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=e5bb23&#x26;sv=1" alt=""><figcaption><p>Open Ai</p></figcaption></figure>

c. A pop-up opens, as shown below. From the pop-up, copy your secret key.

<figure><img src="https://help.botpenguin.com/~gitbook/image?url=https%3A%2F%2F1745791824-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FAPDb8cKQtGlIAfgHjcsQ%252Fuploads%252FhOcTATET0sA9DPNcuLHR%252FScreenshot%2520%28106%29.png%3Falt%3Dmedia%26token%3Dadf96b68-d6d4-46d1-90ea-63fc27737147&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=fbb2b4cc&#x26;sv=1" alt=""><figcaption><p>Open Ai</p></figcaption></figure>

#### Step 3 of 4: Enter the API key in BotPenguin to Connect with ChatGPT <a href="#id-2xyz17m6s45r" id="id-2xyz17m6s45r"></a>

a. Enter the secret key, and press **Authenticate,** to complete the integration of BotPenguin with ChatGPT.

<figure><img src="https://help.botpenguin.com/~gitbook/image?url=https%3A%2F%2F1745791824-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FAPDb8cKQtGlIAfgHjcsQ%252Fuploads%252FvSuzQCZbFDPlWfeeOzyA%252FScreenshot%2520%28112%29.png%3Falt%3Dmedia%26token%3D845df2e6-22a2-4d53-ac3e-9da32bc849ee&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=5d0a0e8a&#x26;sv=1" alt=""><figcaption><p>Third Party Integration</p></figcaption></figure>

b. If you have entered all the details correctly, you will see a notification that says, **“Now you can access the ChatGPT component in chat flow.”**

c. Also, your ChatGPT integration will reflect the message **Installed** in the Integration List.

<figure><img src="https://help.botpenguin.com/~gitbook/image?url=https%3A%2F%2F1745791824-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FAPDb8cKQtGlIAfgHjcsQ%252Fuploads%252FyaTltDQI4rsyBKWA4eH3%252FScreenshot%2520%28111%29.png%3Falt%3Dmedia%26token%3Db4fb6c5f-8001-4e40-b02a-34b4e76aef49&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=e88ae205&#x26;sv=1" alt=""><figcaption><p>Third Party Integration</p></figcaption></figure>

#### Step 4 of 4: Test your Integration Setup with Data <a href="#x3dzdlz6r1mf" id="x3dzdlz6r1mf"></a>

Once you have established a connection between **BotPenguin** and **ChatGPT**, you are ready for your first NLP-enabled customer interaction. You can test your integration setup by creating a dummy lead on the bot.

#### Still Not Working, Let’s Troubleshoot! <a href="#kv3gzu3jags5" id="kv3gzu3jags5"></a>

If you are getting blank responses or undesired responses :

* Wrong Authorization Details added- You will be required to check and see if all the authorization credentials, such as API Token, API key, and/or URL, have been entered correctly.
* Free plan- You are not subscribed to the paid plan on BotPenguin or ChatGPT, as integration works only in the paid plan.
* Training Data- The training data you provided was ineffective or inept.

#### Need Help?

Please feel free to reach out to us at <mark style="color:$primary;"><support@botpenguin.com></mark>, in case of any questions or concerns.

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://partners.botpenguin.com/customer-platform-guidelines/chatflow-setup/3rd-party-api-in-chatflows/chatgpt.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
