Joomla
If you're following this section, you must have added some data in your Ai Assistant according to Data Sources Section and you tested you assistant in AI Task Section.
To have a chatbot over your AI Assistant in your Joomla website follow these steps.
Make public
Choose access type : you have to make it public.
If you decide to restrict access you will need to generate an API key for the integration of the widget.
- Acces
- Acces Public
- API Key
Customize your widget and save it.
Install Sourcerer
In order to add the chatbot code to your Joomla website, you need to install the Sourcerer plugin.
To do this, go to your Joomla Administrator page (usually at https://yoursite/administrator/index.php) and then go to System > Install > Extensions.
In the search bar just type "Sourcerer" and install the plugin.
Add custom module
- In your Joomla Administrator menu bar, go to Content > Site Modules.
- Click on New and then select Custom from the list.
- Fill the Title field with something like "QAnswer chatbot".
- In the Module tab, in the editor, select Code mode.
- In the Code tab, paste the provided script (in Qanswer) and click Insert.
Module settings
- On the right, disable the Title visbility to "Hide".
- Select any Position other than ":: None ::".
- Click on Save & Close.
Check your website
Just go to your website to check if the chatbot widget is working. Enjoy!