How to build your first AI chatbot

Image of an author
Sylwia Kocur
12 min read
updated: Aug 19, 2026

Choose the path that matches how you want to automate conversations. AI Agent in Text is the recommended way to launch autonomous customer service with knowledge, instructions, and skills. The previous ChatBot.com Visual Builder and AI Assist workflow remains available below for existing ChatBot.com users.

How to build an AI Agent in TextLink icon

AI Agent works inside Text and can answer questions, resolve issues, use customer context, and take actions through Skills. You can start with the AI Agent included in your Text plan and refine it as your support needs grow.

1. Open your AI Agent settingsLink icon

Create a free Text account or sign in, then open Team in the Text App and select your AI Agent. Owners and Admins can edit its settings and switch it between Accept chats and Offline.

2. Define how your AI Agent should respondLink icon

Set the AI Agent name, avatar, tone of voice, answer length, and supported languages. Add Custom instructions to describe its role, responsibilities, preferred vocabulary, and any boundaries it should follow. See AI agents in the Text Help Center for the full settings reference.

Text AI Agent settings showing the Custom instructions field for defining behavior and response guidelines

3. Add knowledge sourcesLink icon

Open the Knowledge tab and select + New source. Add a public website, upload a file, or create an article. For websites, choose whether to scan the full site, nested pages, or a single page, then set an auto-update interval so the content stays current. Learn more about configuring knowledge sources.

Add new website dialog in Text showing URL, scan scope, and auto-update settings

4. Configure SkillsLink icon

Open the Skills tab and enable the capabilities your AI Agent needs. Built-in Skills can send a welcome message, handle tickets, collect customer details, transfer conversations to teammates, and share discount codes. You can also build Custom Skills for workflows specific to your business.

Text AI Agent Skills settings showing available automation skills

5. Preview and activate your AI AgentLink icon

Use the Preview widget to test answers and see when a Skill would be triggered. Review the responses, refine your instructions or knowledge sources when needed, and switch the AI Agent to Accept chats when it is ready to help customers.

6. Connect the website widgetLink icon

Go to Settings → Website widgets, enter your website address, and choose an installation method. You can paste the HTML snippet before the closing </body> tag, use Google Tag Manager, or install the Text widget package for React, Vue, or Angular. Follow the complete website widget installation guide and confirm that the widget status changes to Connected.

Text website widget setup showing the Embed code installation option

Ready to get started? Create your free Text account and set up your AI Agent in a few minutes.

How to build a chatbot with the previous ChatBot.com workflowLink icon

Scan your website and knowledge base, and let ChatBot.com AI Assist answer the most common user questions.Link icon

Before you start building: if you’d rather write instructions than design decision trees, AI Agent in Text uses large language models to interpret plain-English instructions instead. Try Text free.
Before you start building: if you’d rather write instructions than design decision trees, AI Agent in Text uses large language models to interpret plain-English instructions instead. Try Text free.

The AI-trained bot generates responses with ChatBot.com AI Assist based on your website or other resources. You can train your chatbot by scanning:

  • Website URL
  • KnowledgeBase help center
  • Zendesk help center
You can also use editable text articles to train your bot with the help of the AI Knowledge feature. For example, you can copy and paste your internal documentation or non-public URL content.
You can also use editable text articles to train your bot with the help of the AI Knowledge feature. For example, you can copy and paste your internal documentation or non-public URL content.

Create a bot by using your website URLLink icon

See our video tutorial to learn how to create, manage, and improve the bot over time!
See our video tutorial to learn how to create, manage, and improve the bot over time!

Set up your chatbotLink icon

Start in the Chatbots tab and select + Add chatbot field. Choose Website from the provided option.

choose website for chatbot

TrainLink icon

Enter your website URL and click on the Continue button. Choose the scanning option:

  • Scan a full page
  • Scan only nested pages
  • Scan a single page

train your chatbot on a website

If you are unable to scan your website, check our FAQ for possible reasons or contact us at support@chatbot.com.
If you are unable to scan your website, check our FAQ for possible reasons or contact us at support@chatbot.com.

Before training your bot, use the green toggle to turn off specific category pages of your website. Click Continue.

url switch for chatbot training

Tune your chatbotLink icon

The final step allows you to:

  1. Customize welcome message if needed.

  2. Choose basic skills generated from your website’s content (such as the Contact us skill, suggested whenever contact details are collected).

    Skills are dedicated chatbot flows designed for specific tasks. Depending on your website’s content, some skills are generated automatically during the chatbot creation process (for example, FAQ, About, Pricing), while others can be manually added.

  3. Check and edit the attributes collected through the website scanning process.
    Attributes such as company name, company address, URL to privacy policy, URL to terms, social media links, and more are collected automatically during the scanning process.

tune your chatbot to your company needs

When all changes are done, click Continue.

Your AI chatbot is ready for testing, but the knowledge is not fully loaded yet. The training is completed when the “Test your bot button” does not have a spinner running.

You can add knowledge sources to your already created bot. AI Knowledge module gathers the data, which ChatBot.com AI Assist then uses to answer your customers’ queries. You can see it in the main view of your bot, in the top-left part of your screen.
You can add knowledge sources to your already created bot. AI Knowledge module gathers the data, which ChatBot.com AI Assist then uses to answer your customers’ queries. You can see it in the main view of your bot, in the top-left part of your screen.

Test your AI chatbotLink icon

Testing toolLink icon

Testing tool allows you to test your AI chatbot within the ChatBot.com web app. You can check if everything works as intended before your chatbot connects with users.

  1. Go to your AI chatbot. Click on the Test your bot button to start a chat. The bot flow shows the active branch during the chat with the blue line.

testing tool for AI chatbot

AI Assist is a block that uses our in-house AI model to provide dynamic responses to the end users based on the data trained from the initial source (website URL, Zendesk help center, KnowledgeBase help center).
AI Assist is a block that uses our in-house AI model to provide dynamic responses to the end users based on the data trained from the initial source (website URL, Zendesk help center, KnowledgeBase help center).
Want AI that acts, not just talks? AI Agent in Text runs on natural language instructions instead of decision trees. Custom skills let it take actions triggered by customer intent — issue discounts, route by language, or tag high-value sales automatically.
Want AI that acts, not just talks? AI Agent in Text runs on natural language instructions instead of decision trees. Custom skills let it take actions triggered by customer intent — issue discounts, route by language, or tag high-value sales automatically.
  1. If you click on the three dots icon in the top right corner, you can choose between 5 options:
  • Show or hide Debug mode — it shows the names of all the actions and interactions that happen during the chat.

  • Returned user — turning on the “Returned user” option allows you to test the chat as a customer who’s already chatted with the bot.

  • Follow steps on the tree — it displays where the tested interaction is located on the conversation tree.

  • Show or hide the Typing indicator — it precedes the message sent by the user.

  • Reset chat — lets you start a new chat.

If you need to test only a specific interaction or action, you can start testing from any step of your chatbot by right-clicking on that interaction and selecting “Start testing from here”.
If you need to test only a specific interaction or action, you can start testing from any step of your chatbot by right-clicking on that interaction and selecting “Start testing from here”.

The AI chatbot will search for an answer on the conversation tree first. If one isn’t found on the conversation tree, it will use the knowledge from AI Knowledge, and then use AI Assist to provide the best answer.

Create and configure your Chat WidgetLink icon

To create your Chat Widget and configure its settings, open your AI chatbot, navigate to the Integrations icon, and click Connect located next to the Chat Widget option.

create widget for AI chatbot

Go to the General section and set up the bot’s settings:

chatbot settings general

  • Bot name — type your chatbot’s name here.

  • Bot Description — this short text is displayed on the welcome screen. It should briefly describe your business and explain how the chatbot can help the user.

  • Bot avatar — an image displayed next to every message the bot sends

  • Choose Language — choose the language the chat will be in

  • Welcome screen — a screen with a description and your social media links displayed before the chat starts.

  • Custom links — use it to share your social media links with customers directly in the Chat Widget on the welcome screen.

  • Powered by — you can turn off this option to remove the Powered by ChatBot.com label from your Chat Widget (Business and Enterprise plans only).

  • Text field — if needed, you can turn the text field off and show it only when a question from the bot needs to be answered by the user.

    Remember that if you do so, you’ll need to build your chatbot using rich messages. If you turn the text field off but use the Question action in your chatbot, the text field will be activated so that the user can answer that question. After the user provides an answer, the text field will be automatically turned off again.

Make sure to click on the Save button in the bottom right corner to save your settings.
Make sure to click on the Save button in the bottom right corner to save your settings.

Customize your Chat WidgetLink icon

Navigate to the Integrations icon, and click on the Chat Widget. Go to the Appearance section.

appearance settings for chatbot

Set up the bot’s appearance settings:

  • Theme and color — this option allows you to change the main widget theme, color, and the background image. You can choose from ready-to-use presets or configure your colors by selecting the More Advanced Colors option.

  • Choose background — you can add the bot’s background here. Drag and drop or browse for an image and crop it if needed.

Make sure to click on the Save button in the bottom right corner to save your settings.
Make sure to click on the Save button in the bottom right corner to save your settings.

Set up greetingsLink icon

The Greetings feature allows you to display a pop-up message right above the minimized Chat Widget on your website. This can be used to catch users’ attention and encourage them to start chatting.

greetings for chat widget chatbot

You can decide when your greetings should be sent to the user. For instance, you can create a customized greeting for the user who spends a specific amount of time on a particular page or a whole domain. You can also send a customized greeting to visitors who enter your website through a specific URL address.

Click on the + Add condition button and select a condition from the list.

Make sure to Save greeting and click on the Save button in the bottom right corner to save your settings.
Make sure to Save greeting and click on the Save button in the bottom right corner to save your settings.

Preview the Chat WidgetLink icon

ChatBot.com also lets you verify your settings and test your chatbot on the Sample Page — a default demo page. To open the Sample Page, click on the Open preview button in the bottom left corner.

You can share the link to the Sample Page with your team or beta testers to gather feedback and ensure your bot provides an excellent user experience.

You can preview the changes applied to your Chat Widget in real time on the right side of the configuration screen. Choose from one of the views to see the minimized chat, welcome screen, or ongoing Chat Widget view.
You can preview the changes applied to your Chat Widget in real time on the right side of the configuration screen. Choose from one of the views to see the minimized chat, welcome screen, or ongoing Chat Widget view.

preview chatbot for your page

Remember to Publish your chatbot in the bot builder view before you start testing. Only then will you see the latest updates in the tested chatbot.
Remember to Publish your chatbot in the bot builder view before you start testing. Only then will you see the latest updates in the tested chatbot.

Publish your chatbotLink icon

When editing your chatbot, you will automatically create a new draft of your chatbot. The draft version is a duplicate of your published chatbot with the changes you added.

Draft lets you work on your chatbot without updating the published version. This way, you can experiment with your chatbot without worrying that any of these tweaks will change the behavior of your published version.

When you’re ready and decide that your draft can replace the already published version, click the Publish button.

publish your ai chatbot

You can see all the previous versions under the Version History icon.

Install ChatBot.com using the Chat WidgetLink icon

To install the ChatBot.com Chat Widget on your website, open your AI chatbot, navigate to the Integrations icon, and click on the Chat Widget.

Go to the Publish section and click the Copy code button. Paste the copied code to your website’s source code before the closing < /body > tag.

put chatbot on your website using code snippet

Reload your website. The Chat Widget should appear in the bottom corner of a page.

See how to install the bot in a few clicks in our video tutorial!
See how to install the bot in a few clicks in our video tutorial!

Master your AI chatbot’s performanceLink icon

You can continue training your AI chatbot with the help of the Training section in the main view of your bot, in the top-left part of your screen.

See our video tutorial to check how to master the bot’s performance in a few minutes!
See our video tutorial to check how to master the bot’s performance in a few minutes!

train your chatbot to improve performance

Check the Unmatched category to see user messages your AI couldn’t answer. You can provide answers for these questions and your AI model will use these for questions later. You can also review and edit all ChatBot.com Answered by AI queries.

unmatched chatbot answers training section

If you prefer building your chatbot manually in the no-code chatbot builder, see our article: “How to build your chatbot from scratch”. Or you can use the Templates section to find ready-made bots for specific tasks.
If you prefer building your chatbot manually in the no-code chatbot builder, see our article: “How to build your chatbot from scratch”. Or you can use the Templates section to find ready-made bots for specific tasks.

Read more:

Was this article helpful?

Got it!

Thanks for your feedback.

Thank you!

We’re happy to help.

Ready for more than a chatbot?
Try AI Agent in Text.

AI Agent trains on your data, resolves issues across live chat and help desk, and takes real actions in your business systems.

14-day free trial No credit card required