In an earlier post I looked at how you can integrate your website/intranet with Live Chat and Microsoft Teams. How do you achieve this if your intranet is using Microsoft SharePoint Online and Modern Communications pages?
I won’t cover building your development environment in this post however as a starting point for the samples please take a look at the following link.
Having cloned the Client-Side web parts, built and packaged the Script Editor webpart using Node package manager and Yeoman you can deploy the script editor web part to your SharePoint site via the app catalog.
Once the webpart is available in the site it can be added to your modern pages.
If you would like more information about extending your modern communications sites in SharePoint Online then please get in touch.