Install the Web SDK
To install the PLuG SDK on your website or web application, insert the code snippet provided below on every page where you want the SDK to be active. Once the SDK is installed, the chat widget appears by default.
Getting your unique app ID
You can access your app ID from your DevRev account by following these steps:
-
In DevRev, go to Settings > Support > PLuG Settings via the settings icon in the top-left corner.
-
If the PLuG feature is not already enabled, click Enable PLuG.
-
Under the Configuration tab, copy the Unique App ID.
Setup
Setup for React
Place the following code in the <head>
section of your HTML page:
Place the following code in the <body>
section of your HTML page:
The PLuG widget should now be installed on your website. If you experience any issues, you can reach out to us using our PLuG chat widget in the bottom right corner of your screen.
After the widget is installed on your website, every visitor is considered an anonymous user. Anonymous users are those who have not yet logged in or shared any personal information.
After integrating the PLuG widget, you can personalize and contextualize customer engagement. Learn how to identify your customers and update their information.
Once the SDK is installed, the chat widget appears by default. If you are not using the PLuG SDK for support or chat-related flows, you can disable the chat widget by setting the disable_plug_chat_window
input to true
.