DocsWith UI

Chat bot UI SDK

Add a branded chat widget with greetings and JWT integration. This guide takes you from install to your first working call.

Before you start

You need a Worktual account, a topped-up SDK balance (from $50) and your key. You can read these docs without an account.

1. Install

Install
npm install @worktual/chat-ui

2. Add your key

Copy your key from the SDK setup page and pass it when you start the SDK.

3. Quick start

Quick start
import { WorktualChat } from "@worktual/chat-ui";

WorktualChat.init({
  key: "YOUR_KEY",
  greeting: "Hi, how can we help?"
});

Send a test message to check everything works.

Next in this guide