Kustomer.open()

Opens the chat widget.

👍

First, initialize chat fully

Kustomer Chat must finish initializing fully with Kustomer.start() before you can execute any additional Web SDK methods.

Tip: Call other methods inside the callback of Kustomer.start() to ensure Kustomer Chat always completes initialization before the code tries to run other methods.

To learn more, see Troubleshooting: Kustomer method calls won't execute.

Examples

We're provided some examples of how you can call Kustomer.open():

// Open the chat widget
Kustomer.open();


// Open the chat widget and run a callback after the widget opens
Kustomer.open(function () {
  console.log('Kustomer Chat Widget opened!');
});