Prerequisites
- A VIZOCHOK tenant account with API keys (contact us or use the admin panel)
- A web page or storefront where you want to embed the widget
1
Get Your API Keys
Log into the VIZOCHOK Admin Panel and navigate to Settings > API Keys.You’ll need two keys:
- Public key (
pk_...), used in the widget, safe to expose in frontend code - Secret key (
sk_...), used for server-to-server API calls, keep this private
2
Install the Widget
Choose your preferred installation method:
3
Initialize the Widget
Add the following code to your page:
The
userId should be a stable identifier for the customer (e.g., their account ID). This enables per-user rate limiting and conversation history.4
Upload Your Product Catalog
The AI assistant needs product data to search and recommend products. Upload your catalog using the REST API:For full details on catalog format and bulk uploads, see the Catalog Upload guide.
Without a catalog, the assistant will respond with “no catalog data available” when users ask about products.
5
Test It Out
Open your page in a browser. You should see the VIZOCHOK chat button in the bottom-right corner.Click it and try asking:
- “What milk do you have?”
- “Find me something for breakfast”
- “Add 2 bottles of water to my cart”
What’s Next?
Upload Your Catalog
Load your product data so the AI can search and recommend products.
Set Up Webhooks
Connect your backend for real-time prices, stock, and cart operations.
Customize the Widget
Match the widget’s look and feel to your brand.
Widget Configuration
Explore all available configuration options.