ChatKitty
Search…
Setting up a ChatKitty project
The basics. Create a ChatKitty project, then install and configure the ChatKitty client.

Creating a ChatKitty project

You'll need a ChatKitty account before you can begin building chat with ChatKitty.
Once you've created a ChatKitty account, create an application for your project:
Create an application for your project

Installing the ChatKitty JS SDK

To use the ChatKitty JavaScript Chat SDK, you'll need to add the ChatKitty JavaScript SDK NPM package to your JavaScript front-end project:
NPM
Yarn
1
npm install chatkitty
Copied!
1
yarn add chatkitty
Copied!
Next, you'll need to configure the ChatKitty SDK with your ChatKitty API key. You can find your API key on the ChatKitty dashboard, in the "Settings" page.
From the ChatKitty dashboard
Copy the string value under "API Key", you'll need it to initialize a ChatKitty client instance:
Unique string used to identify your project

Initializing the ChatKitty SDK with your API key

With your API key from the ChatKitty dashboard, you can initialize a new instance of the ChatKitty client:
1
import ChatKitty from 'chatkitty';
2
3
export const kitty = ChatKitty.getInstance('YOUR CHATKITTY API KEY HERE');
Copied!
With that, you can now use the ChatKitty SDK to begin building real-time chat features into your application.
Last modified 12d ago