Omnichannel Environment Setup
The RocketChat omnichannel feature provides a multi-channel environment for communication between companies and their customers.
Before you set up LiveChat, you are required to have the following installed on your device.
The Rocket.Chat LiveChat platform is developed with Preact. It is a minimal, lightweight application designed to facilitate B2C (Business-to-customer) communication between Agents and website visitors.
This setup is done assuming you have a Rocket.Chat server running. We will use a local instance at
http://localhost:3000for this guide.
To set up OmniChannel LiveChat,
git clone https://github.com/RocketChat/Rocket.Chat.git
- Navigate to the LiveChat folder in the cloned directory.
- Install dependencies by running
You can check the recommended version of node and yarn in the
package.jsonfile in the root directory.
- Build preact application to
/buildfolder after executing.
- In another terminal, run webpack with hot reload at
http://localhost:8080by executing this command:
- Open up the
widget-demo.htmlfile in your browser:
http://localhost:8080/widget-demo.html. You should see a page with the LiveChat initiation icon at the bottom right.