Connect WooCommerce & WordPress
Connect your WooCommerce store with Kognit AI via the official WordPress.org plugin or REST API keys for 24/7 autonomous support, live cart sync, and real-time WISMO tracking.
On this page
- Method 1: Official WordPress Plugin (Recommended — 1-Click Handshake)
- Step 1: Install the Plugin
- Step 2: 1-Click Handshake
- Step 3: Instant Live Storefront
- Method 2: Connect Manually with REST API Keys (Alternative)
- Customer Identity & Session Recognition
- What Data Synchronizes
- Theme & Plugin Compatibility
- Requirements
- Troubleshooting & FAQ
Connect your WooCommerce store to Kognit AI to enable 24/7 autonomous customer support, instant order status tracking (WISMO), live cart recommendations, and seamless human agent handoff.
You can connect your store using either the Official WordPress Plugin (recommended, 1-click handshake) or Manual REST API Keys (for headless or custom setups).
Method 1: Official WordPress Plugin (Recommended — 1-Click Handshake)
The official Kognit for WooCommerce plugin is approved on WordPress.org and provides automatic 1-click handshake, storefront widget injection, and real-time cart intelligence without touching a single line of theme code.
Step 1: Install the Plugin
- In your WordPress Admin dashboard, navigate to Plugins → Add New.
- In the search bar, type
Kognit for WooCommerce. - Click Install Now, then click Activate. (Alternatively, download the
.zipfrom kognithq.com/downloads/kognit-for-woocommerce.zip or WordPress.org and upload it via Plugins → Add New → Upload Plugin).
Step 2: 1-Click Handshake
- In your WordPress sidebar, open WooCommerce → Kognit AI Helpdesk.
- Click the purple button: Connect with Kognit HQ (1-Click).
- Kognit authorizes your store and automatically exchanges your workspace's public key.
- You are redirected back to WordPress with a green "Connected & Active" status badge.
Step 3: Instant Live Storefront
Your 24/7 AI chat widget is now live on your WordPress store. It automatically inherits your store's branding and begins answering buyer questions immediately.
Method 2: Connect Manually with REST API Keys (Alternative)
If your WordPress admin is restricted or you are using headless WooCommerce, you can connect via standard WooCommerce REST API credentials:
- In WordPress, go to WooCommerce → Settings → Advanced → REST API.
- Click Add key.
- Set Description to
Kognit Helpdeskand choose an administrator account. - Set Permissions to Read/Write (or Read if only querying orders).
- Click Generate API key.
- Copy the Consumer Key (
ck_...) and Consumer Secret (cs_...). - In Kognit, go to Connections → WooCommerce → Connect Manually, enter your store URL and keys, and click Validate & Connect.
Customer Identity & Session Recognition
Kognit automatically handles both logged-in WordPress users and anonymous guest shoppers:
| Customer Type | How Identification Works | Capabilities |
|---|---|---|
| Logged-in Customers | The plugin securely passes current_user->user_email and display_name to the widget bridge. | AI greets them by name, instantly locates their past orders, and pulls their active cart items without asking for an email. |
| Guest Shoppers | Shoppers can browse and chat anonymously. | When asking "Where is my order?", the AI prompts for their Order # and Billing Email to look up status securely. |
What Data Synchronizes
- Product Catalog & Stock: SKU, title, price, variations, category tags, and inventory stock levels.
- Orders & Fulfillment (WISMO): Order number, payment status, fulfillment stage (Processing, Completed, On Hold), tracking numbers, and line items.
- Live Cart Intelligence: Current items in cart, quantity, and cart total (used for proactive coupons and shipping thresholds).
- Customer Profiles: Lifetime spend, order count, billing and shipping addresses.
Theme & Plugin Compatibility
The official plugin uses standard WooCommerce and WordPress action hooks (wp_footer), ensuring 100% compatibility with:
- Popular Themes: Astra, Flatsome, Storefront, Divi, OceanWP, Neve, GeneratePress, Kadence.
- Page Builders: Elementor, Beaver Builder, Gutenberg Block Editor, Bricks.
- Caching Plugins: WP Rocket, LiteSpeed Cache, W3 Total Cache, Cloudflare (widget script is non-blocking and deferred).
Requirements
- WordPress 5.8 or later (tested up to 7.1)
- WooCommerce 3.5 or later
- HTTPS enabled (valid SSL certificate)
- Pretty permalinks enabled in WordPress (Settings → Permalinks)
Troubleshooting & FAQ
| Symptom | Cause & Solution |
|---|---|
| Widget not visible on storefront | Ensure your theme triggers wp_footer(). Check WooCommerce → Kognit AI Helpdesk to verify the Public Key is filled. |
| 1-Click Handshake redirects with error | Ensure your WordPress site URL in Settings → General matches the domain in your browser bar. |
| Orders not showing in Customer 360 | If connected via manual keys, confirm the REST API key has Read permissions and that security plugins (Wordfence, Cloudflare) aren't blocking REST API calls (/wp-json/wc/v3/). |
| Cart items not detected by AI | Ensure the shopper has added at least one product to the WooCommerce cart in the current session. |