This guide provides step-by-step instructions on how to install the GoAI EAA 2025 module in Magento 2, configure the script, and ensure it works correctly on your store's frontend.
You can install the module using two methods:
.zip
file) from GoAI or the GoAI AIA panel.Extract the .
zip
file to your computer.
Upload the extracted folder to the following directory in your Magento 2 installation:
app/code/GoAI/EAA2025
Open a terminal and navigate to the root directory of your Magento 2 installation.
Run the following commands:
php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy -f
Clear the cache with:
php bin/magento cache:flush
Navigate to your Magento 2 root directory in your terminal:
cd /path/to/your/magento2
Add the GoAI repository to your composer.json
file by including the following entry under "repositories"
:
{
"repositories": [
{
"type": "composer",
"url": "https://ai-repo.gomage.com"
}
]
}
Alternatively, you can use this Composer command to add the repository directly:
composer config repositories.goai composer https://ai-repo.gomage.com
Run the following Composer command to install the module:
composer require goai/eaa2025
After installing the module via Composer, run these 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
Visit the GoAI AIA Panel:
https://aia.gomage.com/
Log in with your credentials.
Generate your unique clientUid
and customize the following parameters:
#2cac2c
).#4b2a2a
).bottom-left
, bottom-right
, top-left
, top-right
).Copy the generated script URL, for example:
bash
Copy code
https://aia.gomage.com/js/eaa.min.js?clientUid=dbljpvsyb&buttonColor=#2cac2c&bgColor=#4b2a2a&position=bottom-left
Log in to the Magento 2 Admin Panel.
Go to Stores → Configuration.
In the left menu, find the GoAI tab and select it.
Open the section labeled EAA 2025.
In the Settings group, locate the Script URL field.
Paste the script URL you generated, for example:
https://aia.gomage.com/js/eaa.min.js?clientUid=dbljpvsyb&buttonColor=#2cac2c&bgColor=#4b2a2a&position=bottom-left
Click Save Config to save your changes.
clientUid
: Ensure it matches the one generated in the GoAI AIA panel.You have successfully installed and configured the GoAI EAA 2025 module in Magento 2!