Embed Webex in Sharepoint

Now you can embed Webex chat right in your Sharepoint website.  In this article we show you how you can embed Live Chat for Webex in a SharePoint Modern Communication website.  By default SharePoint doesn't allow you to add a code snippet to your website and disables scripting in general.  We'll show you how to extend your SharePoint site to allow inline javascript code snippets so that you can embed your Webex Live Chat into SharePoint.

First, you can use the SharePoint Framework (SPfx) to extend your SharePoint pages with a Modern Script Editor web part.  This web part enables embedding of a JavaScript code snippet into your pages.  We aren't going to cover this step here, but there is a good guide on GitHub:   https://pnp.github.io/sp-dev-fx-webparts/gettingstarted/

Once you have cloned and packaged the Script Editor web part using Node package manager, you can deploy the script editor to your SharePoint site with the app catalog.

SharePoint Script Editor web part

Now, click the 'Edit markup' button to customize your web part.

SharePoint Modern Script Editor

Finally, include your Live Chat for Webex code snippet.  If you haven't add your Live Chat bot to Webex, you can see how to add Live Chat right to Webex here.

Once you've added the code snippet to your web part, you see the live chat icon available on your Microsoft SharePoint website.  Now when you start a chat, the chat request is sent directly to your Webex Space or to you as a Direct Message in Webex.

Have fun chatting with your Sharepoint visitors from Webex!