Tutorials · Beginner
How to create a chatbot for your website without coding (2026)
Step-by-step guide to create a chatbot for your website without coding: train it on your content, give it personality and paste it into your site in minutes. With free options.
- Chatbase
- Botpress
- Tidio
A chatbot on your website answers the usual questions (prices, hours, shipping, product doubts) at any hour, without you being glued to the screen. Best of all: today you can create one without coding, training it on your own content in minutes.
In this guide we use Chatbase as the main example because it’s one of the simplest (you give it your website URL and it learns on its own), but at the end I leave you free alternatives. Tap each step to open and follow it.
Before you start: have ready the content you want to train the bot with (your site, a FAQ PDF or a text). If you don’t have a site yet, first check How to create a landing page with AI.
1 Create your Chatbase account
- Go to https://www.chatbase.co
- Click Sign up and register with your email or your Google account.
- The free plan lets you test without paying (50 messages a month, with a “Powered by Chatbase” watermark).
No card needed to start. Test first, pay later if it works for you.
2 Train the chatbot on your content
This is where the bot “learns” about your business. Create a new agent and choose where the information will come from:
- Website: paste your page’s URL and Chatbase reads its content on its own.
- File: upload a PDF with your FAQs, your catalog or your policies.
- Text: paste directly what you want it to know (prices, hours, shipping).
The clearer and more complete the content, the better the answers. Click Create agent (or “Train”) and wait a few seconds for it to finish.
Tip: write a short document with the 20 questions your customers ask most and their answers. That single file improves the bot a lot.
3 Give it personality and a greeting
A generic chatbot sounds cold. In the agent’s settings (Settings) you can:
- Give it a name and a photo or icon.
- Write the welcome message: “Hi! I’m [your brand]‘s assistant, how can I help?”.
- Give it tone instructions in the “system prompt” or “instructions” field:
Reply as a close, professional brand, in English,
with short, friendly sentences. If you don't know something, say so
and offer a contact email. Do not make up prices or facts.
That last detail (“do not make up”) is key: it keeps the bot tied to your content and stops it from getting creative with facts it doesn’t have.
4 Test it before publishing
Chatbase has a test window (Playground or “Chat”) on the right. Ask it your customers’ real questions:
- “How much is shipping?”
- “Are you open on Sundays?”
- “Can I return a product?”
If it answers wrong or makes something up, go back to Step 2 and add that information to the content, or adjust the instructions from Step 3. Repeat until you like the answers. This back and forth is normal and takes only a few minutes.
5 Paste it into your website
When you’re happy, publish the bot on your site:
- Go to Connect (or “Embed” / “Integrations”).
- Choose Embed on site and copy the code snippet (a
<script>). - Paste that code into your site’s HTML, right before the closing
</body>tag:
<script src="https://www.chatbase.co/embed.min.js" ...></script>
Where to paste it depending on your platform:
- WordPress: use an “insert code into header/footer” plugin.
- Wix / Squarespace: look for the “Custom code” option.
- Shopify: edit it in
theme.liquid, before</body>. - AI-built site (Claude Code, Lovable, etc.): paste the script into your
index.htmlfile or the layout.
Save, reload your page and you’ll see the chat bubble in the corner. You now have your assistant answering on its own!
Free alternatives to Chatbase
Chatbase isn’t the only option. If you want more free messages or a visual conversation editor, try:
| Tool | Free plan | Good for |
|---|---|---|
| Botpress | Generous (hundreds of messages/mo) | Visual flows and fine control |
| Tidio | Yes (limited conversations) | Support and sales, very easy |
| Voiceflow | Yes (several agents) | Designing step-by-step conversations |
The process is similar in all of them: you create an account, train or design the bot, and paste a code into your site. If you want to go a step further and connect your own AI model, check How to create your first AI agent without coding.
Plans and limits change often. Always confirm on each tool’s official page before deciding.
If something goes wrong
| Problem | Fix |
|---|---|
| The chat bubble doesn’t appear | Check the <script> is before </body> and reload with a clean cache |
| The bot makes up answers | Add that fact to the content (Step 2) and put “do not make up” in the instructions |
| It replies in the wrong language | Tell it the language in the system prompt (Step 3) |
| Free messages ran out | Wait for next month or upgrade; also try Botpress |
Frequently asked questions
Do I need to know how to code to create a chatbot?
No. Tools like Chatbase, Botpress or Tidio let you train the bot on your content and paste a small code into your site without writing a single line of programming.
Can I create a chatbot for free?
Yes. Chatbase, Botpress and Tidio have free plans with limits (for example Chatbase gives 50 messages a month with a watermark). They're plenty to test before paying.
Where does the chatbot get its answers from?
From the content you train it with: your website URL, a PDF or text you paste. It only answers with that information, so it avoids making up things outside your business.
Does it work on any website?
Yes. They give you a code snippet (a script) that you paste into your site's HTML. It works on WordPress, Wix, Shopify, an AI-built site or any page where you can edit the code.
Can the chatbot replace my support team?
Not entirely. It's great for repeated questions (prices, hours, shipping), but let a person handle serious complaints and sensitive cases. Use it as an assistant, not a replacement.