Add Live Chat to SharePoint
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.
Now, click the 'Edit markup' button to customize your web part.
Finally, include your Live Chat code snippet. If you haven't yet signed up for a Live Chat free trial, you can set it up here. Once you've added the code snippet to your web part, you see the live chat icon available on your SharePoint communication site!