When integrating Kayako messenger to your website, by default it will use the embedded chat icon to open and close. Anchors and Kayako methods can be used if you need to use something else like the text to open the messenger. This article provides information on how to use these anchors and Kayako Methods.
The methods to use for this open Kayako:
Check out a live example on CodePen on the usage of buttons to maximize and minimize Kayako messenger.
To know more details about method usage, check the Kayako Methods page.