For the complete documentation index, see llms.txt. This page is also available as Markdown.

Installation

Add the Alhena chat widget to your website with a simple JavaScript snippet.

Example Alhena AI Widget

Quick Start

Add this code to your website, just before the closing </body> tag:

Replace YOUR_COMPANY_KEY with your company key. Find it in your dashboard URL: if your dashboard is https://app.alhena.ai/dashboard/acme/ then your company key is acme.

Finding Your Snippet

You can also copy your pre-configured snippet from the Alhena dashboard:

Integrations > Website > Installation

Regional URLs

Use the API base URL for your region:

Region
API Base URL

US

https://app.alhena.ai

EU

https://eu.alhena.ai

Example for EU region:

Previewing Before Going Live

While the widget is installed but not yet enabled (or hidden by an A/B visibility experiment), you can still force it to appear for QA by adding the alhena_test=true query parameter to any page URL:

This temporarily force-enables both the chat widget (floating and inline) and the Product FAQ widget on that page load, overriding the backend enabled flag and any experiment that would otherwise hide it.

alhena_test=true only affects the page load where it's present in the URL — it's a preview tool for your own QA, not a way to enable the widget for visitors. Remove it (or just navigate without it) to return to normal behavior.

Next Steps

Once installed, you can:

Developer Reference

For programmatic control and advanced integrations, see the SDK documentation:

Last updated