{
    "componentChunkName": "component---src-templates-doc-page-js",
    "path": "/docs/en/channels/webim2.0/webim_2.0/",
    "result": {"data":{"site":{"siteMetadata":{"title":"Gatsby-doc-engine"}},"markdownRemark":{"id":"0ff7db0d-4d87-52d1-a0bb-645e23938ef6","excerpt":"Webim v2?> Webim is an online consulting platform. Multiple channels can be used for communication: chat on the site, messengers, social media, chat bots…","html":"<h1>Webim v2</h1>\n<hr>\n<p class='warn'><a href=https://webim.ru/ target=\"_blank\" rel=\"noopener noreferrer\">Webim</a> is an online consulting platform. Multiple channels can be used for communication: chat on the site, messengers, social media, chat bots, mobile applications and others. The platform also integrates with CRM and HelpDesk systems.</p>\n<p>Webim on the JAICP platform can be connected as either an <a href=\"/1.10.5/docs/en/channels/webim/webim\">incoming</a> or an <a href=\"/1.10.5/docs/en/operator_channels/webim/webim\">outgoing</a> channel. Connection of the Webim v2 channel is covered in this article. Bots can be enabled via <a href=\"https://webim.ru/kb/bots/external-api/15043-robot-external-api-2-0/\" target=\"_blank\" rel=\"noopener noreferrer\">External Bot API 2.0</a> for this channel.</p>\n</br>\n<h3>Webim v2 configuration</h3>\n<p>Sign in to the <a href=\"https://webim.ru/\" target=\"_blank\" rel=\"noopener noreferrer\">Webim platform</a> as administrator. Click <em>Settings</em> > <em>Bots</em> in the control panel.</p>\n<p>Start creating your new bot by specifying the following:</p>\n<ul>\n<li><em>Bot operator</em> — select the operator to assign the bot to. We recommend creating separate operators for bots.</li>\n<li><em>Bot type</em> — select <em>Smart bot</em></li>\n<li><em>Sort order</em> — defines the position of the bot in the bot list. The lower the number, the higher the priority.</li>\n<li><em>Status</em> — select bot status.</li>\n<li><em>Version</em> — select version <code class=\"language-text\">2</code>.</li>\n<li><em>External API reference</em> — specify <code class=\"language-text\">https://example.com</code>. You will need to replace this link after you connect the channel on the JAICP platform.</li>\n</ul>\n<p>Click <em>Save</em>. Copy the authorization token: you will need it when you create your channel in JAICP.</p>\n</br>\n<h3>Creating a channel</h3>\n<p>Click <em>Channels</em> > <em>Incoming</em> > <em>Create channel</em> on the control panel. Select <em>Webim v2</em> under <em>Others</em>.</p>\n<p>Fill out the following fields:</p>\n<ul>\n<li><em>Name</em> — specify a name for the channel or keep the default one.</li>\n<li><em>Access token</em> — paste the previously copied token.</li>\n<li><em>Email</em> — specify the email address of the Webim service administrator account.</li>\n<li><em>Password</em> — specify the password of the Webim service administrator account.</li>\n</ul>\n<p class='warn'>Administrator account credentials are only required to retrieve the list of operators.</p>\n<ul>\n<li><em>Domain</em> — specify the domain where the Webim service is being deployed. E.g., for <code class=\"language-text\">https://examplecom.webim.ru</code> the domain is <code class=\"language-text\">examplecom</code>.</li>\n<li><em>Whether to send <code class=\"language-text\">/start</code> at the start of a conversation</em>  — when enabled, the bot starts a conversation without waiting for a message from the client.</li>\n<li><em>Branch</em> — specify the project branch to be rolled out in the channel. The default setting is <code class=\"language-text\">master</code>.</li>\n<li><em>Deploy</em> — select <em>Automatic</em> (each time any change made to the project is saved) or <em>Manual</em> (using the <em>Publish</em> button in the channel description line).</li>\n</ul>\n<p class='tip'>Please note the <em>Deploy</em> radio button. You have to deploy a script before starting the chat bot. At this stage, the system builds the chat bot, checks scenario and script syntax and performs tests.</p>\n<p>Click <em>Create</em>. Wait for a pop-up window with the deploy result to appear.</p>\n<p>API Endpoint is generated after the channel is created. <a href=\"/1.10.5/docs/en/platform_ux/create-project#Edit-project\">Open the channel for editing</a> and copy the <em>API Endpoint</em> value. Then return to Webim and open the bot for editing. Replace the value of the <em>External API reference</em> with the API Endpoint you have copied.</p>\n</br>\n<h3>Testing a bot</h3>\n<p>Open the bot dialog window in the connected messenger and send a welcome/activating phrase to it according to your script. Then a dialogue with your bot should start.</p>","frontmatter":{"title":"","description":null},"headings":[{"value":"Webim v2"}]}},"pageContext":{"slug":"/docs/en/channels/webim2.0/webim_2.0/","previous":{"fields":{"slug":"/docs/en/channels/wechat/wechat/"},"frontmatter":{"title":"","description":null}},"next":{"fields":{"slug":"/docs/en/channels/webim/webim/"},"frontmatter":{"title":"","description":null}}}},
    "staticQueryHashes": ["1209419333"]}