Welcome to the GPT Chat extension documentation.
The GPT Chat extension is a chatbot for a Magento 2 store to keep your costs on customer support low. Use it for the following tasks:
The GPT Chat is a cost-effective solution that can handle a high volume of customer queries without incurring significant additional costs on hiring additional customer support staff.
With the chatbot handling the basic queries, the customer support team can then focus on more complex issues that require human intervention.
Firstly, please, find our extension in My Downloadable Products section of our store.
Learn how to install extension, and proceed with Quick Start, which will guide you to setup general rules.
php -f bin/magento module:enable Mirasvit_Core Mirasvit_Chat
to enable the extension.php -f bin/magento setup:upgrade
to install the extension.php -f bin/magento cache:clean
to clean the cache.php -f bin/magento config:set oauth/consumer/enable_integration_as_bearer 1
to enable integrations.Deploy static view files
rm -rf pub/static/*; rm -rf var/view_preprocessed/*; php -f bin/magento setup:static-content:deploy
Our GPT Chat extension is a simple yet powerful extension that requires just to add the data on your products. All general settings are predefined out-of-box.
The first things that you need to configure are:
This is enough to have a good start. Refer to corresponding sections of the manual to know more.
In your Magento admin navigate to Stores > Settings > Configuration > Mirasvit Extensions > GPT Chatbot > General Settings.
Activate the GPT Chatbot by setting:
On chat.mirasvit.com navigate to Settings > Widget
On chat.mirasvit.com navigate to Settings > ChatBot. Set the following:
general // all questions regarding our store, customer tickets, purchase conditions
On chat.mirasvit.com navigate to Documents > New Document. Provide here the data on your store and your products, services, customer support, etc.
Specify the following:
Run command php -f bin/magento config:set oauth/consumer/enable_integration_as_bearer 1
to enable integrations (if you have not run before).
Flush the Magento cache in order to get the Integrations menu in your Magento admin.
In your Magento admin navigate to Stores > Extensions > Integrations.
Activate the "Mirasvit Chat Integration":
On chat.mirasvit.com navigate to Settings > Widget and copy the script provided.
The script looks like the following:
<!--Start of Chat Script-->
<script src="https://chat.mirasvit.com/frontend/chat.js?ID=2dd11c-763a-4d78-b2ac-0ab153eea4" type="text/javascript" async="async"></script>
<!--End of Chat Script-->
Paste this script into the Magento frontend theme for the chatbot to be available on your store frontend.
In your Magento admin navigate to Content > Design > Configuration. Locate the line with the Default Store View and click Edit to modify your current frontend theme.
On this page locate the Other Settings and expand the HTML Head section. Place your script under the Scripts and Style Sheets input box. Click on the Save Configuration button.
Flush the Magento cache.
Reload your Magento store frontend page. A geen button of the chatbot should be present in the right bottom corner of the screen.
You can view the conversations the Chatbot had conducted.
On chat.mirasvit.com navigate to Settings > History. Select a session and click View.
To upgrade the extension, follow these steps:
Run command composer require mirasvit/module-chat:* --update-with-dependencies
to update current extension with all dependencies.
Run instead composer update mirasvit/*
command. It will update all Mirasvit modules installed in your store.
php -f bin/magento module:enable Mirasvit_Core Mirasvit_Chat
to re-enable extension.php -f bin/magento setup:upgrade
to install the updates.php -f bin/magento cache:clean
to clean the cache.Deploy static view files
rm -rf pub/static/*; rm -rf var/view_preprocessed/*; php -f bin/magento setup:static-content:deploy
To temporarily disable the extension please follow these steps:
php -f bin/magento module:disable Mirasvit_Chat
to disable the extension.To uninstall the extension, please follow these steps:
composer remove mirasvit/module-chat
to remove the extension.