make chat bot active on url
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-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-1466_KNOWLEDGE_NODE-23
} ) ; 7 } , []) ; Check widget status.\n\nUse isWidgetOpen to determine whether your chat widget is currently open or closed.\n\n1 window. plugSDK. isWidgetOpen\n\nThis returns true if the chat widget is open and false if it is closed.\n\nStart conversation.\n\nThe startConversationContent method opens the PLuG widget directly to the conversation creation view. It replicates the action of clicking the Send us a message. button, launching the widget to the conversation initiation screen.\n\nThis
Methods — 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-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-15509_KNOWLEDGE_NODE-11
widget.\n\nPassing `true` opens the chat widget.\n\nPassing `false` closes the chat widget.\n\n```\n|  |  |\n| --- | --- |\n| 1 | window.plugSDK.toggleWidget(true); |\n```\n\nCheck widget status\n-------------------\n\nUse `isWidgetOpen` to determine whether your chat widget is currently open or closed.\n\n```\n|  |  |\n| --- | --- |\n| 1 | window.plugSDK.isWidgetOpen |\n```\n\nThis returns `true` if the chat widget is open and `false` if it is closed.\n\nTake action from Plug chat
Methods | DevRev | Docs
ART-2897_KNOWLEDGE_NODE-15
here  \n    5|     }  \n    6|   });  \n    7| }, []);\n[/code]  \n  \n## Start conversation\n\nThe `startConversationContent` method opens the PLuG widget directly to the conversation creation view. It replicates the action of clicking the **Send us a message** button, launching the widget to the conversation initiation screen.\n\nThis method also accepts an optional input parameter to pre-fill a message on the conversation creation screen, providing your users with a prompt to start a
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-1270_KNOWLEDGE_NODE-9
utilized to open the PLuG widget with the conversation creation view activated. It essentially replicates the action of clicking the Send us a message. button, launching the widget directly to the conversation initiation screen.\n\nThe method also accepts an optional input parameter, allowing you to pre-fill a message in the conversation creation screen. This provides your users with a prompt to initiate a conversation with your team.\n\n1 plugSDK. toggleWidget ( true , \' create_conversation
Methods — DevRev | Docs
ART-2059_KNOWLEDGE_NODE-5
Jul 06 to Jul 19, 2023 Jun 20 to Jul 05, 2023 Jun 05 to Jun 19, 2023 May 22 to Jun 05, 2023 Apr 22 to May 22, 2023\n\nDeveloper DevRevU\n\nOn this page\nIntegration code Unique app ID Setup for HTML Setup for React\nInstall PLuG chat on your website.\n\nThere are two primary methods to customize PLuG chat. The easiest way is to do so through the app by navigating to Settings > Support > PLuG Settings > Configuration, Styling and Layout Tabs.. For detailed descriptions of the parameters, refer
Install PLuG chat on your website
ART-2897_KNOWLEDGE_NODE-12
PLuG chat widget.\n\nPassing `true` opens the chat widget.\n\nPassing `false` closes the chat widget.\n\n[code]\n\n    1| window.plugSDK.toggleWidget(true);  \n    ---|---\n[/code]  \n  \n## Check widget status\n\nUse `isWidgetOpen` to determine whether your chat widget is currently open or closed.\n\n[code]\n\n    1| window.plugSDK.isWidgetOpen  \n    ---|---\n[/code]  \n  \nThis returns `true` if the chat widget is open and `false` if it is closed.\n\n## Take action from PLuG chat
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-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-1270_KNOWLEDGE_NODE-1
widget.\n\nplugSDK.initSearchAgent() Initialize PLuG search agent.\n\nplugSDK.shutdown() End the user session which is currently initialized in PLuG widget.\n\nplugSDK.toggleWidget() Open/close the chat widget.\n\nplugSDK.toggleSearchAgent() Open/close the search agent.\n\nplugSDK.onEvent() Perform specific actions based on the payload type received from the PLuG widget.\n\nplugSDK.toggleTheme(\'light/dark\') Toggle PLuG widget theme.\n\nplugSDK.toggleWidget(true, \'create_conversation\',
Methods — DevRev | Docs
ART-2893_KNOWLEDGE_NODE-4
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[code]\n\n    <script>  \n    ---  \n        window.plugSDK.init({  \n            app_id: \'<your_unique_app_id>\',  \n            disable_plug_chat_window: true,  \n        });  \n    </script>\n[/code]  \n  \nTo ensure seamless
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-1270_KNOWLEDGE_NODE-0
b'Public\nOn this page\n\nMethods Initialize chat Initialize search Shutdown the widget Open or close the widget Take actions from events Toggle theme Start conversation\n\nSDKs PLuG SDK Methods.\n\nOur PLuG widget SDK is a powerful tool to further enhance our widget on your website or application. With our SDK, you are empowered to create a dynamic and personalized user experience. Let\xe2\x80\x99s get started.\n\nMethods.\n\nplugSDK.init() Initialize the PLuG chat
Methods — DevRev | Docs
ART-1466_KNOWLEDGE_NODE-21
widget.\n\n1 window. plugSDK. toggleWidget ( true ) ; Take action from PLuG chat events.\n\nThis method allows you to listen for events from the PLuG widget. Below are the available values for PAYLOAD_TYPE.\n\nON_PLUG_WIDGET_CLOSED : Triggered when the PLuG widget is closed.\nON_PLUG_WIDGET_OPENED : Triggered when the PLuG widget is opened.\nON_PLUG_WIDGET_READY : Triggered when the PLuG widget is ready.\nON_PLUG_WIDGET_UNREAD_COUNT_CHANGE : Triggered when the user receives a new message. You
Methods — DevRev | Docs
ART-10697_KNOWLEDGE_NODE-31
boosting engagement and reducing repetitive inquiries. To enable Plug, go to **Settings > Portal Settings**, activate Plug widget, and **Save** and **Publish**.\n\n![]()\xc2\xa0For more information about *Support App*, refer to the following articles: \xe2\x80\xa3 [Support snap-ins | Support](/docs/product/snapins-support) \xe2\x80\xa3 [Support best practices | Support](/docs/product/support-bp) \xe2\x80\xa3 [Support](/docs/product/support) \xe2\x80\xa3
February 2025 | Changelog | DevRev
ART-15509_KNOWLEDGE_NODE-4
5 | }, []); |\n```\n\nThe `init()` method can accept multiple inputs, which are explained below:\n\n| Input 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) |\n| `enable_default_launcher` | Show/hide the default Plug widget launcher. | Boolean
Methods | DevRev | Docs
ART-15509_KNOWLEDGE_NODE-14
//Your logic goes here |\n| 5 | } |\n| 6 | }); |\n| 7 | }, []); |\n```\n\nStart conversation\n------------------\n\nThe `startConversationContent` method opens the Plug widget directly to the conversation creation view. It replicates the action of clicking the **Send us a message** button, launching the widget to the conversation initiation screen.\n\nThis method also accepts an optional input parameter to pre-fill a message on the conversation creation screen, providing your users with a
Methods | DevRev | Docs