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.

You can create a free ChatKitty account here.

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 install chatkitty

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:

import ChatKitty from 'chatkitty';

export const kitty = ChatKitty.getInstance('YOUR CHATKITTY API KEY HERE');

With that, you can now use the ChatKitty SDK to begin building real-time chat features into your application.

Last updated