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
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
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.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.
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.