This page is for WordPress site owners who want to add a chat widget without writing code. If
you are a developer building a custom integration, see the
drop-in widget guide instead.
Installation
1
Install the plugin
In your WordPress dashboard, go to Plugins → Add New Plugin. Search for
“Humain Kiosk”. Click Install Now, then Activate.
Alternatively, download the
Screenshot — installing from the WordPress plugin directory
Screenshot — installing from the WordPress plugin directory
Screenshot: Plugins → Add New → “Humain Kiosk” search result
.zip from the plugin page
and upload it via Plugins → Add New Plugin → Upload Plugin.2
Configure your credential
Go to Settings → Humain Kiosk. Paste your device credential token into the
Credential field and click Save settings.
Screenshot — entering your credential
Screenshot — entering your credential
Screenshot: Settings → Humain Kiosk → General tab → Credential field
You issue credentials from the Humain admin panel under Kiosk → Credentials → Issue new
credential. The token is shown only once — copy it before closing that page.
3
Configure the widget appearance
Click the Appearance tab in Settings → Humain Kiosk. Adjust:
- Position — bottom-right or bottom-left corner
- Theme — Light, Dark, or Auto (follows the visitor’s OS preference)
- Title — text shown in the widget header
- Primary colour — accent colour for the button and chat bubbles
- Initial message — greeting shown when the widget first opens
Screenshot — appearance settings with live preview
Screenshot — appearance settings with live preview
Screenshot: Settings → Humain Kiosk → Appearance tab with live preview
4
Embed the widget
The plugin offers two ways to embed the chat widget:If you want the widget to appear on every page without adding a shortcode, enable
Global embed in Settings → Humain Kiosk → General.
- Shortcode
- Gutenberg block
Add
You can also override settings per-instance:
[humain_kiosk] to any page, post, or widget area in the WordPress editor. The
floating chat button will appear only on pages that contain this shortcode.Screenshot — shortcode in the Classic editor
Screenshot — shortcode in the Classic editor
Screenshot: Classic editor with [humain_kiosk] shortcode
5
Test with sandbox mode
Before going live, enable Sandbox mode in Settings → Humain Kiosk → General. In
sandbox mode, conversations use stub AI responses — no LLM credits are consumed.Open your site, click the chat button, and send a test message. You should receive a
predictable sandbox response. Once you’re satisfied, uncheck Sandbox mode and save.
Screenshot — enabling sandbox mode
Screenshot — enabling sandbox mode
Screenshot: Settings → Humain Kiosk → General → Sandbox mode toggle
Advanced settings
Restricting the widget to specific pages
Restricting the widget to specific pages
By default, the widget appears on all pages when Global embed is enabled. To show it only
on specific pages:
- Disable Global embed in Settings → Humain Kiosk → General.
- Add the
[humain_kiosk]shortcode only to the pages where you want the chat button.
Custom CSS classes
Custom CSS classes
Even once that wiring is fixed, a class on the widget’s outer container won’t let you theme
the widget’s internals with
--hk-* custom properties (--hk-primary, --hk-radius, etc.).
The widget renders inside a shadow root that sets those variables directly from your
Appearance settings at mount time, so a :root- or ancestor-scoped --hk-primary
declaration is always overridden. For colour and shape, use the dedicated Primary color
field in Settings → Humain Kiosk → Appearance instead.PHP filter hooks (for developers)
PHP filter hooks (for developers)
The plugin exposes WordPress filter hooks for programmatic customisation:
humain_kiosk_widget_config — modify the widget configuration before it is rendered:humain_kiosk_session_metadata — attach custom metadata to each session (passed to
the Humain API and available in your action endpoints):WooCommerce integration
WooCommerce integration
When WooCommerce is active, the plugin automatically enables the WooCommerce integration
option in Settings → Humain Kiosk → Integrations. When enabled:
- On product pages, the current product name, SKU, and price are added to the session metadata so the AI can answer product-specific questions.
- On the cart and checkout pages, the cart contents and total are included in metadata.
- On the order confirmation page, the order number and status are included.