How to Add Asyntai AI Chatbot to Question2Answer
Step-by-step guide for Question2Answer (Q2A) sites
The free Asyntai plugin puts the AI chatbot on every page of your Question2Answer (Q2A) site. The chatbot answers visitor questions from your own pages, 24/7, in more than 80 languages, so visitors get help before they post a new question. It needs no theme edit and it changes no core file. It works on Q2A 1.8.
Step 1: Install the plugin
- Download the plugin: asyntai-ai-chatbot-q2a.zip
- Unzip the file. You get one folder named
asyntai-ai-chatbot. - Upload this folder into the
qa-pluginfolder of your Q2A site, with FTP or the file manager of your hosting. The result isqa-plugin/asyntai-ai-chatbot/qa-plugin.php. - Log in to your Q2A site as the super administrator and open Admin > Plugins.
- Find Asyntai AI Chatbot, tick Enabled and click Save Options at the bottom of the page.
Step 2: Enter your Widget ID
Your Widget ID is in your Asyntai Dashboard, under "Embed Code". It looks like asyntai_1a2b3c4d5e6f.
- On Admin > Plugins, click options in the Asyntai AI Chatbot box.
- Paste your Widget ID into the Widget ID field. You can also paste the whole embed code: the plugin takes the ID from it.
- Make sure Show the chatbot on the site is ticked.
- Click Save Changes. The status line now says The chatbot shows on your site.
Note: Nothing loads until you enter a valid Widget ID. Use your own ID, not the one in the example.
Plugin settings
- Widget ID: Your own Asyntai Widget ID. Nothing loads without it.
- Show the chatbot on the site: Shows or hides the chatbot. It is ticked by default.
- Pages without the chatbot: Page types or paths, separated by commas, for example
ask, login, register. The chatbot does not load on these pages. Leave the field empty to load the chatbot on every page.
Tip: The chatbot never loads on the admin pages of your site. Your members and your visitors see it on all other pages, also when they are logged in.
Alternative: Add the code in the Layout settings
If you prefer not to use the plugin, you can add the embed code without any file upload:
- Open Admin > Layout.
- Tick Custom HTML at bottom of every page and paste your Asyntai embed code into the box:
<script>(function(){var l=function(){var s=document.createElement("script");s.src="https://widget.asyntai.com/static/js/chat-widget.js";s.async=true;s.setAttribute("data-asyntai-id","YOUR_WIDGET_ID");document.head.appendChild(s)};if(document.readyState==="complete"){l()}else{window.addEventListener("load",l)}})();</script> - Click Save Options.
Good to know: If the embed code is already in your Layout settings, the plugin does not add the chatbot a second time.
Step 3: Verify the installation
Open your site in a new tab or in a private window. The chat button is in the bottom corner. Click it and make sure it opens and answers.
Not seeing the chatbot? Check three things. The plugin is ticked as Enabled on Admin > Plugins. Show the chatbot on the site is ticked. The page you are on is not in the Pages without the chatbot list. Then clear your browser cache.
Uninstall
- Open Admin > Plugins, untick Enabled for Asyntai AI Chatbot and click Save Options.
- Delete the folder
qa-plugin/asyntai-ai-chatbotfrom your server. - No other site data is touched.
Weebly