The widget exposes a small JavaScript API so you can open the chat from your own buttons, links or product tours instead of waiting for someone to click the launcher.
The API
Once the script is on the page it exposes three methods:
window.Chattering.open()— opens the chat panelwindow.Chattering.close()— closes itwindow.Chattering.toggle()— switches between the two
Safe to call early
Calls made before the widget finishes loading are queued and fire once it is ready, so you do not need to check whether it has loaded.
Example
const button = document.querySelector('#chat-with-us');
button.addEventListener('click', () => window.Chattering.open());
Give any button on your page the id chat-with-us and clicking it opens the chat.