Creating your AI Chatbot Agent

Modified on Fri, 17 Jan at 5:54 PM

Yes, we're excited to get you going with creating your AI Chatbot Agent.


Remember, every AI chatbot agent has 3 building blocks:

  1. Your Knowledge Base
  2. Assistant aka the Brain of your AI chatbot agent
  3. A Widget to put in front of your users


Here, we will take you through each step in detail so you can easily create and empower your AI chatbot agent with advanced functionalities. 


Creating Your AI Chatbot Agent


1. Preparing your knowledge base

Every AI chatbot agent is powered by your knowledge base to serve a user's query. It can contain multiple Data Sources to feed information to the Assistant.


Here are the steps to create a single Data Source. 


          a. After logging in, click on the AI Agents from the sidebar.



     b. Click on Add Data Source. 


       c. Open the Data Source Type dropdown, and select one of the options. Provide a name and description for your reference. We support 4 formats i.e. PDF, HTTP (website crawl), CSV (Text + Image), and Text Blob.  



  • PDF: You can upload a single or multiple PDF files at once.
  • HTTP: Provide your website URL to start a crawl, and the max number of pages to be crawled (default: 100)
  • Include and Exclude URLs (Using Glob format) allows you to choose which URLs should be included/excluded when creating a knowledge base using a pattern-matching syntax called "Glob format.” Refer to this link to know more. 
  • Text: Paste the blob text from any source to add it to your Data Source.  
  • CSV (Text + Image): You can upload CSV files that contain both text and image references to create your knowledge base. 

    d. Once you click the Submit button, it will create the Data Source and start its extraction & indexing. For this guide, we picked the HTTP option.

    e. You can see the added Data Source in the table. The status reflects the current state and will signal once it is ready to use:


  • You can note that it could crawl 30 pages as shown under the Data Source Files column and a total word count of 16,472.

Now your Data Source is ready to use and feed an Assistant aka the brain of your AI Chabot Agent.


2. Setting up the Assistant


An Assistant is the main controller of your AI Agent. It is responsible for comprehending the users' requests and fulfilling them based on the available resources at its disposal.


Here are the steps to create an Assistant. 


        a. Navigate to Assistants. Make sure you have selected AI Agents from the sidebar. 


         b. Click on Add an Assistant.


           c. Here you can set up the Assistant as needed. 

  • Name: Give a name to your Assistant.
  • Description: Describe what the Assistant would do. It is for your own reference only.
  • LLM Model: Pick one of the LLMs that would generate the response. 


Here is a quick comparison of the models to help you get started:


  • GPT-4-0125-Preview (20 credits): The most advanced model, offering top-tier accuracy and nuanced responses, ideal for complex queries.
  • GPT 4o (10 credits): A slightly simplified version of GPT-4, balancing high performance with lower credit consumption.
  • GPT-3.5-Turbo-0125 (1 credit): A fast and efficient model, providing solid responses for everyday tasks with minimal credit use.
  • GPT 4o mini (1 credit): A lightweight version of GPT 4o, great for quick responses where accuracy is less critical.


  • Prompt: It is one of the most important fields that provides your Assistant with the basic instructions that control its personality, and quality of answers. It can also set the language it is expected to return the responses.

    It can also be used to overwrite any answers and to set phrases for specific cases related to your business.

    For example: You may want to respond with a particular phrase when the Assistant doesn't find relevant information in its knowledge base.


  • Enable Voice: Other than text, your users can interact with your AI Agents through voice. You can select up to 4 languages that you want the Assistant to recognize.

    For each selected language, you can then select a voice that it should use to speak back the response.

    You can also use your own voice to respond to your users by setting it up using the given link.

  • Show Images: If any images are extracted while building the knowledge base, they could be shown along with the response.


      Once you click the Submit button, the Assistant will be created.


  • Conversations
    Contact & Conversation Sync – Enjoy complete interaction history with all voice and chat conversations synced seamlessly to your CRM (Currently supported GHL).
  • Conversation Summaries via Email - Our assistant can  summarize conversations and send them directly to your email
  • Click on Save and Exit to complete the assistant setup
    Note: Forms, tools, webhooks can be connected after you complete the basic setup by going into operations and click "Edit Assistant"


Now you can build the knowledge base by linking Data Sources to your newly created Assistant. Click on the Operations icon as shown in the image below and click on View Data Sources. 




         e. Select the Data Sources that you'd like to form the knowledge base for your Assistant.



      f. Now your Assistant is ready to use and deployed in the form of a Widget.



 3. Setting up a Widget


A widget is the interface through which users interact with your AI Agent on your website. Follow these steps to create and deploy a widget: 


        a. Navigate to Widgets. Make sure you have selected AI Agents from the sidebar. 



          b. Click on Add a Widget.


           c. Here you can set up the Widget as needed. 



  • Name: Give a name to your Widget.


  • Description: Describe what the Assistant would do. It is for your own reference only.


  • Select Assistant: Pick one of the Assistants that would be used to act as the interface. 


  • Widget TypeChoose from several types of widgets based on your needs. Each type offers different interaction methods:



Chat widget: Chat bubbles can be embedded on any page of your website in the bottom right corner.


Note: If you select the Chat widget, you can also include a form that users will fill out before their initial interaction. You can create and select a GDPR consent form to request permission for storing personal information. If you prefer not to use a form, you can leave this field empty. 



HTML widget: HTML variants are embeddable directly in an iframe or can be accessed directly through a URL.



WhatsApp widget: A WhatsApp widget is deployed for your customers to interact through their own WhatsApp numbers. A separate guide is provided to set its configuration.



Facebook widget:  With this widget, users can interact with your AI Assistant directly through Facebook Messenger. Integration involves connecting your Facebook page to the platform. 


Twilio widget: Twilio enables communication through voice. This widget allows you to use your AI Assistant for customer interactions via calls.


GoHighLevel (GHL) widget: For GHL users, this widget integrates your AI Agent with GoHighLevel, automating customer interactions across multiple channels, including chat and SMS. 


Instagram widget: This widget allows your AI Assistant to engage with users via Instagram Direct Messages, enabling seamless interaction through Instagram's messaging platform. 


           d. Once you click the Submit button, the Widget will be created.


           e. You can click on the Operations button to customize the created widget. 

Also, it gives you the option to get the code, and QR, customize the design, or open the Widget that you just created in a new tab.



  • Get Code: This option gives you the code for your widget for both Chat bubble type and iframe by selecting from the dropdown menu. 

    Once you copy and paste the code into the respective section of your website, your AI Agent will be live. You can also generate a QR Code and use it anywhere including physical places such as at a clinic, restaurant, event and so many other places.
  • Customize Widget: Our AI chatbot agents can be fully customized to suit the look and feel of where you intend to deploy them. Refer to this manual for more details.


  • Visit Demo: Click on the Visit button to open the AI chatbot widget in a new tab. You can also use the same URL anywhere to make it accessible to your users.


Now your Widget is ready to use and deployed in the forms explained above. You can also try it out from the Playground section of your dashboard.






Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article