← Setup guides

How to add a chatbot to your Hostinger website

A chatbot on a site made with Hostinger's website builder, now called Hostinger AI Builder, needs one line of code. In manual mode, the Custom code field under Integrations adds it to your whole site, and Hostinger moves script tags to the end of each page for you.

Before you start

Steps to add your Hostinger chatbot

  1. Sign in, open your assistant's Widget page and copy the one line of code shown there. It starts with <script and ends with </script>.
  2. Open your site in the builder and click More (the ⋯ button), then Integrations.
  3. Paste your code into the Custom code field. If there's code there already, paste yours on a new line below it, never in the middle of another snippet.
  4. Save your changes, then update your website. Hostinger only adds new code to your live site when you update it.
  5. Open your website in a new tab and look for the chat bubble in the bottom-right corner, or bottom-left if you've moved it in Settings. Your Widget page shows "Live on your site" once it has been seen there.

If the chat doesn't appear

Hostinger re-sorts the code you add. If the bubble doesn't show once your site is updated, swap your line for this one, with your agent ID (Copy agent ID, on your Widget page) in place of YOUR-AGENT-ID. It's the same chat, with your ID in the address instead of a data-business-id attribute.

<script src="https://app.chatlume.co/widget.js?id=YOUR-AGENT-ID" async></script>

Platform steps checked on November 13, 2026 against Hostinger Help: How to integrate custom code in manual mode

Good to know

Can't edit your website?

Every assistant has its own chat page. Link to it from your website's menu, your Google Business Profile, social media or email signature. Or use "Email this to my web person" on your Widget page to send the code to whoever runs your site.

Questions

How do I add a chatbot to Hostinger Website Builder?

Paste the one line from your Widget page into Custom code, under More, then Integrations, and update your site. It then loads on every page. The chat widget page shows what your visitors will see.

Should I use Custom code or the Embed code element?

Custom code. It adds the chat to every page of your site. Hostinger's Embed code element puts code in one place on one page, which is for things like a booking calendar.

Why can't I see the chat in the Hostinger editor?

Hostinger doesn't run custom code in the editor. Open the preview or your live site after updating it, and look for the bubble there.

Try it on your own website

Your customers are asking right now

Paste your website and see your assistant answer as your business. It takes about a minute.

  • No account needed
  • No card
  • Free plan forever

Want the details first? See pricing