install live chat on website
ART-2059_KNOWLEDGE_NODE-9
App.js.\n\n1 useEffect ( () => {\n2 window. plugSDK. init ({\n3 // Please ensure you replace the app_id with your unique app id\n4 app_id : "<your_unique_app_id>" ,\n5 });\n6 }, []);\n\nYou should now have PLuG chat widget installed on your website. Facing some issues? Reach out to us through our own PLuG chat widget from the bottom right of your screen.\n\nOnce the widget is installed on your website, every user who visits your website is considered an anonymous user. Anonymous users are the
Install PLuG chat on your website
ART-2059_KNOWLEDGE_NODE-6
to the Customize documentation.\n\nAlternatively, for the most comprehensive customizations, refer to our SDK functions here.\n\nIntegration code.\n\nTo get the PLuG chat widget to appear on your website and web app, copy and paste the snippet below on every page where you want the widget to appear for website visitors.\n\nUnique app ID.\n\nMake sure to replace the app ID with your app ID which identifies your PLuG chat widget. You can access your app ID from your DevRev account by following
Install PLuG chat on your website
ART-2893_KNOWLEDGE_NODE-0
b'[](/public/sdks/web/installation)\n\nPublic\n\nOn this page\n\n  * [Getting your unique app ID](/public/sdks/web/installation#getting-your-unique-app-id)\n\n[SDKs](/public/sdks)[PLuG Web SDK](/public/sdks/web/installation)\n\n#\n\nInstall the Web SDK\n\nTo 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.\n\n## Getting your unique app
Install the Web SDK — DevRev | Docs
ART-2059_KNOWLEDGE_NODE-8
window.plugSDK.init({\n3 // Please ensure you replace the app_id with your unique app id\n4 app_id: "<your_unique_app_id>",\n5 });\n6 </ script >\nSetup for React.\n\nPlace this in public/index.html file, inside the body tag of your HTML page.\n\n1 <script\n2 type= "text/javascript"\n3 src= "https://plug-platform.devrev.ai/static/plug.js"\n4 ></script>;\n\nPlace this code inside the react component where you want to render the chat widget. Typically you should do it as top level component like
Install PLuG chat on your website
ART-15504_KNOWLEDGE_NODE-1
is installed, the chat widget appears by default.\n\nGetting your unique app ID\n--------------------------\n\nYou can access your app ID from your DevRev account by following these steps:\n\n1. In DevRev, go to **Settings > Support > Plug Settings** via the settings icon in the top-left corner.\n2. If the Plug feature is not already enabled, click **Enable Plug**.\n3. Under the **Configuration** tab, copy the **Unique App ID**.\n\n###### Setup\n\n###### Setup for React\n\nPlace the following
Install the Web SDK | DevRev | Docs
ART-15504_KNOWLEDGE_NODE-4
[identify your customers](/sdks/web/user-identity) and update their information.\n\n##### \n\nOnce 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`.\n\n```\n|  |\n| --- |\n| <script> |\n| window.plugSDK.init({ |\n| app_id: \'<your_unique_app_id>\', |\n| disable_plug_chat_window: true, |\n| }); |\n| </script> |\n```\n\nTo ensure
Install the Web SDK | DevRev | Docs
ART-15716_KNOWLEDGE_NODE-10
work perfectly in a mobile WebView\n\nSetting Up the PluG Widget on a Website\n\nGo to your DevRev workspace, open PluG settings, configure the widget, and copy the provided JavaScript snippet. Paste it before the closing tag in your website\xe2\x80\x99s HTML. Deploy your site and the widget should appear.\n\n[PLuG installation steps](https://developer.devrev.ai/public/sdks/web/installation)\n\nRenaming the \'DevRev Turing\' Chatbot - asked in slack channel\n\nTroubleshooting PluG AI
Support queries related playbook
ART-2897_KNOWLEDGE_NODE-4
our SDK, you can integrate our feature-rich widget, creating a dynamic and personalized user experience.\n\n## Initialize SDK\n\nTo get started with the PLuG SDK on your website, call the `init()` method. This method is essential for enabling the SDK\xe2\x80\x99s functionality, including session recording, the chat widget, and the search agent. Initialization is required before you can perform any other actions using the PLuG SDK.\n\n[code]\n\n    1| useEffect(() => {  \n    ---|---  \n    2|
Methods — DevRev | Docs
ART-1270_KNOWLEDGE_NODE-2
{startConversationContent: \'Hi\',}); Start a conversation.\n\nplugSDK.prefillSearchQuery(query:"string") Prefill the search input of the search agent.\n\nInitialize chat.\n\nCalling the init() method initializes the PLuG chat widget on your website. Initializing the PLuG widget is necessary for you to perform any other actions on the PLuG widget SDK.\n\n1 useEffect ( () => { 2 window. plugSDK. init ( { 3 app_id : < your_unique_app_id > , 4 }); 5 }, []);\n\nWhen React is using Strict mode, you
Methods — DevRev | Docs
ART-1466_KNOWLEDGE_NODE-1
feature-rich widget, creating a dynamic and personalized user experience.\n\nInitialize SDK.\n\nTo get started with the PLuG SDK on your website, call the init() method. This method is essential for enabling the SDK\xe2\x80\x99s functionality, including session recording, the chat widget, and the search agent. Initialization is required before you can perform any other actions using the PLuG SDK.\n\n1 useEffect ( () => { 2 window. plugSDK. init ( { 3 app_id : < your_unique_app_id > , 4 }); 5 },
Methods — DevRev | Docs
ART-2893_KNOWLEDGE_NODE-2
2|   type="text/javascript"  \n    3|   src="https://plug-platform.devrev.ai/static/plug.js"  \n    4| ></script>\n[/code]  \n  \nPlace the following code in the `<body>` section of your HTML page:\n\n[code]\n\n    1| <script>  \n    ---|---  \n    2|   window.plugSDK.init({  \n    3|     // Please ensure you replace the app_id with your unique app id  \n    4|     app_id: "<your_unique_app_id>",  \n    5|   });  \n    6| </script>\n[/code]  \n  \nThe PLuG widget should now be installed on
Install the Web SDK — DevRev | Docs
ART-15509_KNOWLEDGE_NODE-3
experience.\n\nInitialize SDK\n--------------\n\nTo get started with the Plug SDK on your website, call the `init()` method. This method is essential for enabling the SDK\xe2\x80\x99s functionality, including session recording, the chat widget, and the search agent. Initialization is required before you can perform any other actions using the Plug SDK.\n\n```\n|  |  |\n| --- | --- |\n| 1 | useEffect(() => { |\n| 2 | window.plugSDK.init({ |\n| 3 | app_id: <your_unique_app_id>, |\n| 4 | }); |\n|
Methods | DevRev | Docs
ART-2059_KNOWLEDGE_NODE-7
these steps.\n\nIn DevRev, go to Settings. > Support. > PLuG Settings. through the settings icon in the top-left corner.\nClick Enable PLuG Widget. if it isn\'t already enabled.\nCopy your Unique App ID. from the Configuration tab..\nSetup for HTML.\n\nPlace this code in the head of your HTML page.\n\n1 //\n2 < script\n3 type = "text/javascript"\n4 src = "https://plug-platform.devrev.ai/static/plug.js"\n5 > </ script >\n\nPlace this code in the body of your HTML page.\n\n1 < script >\n2
Install PLuG chat on your website
ART-15504_KNOWLEDGE_NODE-2
code in the `<head>` section of your HTML page:\n\n```\n|  |  |\n| --- | --- |\n| 1 | <script |\n| 2 | type="text/javascript" |\n| 3 | src="https://plug-platform.devrev.ai/static/plug.js" |\n| 4 | ></script> |\n```\n\nPlace the following code in the `<body>` section of your HTML page:\n\n```\n|  |  |\n| --- | --- |\n| 1 | <script> |\n| 2 | window.plugSDK.init({ |\n| 3 | // Please ensure you replace the app_id with your unique app id |\n| 4 | app_id: "<your_unique_app_id>", |\n| 5 | }); |\n| 6 |
Install the Web SDK | DevRev | Docs
ART-2894_KNOWLEDGE_NODE-2
insert the code snippet provided below on every page where you want the widget to appear for website visitors.\n\n## Unique app ID\n\nEnsure to replace the app ID with your app ID which identifies your PLuG search widget. You can access your app ID from your DevRev account by following these steps.\n\n  1. In DevRev, go to **Settings** > **Support** > **PLuG Settings** through the settings icon in the top-left corner.\n  2. Click **Enable PLuG Widget** if it isn\xe2\x80\x99t already enabled.\n
Install PLuG search — DevRev | Docs
ART-2897_KNOWLEDGE_NODE-5
window.plugSDK.init({  \n    3|       app_id: <your_unique_app_id>,  \n    4|     });  \n    5|   }, []);\n[/code]  \n  \nThe `init()` method can accept multiple inputs, which are explained below:\n\nInput parameter| Description| Values  \n---|---|---  \n`app_id`| The unique identifier for your PLuG SDK. This parameter is required.| String  \n`disable_plug_chat_window`| The chat widget is enabled by default. Use this option if you want to disable the chat widget.| Boolean (True or False)
Methods — DevRev | Docs
ART-2895_KNOWLEDGE_NODE-12
their context.\n\n[code]\n\n    1| // You can generate this session token using the above API in your backend  \n    ---|---  \n    2| const sessionToken = \'<SESSION_TOKEN>\'  \n    3| <script type="text/javascript" src="https://plug-platform.devrev.ai/static/plug.js"></script>  \n    4| <script>  \n    5|     (() => {  \n    6|       window.plugSDK.init({  \n    7|         app_id: \'<your_unique_app_id>\',  \n    8|           session_token: sessionToken  \n    9|         })})();  \n    10|
Identify your users with PLuG — DevRev | Docs
ART-2050_KNOWLEDGE_NODE-26
on the [Maple Software website](https://maplesoftware.net/).\n\nThe best way to try out Plug is to experiment with it in the app. If you haven\xe2\x80\x99t yet created a DevRev account, you can do that on our [signup page](https://app.devrev.ai/signup?utm_source=docs).\n\nPlug capabilities\n-----------------\n\n### \xe2\x9a\x99\xef\xb8\x8f Widget\n\nThe [Plug widget SDK](https://developer.devrev.ai/public/sdks) integrates DevRev's customizable widget into websites, with
Computer for Your Customers | DevRev