
You might see in the bottom left corner of the smallgai website there is a friendly bot. I created it as an example but actually its quite useful too. The bot is built using Chatbase which is a really easy to use site that helps you create a chat bot and populate with useful data that might be relevant to your customers. for example if you have customer support scripts, FAQs, or just want to create a mini guru with access to specific online information its really an easy 30 minute job.
This tutorial will guide you through the process of creating a website chatbot using Chatbase.co. This guide is designed for beginners, so don’t worry if you’re new to chatbots or web development.
Other chatbots are available – I have no affiliation with chatbase!
Step 1: Sign Up for Chatbase
- Open your web browser and go to https://www.chatbase.co.
- Click on the “Sign Up” or “Try for Free” button.
- Fill in your details (email, password) to create an account.

Step 2: Create a New Chatbot
- After logging in, you’ll see your dashboard.
- Look for a button that says “Create New Chatbot” or “+” and click on it.
- Give your chatbot a name and select a template if prompted.

Step 3: Train Your Chatbot
- In your new chatbot’s interface, find the “Training” or “Knowledge Base” section.
- You have two options for training:
a. Upload documents (PDFs, Word docs, etc.) that contain information you want your chatbot to know.
b. Manually input questions and answers. - For manual input:
- Click “Add New Q&A” or a similar button.
- Type a potential user question in the “Question” field.
- Provide the answer you want your chatbot to give in the “Answer” field.
- Repeat this process for various questions and answers.

Step 4: Customize Your Chatbot
- Look for a “Settings” or “Customize” section.
- Here you can typically modify:
- Chatbot name
- Welcome message
- Chat interface colors
- Avatar (if available)
- Make changes to suit your website’s style and purpose.

Step 5: Test Your Chatbot
- Find a “Preview” or “Test” button in your chatbot’s interface.
- This will open a chat window simulating how your chatbot will appear on your website.
- Ask various questions to ensure your chatbot is responding correctly.
- Make note of any improvements needed and adjust your training accordingly.
[Screenshot 5: Test chat interface with example conversation]
Step 6: Get the Embed Code
- Once you’re satisfied with your chatbot, look for an “Embed” or “Install” section.
- You should see a snippet of HTML code that looks something like this:
<script src="https://www.chatbase.co/embed.min.js" chatbotId="YOUR_CHATBOT_ID" domain="YOUR_DOMAIN"></script>
- Copy this code.
Step 7: Add the Chatbot to Your Website
- Open your website’s HTML file or content management system (CMS).
- Paste the embed code you copied just before the closing
</body>tag. - If you’re using a CMS like WordPress, you might need to use a plugin that allows you to add custom HTML to your site.
Step 8: Publish and Test
- Save your changes and publish your updated website.
- Visit your website and look for the chatbot icon (usually in the bottom right corner).
- Click on it and test your chatbot to ensure it’s working correctly on your live site.
Congratulations! You’ve successfully created and added a chatbot to your website using Chatbase.co. Remember to regularly update your chatbot’s knowledge base to keep it current and helpful for your visitors.
Leave a Reply