Once you have access to the ChatEngineCore object, use the create() method to create a new instance of ChatEngine.
This function must be called before attempting to utilize any API functionality to establish account level credentials with your subscribeKey and publishKey.
ChatEngine = ChatEngineCore.create({
subscribeKey: 'mySubscribeKey',
publishKey: 'myPublishKey'
});