Open live chat by a call-to-action click

Hi

I would like to open the live chat windows when the visitors clicks on a -call-to-action box made using Visual Composer. The live chat I'm using is Chaport and the JS information is here: https://docs.chaport.com/api/js/v1/?javascript--cq#methods

Is there some easy way of implementing it?