Can I open the widget with a customer button?

Updated 4 months ago ​by Eelco Wiersma

The easiest way to do this is by adding an data-belco-action HTML attribute to the button you want to use to open the widget.

<a href="#" data-belco-action="chat">Chat with us</a>


You can also use our Javascript API for more control.

Belco('open');

More information about the Javascript API and all options can be found on our developer documentation.