@klyro/widget 1.1.5 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +18 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -10,6 +10,24 @@ npm install @klyro/widget
10
10
 
11
11
  ---
12
12
 
13
+ ## Obtaining Your Widget Key
14
+
15
+ To use the widget, follow these steps in your Klyro dashboard:
16
+
17
+ 1. **Add Knowledge**:
18
+ - Log in to your dashboard at [https://klyro-pro.vercel.app/](https://klyro-pro.vercel.app/).
19
+ - Navigate to the **Knowledge Base** tab.
20
+ - Upload documents (PDFs, TXT) or add text. This is the data your AI will use to answer visitor questions.
21
+ 2. **Define AI Persona**:
22
+ - Go to the **AI Persona** tab.
23
+ - Customize your bot's identity, communication style (e.g., professional, casual), and specific traits. This defines _how_ your bot speaks.
24
+ 3. **Customize UI & Retrieve Key**:
25
+ - Navigate to the **Integrations** tab.
26
+ - Click the **Settings icon** (⚙️) on your widget card to customize the **Primary Color**, **Greeting Message**, **Theme**, and **Position**.
27
+ - Once saved, your unique **Widget Key** will be visible in the "Installation Code" section of this tab.
28
+
29
+ ---
30
+
13
31
  ## Usage
14
32
 
15
33
  ### 1. React / Next.js (Recommended)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@klyro/widget",
3
- "version": "1.1.5",
3
+ "version": "2.0.0",
4
4
  "description": "Klyro Chat Widget - An AI-powered chat widget for your website.",
5
5
  "main": "dist/index.js",
6
6
  "types": "index.d.ts",