Follow the steps below to add Skygear Chat to your app.
Follow the JS quick start guide to add Skygear Core to your app if you haven't.
There are 2 ways to do it. Either use CDN or import the npm package.
Add the following lines into the header of your HTML file right under the CDNs of the Skygear Core.
npm install --save skygear-chat
skygearchatin your JS file.
import skygearchat from 'skygear-chat';
Lastly, enable the chat module in your developer portal. It is in the plug-ins page.
Cool your are all set now.
You got the basic. Next, learn more about: