How to Add Live Chat in Magento 2

One of the most crucial factors that determine your online store’s success is customer satisfaction. Keeping that in mind, one of the quickest ways to ensure that your customers are satisfied is by adding Live Chat for their assistance.

You may lose customers if their queries are left unanswered. Hence, the sooner you answer their queries via a Live Chat option, the more inclined they will be towards buying from your store.

If you have been stalling the idea of adding live chat to your ecommerce store, now is the best time to do it because the holiday season is nigh. So today I am going to teach you how to add Live Chat in Magento 2 and I will use the Magento 2 LiveChat extension for this demo.

Install Magento 2 LiveChat Extension Manually

Download the Magento 2 Live Chat extension and unzip the downloaded file into app/code directory of your store.

After unzipping, you will get the namespace and module name as magento-livechat-master. Rename them as LiveChat.

Your final directory structure will look like this:

Magento 2 livechat directory

Install Magento 2 LiveChat Extension via CLI

Connect your store with an SSH terminal and then go to the app from the root directory of your store and create code directory by using this command:

mkdir code

Now go to the app/code and create directory LiveChat by using this command:

mkdir LiveChat

Now go to app/code/LiveChat and run these commands:

wget https://github.com/livechat/magento-livechat/archive/master.zip

unzip master.zip

mv magento-livechat-master LiveChat

rm -rf master.zip

Run CLI Commands

After installing LiveChat extension with the method of your choice either manually or via CLI, you have to run some CLI commands in the root directory of your store:

Configure Live Chat

Go to Stores → Configuration from the admin panel of your store and Click on LiveChat under LIVECHAT.

Click on Live Chat

If you already have an account on LiveChat, then type in your email and click on Connect.

If you don’t have an account, click on Create LiveChat account.

connect live chat

All done! Just open your store and you will see the LiveChat extension installed and configured successfully.

livechat result

Final Words

Adding Live Chat feature to your Magento 2 store can generate more sales because the more satisfied your customers are, the more loyal they would be. After following this step by step guide, you should now be to able to add Live Chat in Magento 2

About Author

Syed Muneeb Ul Hasan is an expert in PHP and Magento, he prefers to educate users in implementing and learning Magento. When not working, he loves to watch cricket.