Before you start
- A site made with Hostinger AI Builder, which Hostinger used to call Hostinger Website Builder.
- Your code from your assistant's Widget page.
Steps to add your Hostinger chatbot
- 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>.
- Open your site in the builder and click More (the ⋯ button), then Integrations.
- 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.
- Save your changes, then update your website. Hostinger only adds new code to your live site when you update it.
- 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
- The chat won't show inside the editor. Hostinger's help says custom code works in preview and on your live site only.
- In agentic mode, where you build by chatting with Hostinger's AI assistant, Hostinger's help says to tell the assistant what code to add and where. Ask it to add your one line just before </body> on every page.
- If your site breaks after adding code, Hostinger suggests removing every snippet from Custom code, updating, then adding them back one at a time.
- The chat only shows on your own domain and any you add under "Where it can appear" on your Widget page.
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.