How to get the GPT Assistant key and connect it with the bot

This guide will help us to understand regarding GPT Assistant and how it is integrated with the Bot.

What is a GPT Assistant?

A GPT Assistant is an AI-powered virtual assistant built using OpenAI’s GPT models that can understand natural language and generate human-like responses. It is commonly used to automate conversations, answer questions, provide support, generate content, and assist users across channels like websites, apps, and messaging platforms (e.g., WhatsApp).

In platforms like BotPenguin, a GPT Assistant can be connected to handle customer queries, FAQs, lead qualification, and conversational workflows intelligently.


βœ… Pros of Using a GPT Assistant

  • 24/7 Availability: Responds to users instantly at any time without human intervention.

  • Natural Conversations: Understands context and provides human-like, conversational replies.

  • Scalable Support: Handles multiple conversations simultaneously without performance issues.

  • Reduced Support Costs: Minimizes dependency on human agents for repetitive queries.

  • Customizable Responses: Can be trained or prompted to follow your brand tone and business rules.

  • Multi-Use Capabilities: Useful for support, sales, onboarding, FAQs, and content generation.

  • Continuous Improvement: Gets smarter over time with better prompts and structured inputs.


How to Get the GPT Assistant API Key

Follow these steps to generate your GPT (OpenAI) API key:

Step 1: Sign in to OpenAI

Go to the OpenAI platform and log in with your account.

Step 2: Open API Keys Page

After logging in, navigate to View API Keys from your account dashboard.

Step 3: Create a New API Key

Click on Create new secret key and copy the generated key.

Step 4: Save the Key Securely

Store the API key safely. For security reasons, you won’t be able to view it again.

Step 5: Add the Key to Your Platform

  • Select your Bot

  • Go to Third party Integrations

  • Search the ChatGPT and click on Connect Button.

  • Paste the copied API key , select the model and select the knowlede mix.

How to Connect GPT Assistant with Your Bot

Step 1: Create a GPT Assistant

  1. Go to your Chatbot Settings β†’ AI Assistants Configuration β†’ Basic Configuration.

  2. Under AI Service Provider, select Integrate with ChatGPT.

  3. In Choose Model, select Assistants Beta.

  4. Paste the GPT Assistant Key you copied earlier.

  5. Click Update to save the changes.

Step 2: Setup of AI Assistant

  1. Click Add Assistant.

  2. Enter an Assistant Name.

  3. Select the Model (e.g., GPT-4o).

  4. Set Temperature and Top-P as needed.

  5. Add your Custom Prompt (instructions that define how the assistant should behave).

  6. Click Add Assistant or Update Assistant.

  7. Enable the assistant using the Status toggle.


Step 4: Edit The Assistant

  1. From the list select any assistant that you would like to edit by clicking on edit icon.

  2. Update the details.

  3. Click on the Update Assistant.

Test the Bot

  • Open your chatbot and send a test message.

  • The bot will now respond using the configured GPT Assistant logic and instructions.

Last updated

Was this helpful?