The Chatwee app comes along with its own dedicated framework and a set of classes contained within the ChatweeLib namespace object. To use Chatwee, you have to include the main script in your HTML document.
This is a constructor for the ChatweeManager object. It takes one parameter, which is the ID of a chat instance.
var chatId = "5817d4ba9da1fb0065000029";
var chatweeManager = new ChatweeLib.ChatweeManager(chatId);