This guide will help you install the GoAI ChatBot module in Magento 2, enable it, and configure the external chatbot script via the admin panel.
1.1. Download the Module
Obtain the .zip
archive from GoAI.
1.2. Upload to Magento
Extract the archive and place the contents into:
app/code/GoAI/ChatBot
1.3. Run Magento Setup Commands
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush
2.1. Add the GoAI Repository
composer config repositories.goai composer https://ai-repo.gomage.com
2.2. Require the Module
composer require goai/chatbot
2.3. Run Setup Commands
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush
Go to Stores → Configuration
In the left menu, find the GoAI tab
Click on ChatBot
In the Settings group:
Set Enable to Yes
to activate the module.
In the Script URL field, paste your chatbot script URL, for example:
https://aia.gomage.com/js/ChatBot.js?clientUid=45345345&apiPoint=https://aia.gomage.com/api/data/ai_chat_bot&buttonColor=#000000&bgColor=#ffffff&position=bottom-right&socketUrl=http://aia.gomage.com:8081
💡 You can generate this script via the GoAI Dashboard: https://aia.gomage.com
Click Save Config
Go to System → Cache Management and click Flush Magento Cache
Open your store’s frontend
Confirm that the chatbot button appears in the correct position (e.g., bottom-right
) with the configured colors
Click the button and test its interaction
Issue | Solution |
---|---|
ChatBot does not appear | Make sure the module is enabled and the script URL is correct |
Changes don’t reflect | Clear Magento cache and browser cache |
Script not loading | Check browser developer console (Dev Tools → Console) for errors |
✅ All done! You have successfully installed and configured the GoAI ChatBot Module for Magento2