← Setup guides

How to add a chatbot to your Joomla site

A Joomla chatbot or live chat needs one line of code and no extension. Joomla's template editor lets you add it to your site template's main file, index.php, so it loads on every page that uses that template.

Before you start

Steps to add your Joomla 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. In the Joomla administrator, go to System, then Site Templates in the Templates panel.
  3. Click the name of the template your site uses, in the Templates column.
  4. On the Editor tab, open index.php. Copy its contents somewhere safe first, as a backup.
  5. Paste your code just before the closing </body> tag, near the end of the file.
  6. Click Save & Close.
  7. 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.

Platform steps checked on November 13, 2026 against Joomla! Help: Templates: Customise

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

Is there a Joomla chatbot plugin for this?

No, and it doesn't need one. The one line in your template is the whole install, and it works with any template. The chat widget page shows what your visitors will see.

Does Joomla have a chatbot built in?

No. Joomla itself has no chatbot to switch on, so every Joomla chatbot or live chat is added with an extension or a line of code, as in the steps above.

Will a Joomla update remove the chat?

It can, if the update replaces your template's index.php. Look for the chat bubble after updating, and paste the line back if it's gone. A child template avoids this.

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