How to add an AI chatbot to your website, step by step
You can put an AI chatbot on your website in about five minutes without writing code. This guide uses NochBot: you point it at your site, it learns your pages, and you paste a single script tag.
What you get
Why one script tag is enough
The script loads the chat button and the conversation window. All the work of searching your content and writing the answer happens on NochBot servers, so your website stays fast and simple.
Where the script goes
Paste it just before the closing body tag of your pages, or into the "custom code" or "footer scripts" box of your website builder or theme.
The same script adds bookings
If you create events in NochBot, the same script lets visitors register and pay from your page.
Before you start
You need three things: a NochBot account, a website whose pages contain the information visitors ask about, and a place on your site where you can paste a script. If your pages show hours or prices only as images, add the same details as text first, because the assistant can only answer from text it can read.
Where to paste the script on common platforms
WordPress: add the script to your theme footer file, or use a header and footer plugin so it survives theme updates. Shopify: edit the theme layout file and paste the script just before the closing body tag. Website builders such as Wix, Squarespace and Webflow: look for a custom code or embed area in the site settings. Some builders only allow custom scripts on paid plans, so check yours. Plain HTML sites: paste the line before the closing body tag of every page where the chat should appear.
If the chat button does not appear
First clear your browser cache and reload, because many hosts and plugins cache pages. Check that the script was saved on the page and that your user id is correct. If your site sends a Content Security Policy header, it must allow scripts from nochbot.space. Some ad blockers hide chat widgets, so test in a private window. Open the browser console: a blocked or failed script usually leaves a clear error message.
After it is live
Watch the conversation history for a week. Questions the assistant could not answer show you which information is missing from your site. Add it to a page and run the crawl again. If you change prices or opening hours, re-crawl so the assistant stays accurate.
How it works
- 1
Create an account
Sign up with Google, or with your email and confirm it with a one-time code.
- 2
Let NochBot read your site
Enter your website address on the dashboard. NochBot crawls your pages and prepares them for questions.
- 3
Test the answers
Ask questions your customers ask. If an answer is wrong, the page is usually missing the information.
- 4
Style the widget
Choose colours and the opening message.
- 5
Copy the embed code
On the Embed page, copy the script. It looks like a script tag with your account id: <script src="https://nochbot.space/embed.js" data-user-id="YOUR_ID" defer></script>.
- 6
Paste it on your site and publish
Reload your site. The chat button should appear in the corner.
Who it is for
WordPress and custom themes
Add the script in your theme footer or a header and footer plugin.
Website builders
Use the custom code or embed area if your plan allows custom scripts.
Hand-coded sites
Paste the line before the closing body tag.
Good to know
- Your website builder must allow custom scripts. Some free builder plans block them.
- The chat button needs the script to load, so ad blockers that block unknown scripts may hide it for some visitors.
- Re-run the crawl after big content changes so answers stay current.
Frequently asked questions
- Can I add a chatbot to my website for free?
- Yes, NochBot has a free plan. You can try it on a real site before choosing a paid plan.
- Do I need a developer?
- Not for most sites. If you can paste text into a custom code box, you can add the chatbot.
- Will the chatbot slow down my website?
- The script is loaded with defer so it does not block the page from showing.
- Can I remove the chatbot later?
- Yes. Delete the script tag from your site and the chat button disappears.
- Does it work on mobile?
- Yes. The widget is built for phones and desktops.
Pricing
Scale with NOCHBOT
Stop using rigid, expensive tools. We built our pricing around modern teams, so you can focus on building intelligent user experiences.
For growing products
- 10 chatbots
- 10,000 messages/month
- Unlimited crawls
- RAG vector search
- Analytics dashboard
- Custom bot icon + theme
- Priority support (24h)
- API access
- 3 chatbots
- 1,000 messages/month
- 5 website crawls
- Remove Nochq branding
- Custom bot name + color
- Email support (48h)
- 1 chatbot
- 100 messages/month
- 1 website crawl
- Nochq branding on widget
- Community support
- Unlimited chatbots & messages
- Dedicated MongoDB Atlas vector storage
- On-premise option
- SSO + SAML auth
- Dedicated success manager
- White-label option
Try NochBot on your own content
Start on the free plan. Upgrade only when you need higher limits.
