Wordpress
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 expose your AI Assistant in WordPress in the form of a chatbot widget, 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
Install
Go to the QAnswer plugin page directly or go to the Plugins page your WordPress website and type qanswer
in the search bar.
Click the Install button to install the plugin.
Setup
In the "Settings" section of your dashboard, in the new "QAnswer" section, enter name of your AI Assistant
as the dataset name and your Qanswer username
as the username. Click the Save button.
Check
Navigate to your WordPress website. If everything was done correctly, the QAnswer chatbot should now be visible on your site. You can also right-click and select View Page Source or use browser developer tools (usually accessed by pressing F12) to check the page's source and ensure your code has been added correctly.