Skip to content
Impulse SoftwareDOCS
Get modules

Impulse AI Assistant

Verified for Impulse AI Assistant 2.1.0 ·

Client area, themes & website embeds

Impulse AI Assistant separates signed-in WHMCS client-area support from anonymous public website embeds. Each transport has its own security boundary, appearance settings, and rate limits.

Open Assistant to configure how signed-in customers interact with the assistant inside your WHMCS client area:

  • Floating launcher & full page: Choose Automatic (floating button injected via ClientAreaFooterOutput), Manual (render the launcher only when opened by your own theme trigger), or Off. Signed-in customers can also use the dedicated full-page route at index.php?m=impulseassistant.
  • Safe client-side Markdown: Answers render bold, italic, ordered/unordered lists, inline code, and fenced code blocks with one-click Copy buttons (ideal for DNS records and CLI commands) using pure DOM construction — zero innerHTML, zero raw HTML injection, and clickable links restricted strictly to locally validated citation cards.
  • Progressive SSE streaming: ia_action=message_stream streams live stage indicators and verified answer deltas once citations pass local trust-ledger validation, automatically falling back to non-streaming JSON behind buffering proxies or CDNs.
  • One-click Brand Voice templates & starter prompts: Apply one of three ready-made templates (Friendly cloud host, Enterprise managed ops, or Concise developer docs) in Assistant to populate your Brand Voice and 4 starter prompts in one click, or customize up to 4 clickable starter prompt chips and up to 600 characters of Brand Voice & Company Context guidance injected inside a non-authoritative prompt fence that cannot override security or citation rules.
  • Proactive page-aware context: The launcher automatically detects which WHMCS client-area section the customer is viewing using a strictly allowlisted token (invoices, domains, services, tickets, knowledgebase, or security — never raw URLs, query strings, or PII) to surface relevant starter prompts and context hints.
  • Customer feedback & privacy deletion: Signed-in customers can rate replies thumbs up or thumbs down (with optional reason chips) and delete their own conversation history at any time.

Impulse AI Assistant signed-in WHMCS client-area chat showing safe Markdown formatting with a copyable nameserver code block, locally validated source citation card, Helpful feedback controls, and a single-use action confirmation card

  • Palettes & colour modes: Pick from five accessible built-in palettes (Impulse, Ocean, Emerald, Rose, Slate) or a Custom six-digit hex accent (automatically contrast-adjusted for WCAG AA readability), paired with Follow portal, Light, or Dark mode. Preview unsaved appearance tweaks live in the admin preview before publishing.
  • Controlled rollout: Restrict access to up to 250 specific WHMCS client IDs in Controlled beta mode, or switch to All signed-in customers with an explicit confirmation gate. Audience enforcement runs at the launcher, full page, JSON/SSE API, and orchestrator layers.

All client-area CSS rules are strictly scoped under .impulseassistant / .impulseassistant-page with zero external CDN dependencies:

Theme Status Dark / Light detection
Impulse Templates (impulse) Certified Automatic via html[data-theme="dark"] or explicit Light/Dark override
WHMCS Twenty-One (twenty-one) Certified Automatic via html[data-bs-theme="dark"] / .dark or explicit override
WHMCS Six (six) Compatible Uses standard ClientAreaFooterOutput; explicit Light/Dark recommended
Lagom & custom Bootstrap/Tailwind themes Compatible Detects data-theme="dark", data-bs-theme="dark", html.dark, and .dark

Keep the launcher in Manual mode to bind your own header or help-menu buttons without touching internal endpoints:

<button type="button" data-ia-trigger="open">Ask Support AI</button>
<button type="button" data-ia-trigger="toggle">Toggle Assistant</button>

You can also control the same-origin launcher programmatically via window.ImpulseAssistant.v1 (open(), close(), toggle(), isReady()) or the local PHP ImpulseAssistant\Client\EmbedV1 helper for WHMCS addons and hooks.

3. Public Website Embed v2 (marketing & docs sites)

Section titled “3. Public Website Embed v2 (marketing & docs sites)”

Open Websites to publish an anonymous, public-knowledge-only assistant on up to 20 operator-owned websites (such as your marketing site or external docs portal):

  1. Add a website draft with its exact production https:// origin (exact scheme, hostname, and port — www and apex domains are distinct).
  2. Verify origin ownership by placing the generated verification file at the shown .well-known path and clicking Verify origin.
  3. Choose public knowledge sources & appearance — select only approved public sources for that site, set its welcome message and support URL, and configure independent per-site daily, per-minute, per-visitor-address, and monthly spend guards.
  4. Publish & embed — copy the generated snippet and exact Content Security Policy (script-src, frame-src, connect-src) directives onto your site.