Skip to content

chetan-b-bigstep/javascript-chat-sdk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



CometChat Pro enables you to add voice, video & text chat for your website & app.

Platform Platform

Quick Start

This guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the Key Concepts guide.

Get your Application Keys

Signup for CometChat and then:

  1. Create a new app: Enter a name & hit the + button
  2. Head over to the API Keys section and click on the Create API Key button
  3. Enter a name and select the scope as Auth Only
  4. Now note the API Key and App ID

Add the CometChat Dependency

NPM

First, install via npm

npm install @cometchat-pro/[email protected] --save

Then, import the CometChat object wherever you want to use CometChat

import { CometChat } from "@cometchat-pro/chat" 

HTML (via CDN)

Include the CometChat Javascript library in your HTML code

<script type="text/javascript" src="https://unpkg.com/@cometchat-pro/[email protected]/CometChat.js"></script>

To learn more, please refer to our Documentation: Documentation

About

Javascript Chat SDK

Resources

License

Stars

Watchers

Forks

Packages

No packages published