Skip to main content
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.
The Humain Kiosk WordPress plugin installs a floating chat widget on your site. You configure it from the WordPress admin panel — no theme edits, no code, no build tools.

Installation

1

Install the plugin

In your WordPress dashboard, go to Plugins → Add New Plugin. Search for “Humain Kiosk”. Click Install Now, then Activate.
Screenshot: Plugins → Add New → “Humain Kiosk” search result
Alternatively, download the .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: 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
The preview on the right updates live as you change settings.
Screenshot: Settings → Humain Kiosk → Appearance tab with live preview
4

Embed the widget

The plugin offers two ways to embed the chat widget:
Add [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: Classic editor with [humain_kiosk] shortcode
You can also override settings per-instance:
If you want the widget to appear on every page without adding a shortcode, enable Global embed in Settings → Humain Kiosk → General.
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: Settings → Humain Kiosk → General → Sandbox mode toggle

Advanced settings

By default, the widget appears on all pages when Global embed is enabled. To show it only on specific pages:
  1. Disable Global embed in Settings → Humain Kiosk → General.
  2. Add the [humain_kiosk] shortcode only to the pages where you want the chat button.
Alternatively, use the Page rules setting to specify a list of page IDs or URL patterns where the widget should appear or be hidden.
The Custom CSS class field currently has no visible effect. The plugin sanitises the value and passes it through to the widget script as customClass, but the installed version of kiosk-js doesn’t read that property anywhere — it isn’t applied to the widget’s container or to anything inside it. Setting this field does not change the widget’s appearance today.
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.
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):
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.
Your kiosk’s knowledge base and action endpoints can use this metadata to give contextual answers like “Yes, this item is in stock” or “Your order #1234 is being prepared.”No additional configuration is required — enable the toggle and the metadata flows automatically.