By Manual Code Injection
Install REVE chat plugin
An important note is that if any user has integrated to a previous version, they need to uninstall to proceed. Click here for a step by step guide.
Step 1: Enable maintenance mode
Start by enabling maintenance mode to restrict access to your website’s frontend by running the following command as the Magento file system owner inside the root directory of your Magento installation:
php bin/magento maintenance:enable
Step 2: Install the extension
Upload Revechat.zip file in /magento-root/app/code/ directory. If you do not have any code directory under the app folder, you have to create it using below command
cd /magento-root/app/
mkdir codeUnzip the Revechat.zip using the following command.
unzip Revechat.zip
After unzip revechat plugin will be available at- /magento-root/app/code/Revechat/Widget
We have to fix file folder permission for code directory using the below commands
cd /magento-root/app/
find code -type f -exec chmod 644 {} \;
find code -type d -exec chmod 755 {} \;
Step 3: Verify the extension has been installed
Run the following command magento root directory to verify the extension has been successfully installed:
php bin/magento module:status Revechat_WidgetBy default, the extension can be disabled:
Module is disabled
Step 4: Enable the Extension
php bin/magento module:enable Revechat_Widget --clear-static-content
Step 5: Register the extension
Finally to register the extension and complete the installation, you must run the following commands in your command line:
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
You can now clean the cache by running the following commands:
php bin/magento cache:cleanphp bin/magento cache:flush
Fix File permissions of var folder-
find var -type f -exec chmod 777 {} \; 
find var -type d -exec chmod 777 {} \;
php bin/magento cache:flushStep 6: Verify uninstallation
Verify the uninstallation has been successfully completed by running the following command:
bin/magento module:status Revechat_Widget
Step 7: Disable maintenance mode
Next, disable maintenance mode by running the following command:
bin/magento maintenance:disableStep 8: Configuring newly installed extension
Login to magento admin panel

Click ‘Reve chat’ menu from left sidebar, and then click ‘Account setup’

If you already have a REVE Chat account, please choose “Yes, I already have a REVE Chat account” and provide your email address. Otherwise, you can also choose “No, I want to create one” to create a new account. Click on the ‘Save Changes’ button.

Next, we have to provide integration access token to enable the shopping cart feature. Follow steps 9-19 to create your access token.

Click ‘System’, then ‘Integration’

Click ‘Add New Integration’

Give integration name

Click on ‘API’ and Select Resource Access ‘All’

Then click ‘Save and Activate’ from the dropdown

Click ‘Allow’

Click on ‘Done’

Integration is created.

Next, to get your access token click ‘edit icon’

Copy ‘Access Token’

Next, allow Oauth access tokens to be used as standalone bearer tokens. Got to Stores > Configuration > Services > OAuth > Consumer Settings > Allow OAuth Access Tokens to be used as standalone Bearer tokens option to Yes and save config.

Finally, Go to the REVE Chat plugin ‘Account Setup’ page again. And fill out the integration access token form. Then click ‘Save’, And that’s it! REVE Chat is successfully integrated with your magento shop.

Uninstall REVE chat plugin
Step 1: Enable maintenance mode
Start by enabling maintenance mode to restrict access to your website’s frontend by running the following command as the Magento file system owner inside the root directory of your Magento installation:
php bin/magento maintenance:enable
Step 2: Uninstall the extension
Next, disable the extension and clear previously generate static view files by running the following command:
php bin/magento module:disable Revechat_Widget --clear-static-content
If you have installed the plugin using composer then you have to remove it using composer.
run the following commands to uninstall the extension using Composer and update dependencies:
composer remove Revechat_Widget
php bin/magento setup:upgrade
php bin/magento setup:di:compileIf you manually installed the plugin in magento_root/app/code directory then you have to follow below commands
rm -rf magento_root/app/code/Revechat
php bin/magento setup:upgrade

php bin/magento setup:di:compile
php bin/magento setup:static-content:deployClear your Magento cache by running the following command:
bin/magento cache:flush
Step 3: Verify uninstallation
Verify the uninstallation has been successfully completed by running the following command:
bin/magento module:status Revechat_Widget
Step 4: Disable maintenance mode
Next, disable maintenance mode by running the following command:
bin/magento maintenance:disableFix File permissions of var folder.
find var -type f -exec chmod 777 {} \; 
find var -type d -exec chmod 777 {} \;
php bin/magento cache:flushFinally, open a web browser and verify that your website and admin panel are working as expected.
Last updated
Was this helpful?