chatty4allBuild your assistant

How to add an AI chatbot to your website without code

Updated · 6 min read

You can put an AI chatbot on your website without writing code. With Chatty4All you design the chat window, teach it about your business, and paste one line into your site. This guide walks through each step and the choices that matter.

What you need

  • A website you can add a line of code to, on any platform (WordPress, Shopify, Wix, Squarespace, Webflow, a site builder that allows custom code, or your own HTML).
  • What you'd tell a new employee: what you sell, your hours and prices, the questions customers ask most, and what they should never promise.
  • About 15 minutes. You can design the chat without an account; you sign in to teach it and publish.

1. Pick where it sits and how it looks

Open the editor and choose a layout. There are seven: a floating bubble in a corner, a support desk with a home screen, a slim chat bar along the bottom, an “Ask AI” search box, a side panel, an inline chat inside a page section, and a full-page chat. Most sites start with the bubble.

Then click any part of the chat in the preview (the header, the bubbles, the input) to change it: colours, fonts, corner radius, size and wording. You can upload a screenshot of your own site to see the chat on it, or describe the look you want to the AI designer.

2. Teach it your business

The Teach it step is where the chatbot learns what to say. You can fill it in by hand or let the AI write a first draft:

  • Describe your assistant. Write a few sentences about the job (for example, “answer questions about classes and prices, and send refund questions to the front desk”) and upload documents. It drafts the job, instructions, rules and greeting, and you tick the parts to keep.
  • Knowledge. Add your website (it reads the page and the main pages it links to), documents, and notes. It looks things up here before answering.
  • Rules. What it must always do, what it must never do, and who takes over when it can't help.

Test it in the chat next to the settings as you go. Ask the questions your customers ask, and fix the answers you don't like by adding a fact or a rule.

There's a longer guide to this step: train a chatbot on your own documents.

3. Lock it to your website and publish

In Go live, add your website's address under Websites it may run on. The chatbot only loads on the sites listed, so nobody can copy your code onto their own site and use up your assistant. Then publish.

4. Paste one line into your site

After you publish, the editor gives you a line like this one, with your own id in place of YOUR_BOT_ID:

HTML
<script src="https://chatty4all.design/widget.js" data-bot="YOUR_BOT_ID" async></script>

It goes just before </body>, or into your platform's footer or custom code setting. Step-by-step guides:

The script loads after your page, so it never slows the page down. If the assistant can't load for any reason, nothing appears on your page.

5. Watch what visitors ask

Every chat shows up in your dashboard, grouped into topics, and the questions it couldn't answer are flagged. That list is your to-do list: add the missing facts under Teach it and the next visitor gets an answer.

Common questions

Is it free?

It's free to start and needs no credit card. Chats run on free AI models, or you can add your own OpenRouter key to use the model you prefer.

Can it book appointments or take actions?

Yes, once you connect apps such as Google Calendar, HubSpot or Gmail under Teach it → Actions and choose which actions it may use. With “Ask before taking actions” on (the default for new assistants), nothing is booked or sent until the visitor confirms.

What if the AI is down?

If a model is busy, the next one answers. If no answer comes at all, the visitor's question is kept in your dashboard so you can follow up.