Documentation

Short practical guide to embedding Alex, configuring instances, and wiring telephony.

1. Sign up and create an instance

  1. Register at /register.
  2. Verify your email (check spam if it doesn't arrive).
  3. Log in. You land on your dashboard.
  4. Click Create new instance. Give it a display name.

2. Embed Alex on your site

Each instance exposes a one-line script snippet on its detail page. Paste it into your site's HTML, ideally just before </body>:

<script src="https://alex.siimii.ai/embed/v1/widget.js"
        data-instance-key="YOUR-INSTANCE-KEY"
        defer></script>

Optional attributes on the script tag:

For iframe embeds without the launcher, point an iframe at /widget?instance_key=YOUR-INSTANCE-KEY.

3. Configure persona and knowledge

On your instance detail page:

4. Optional: inbound phone calls

To let Alex answer a real phone number:

  1. Complete KYC verification on /dashboard/verification.php (Stripe Identity, takes ~2 minutes).
  2. On your instance page → Phone tab → search Telnyx inventory by country / area / locality → click Provision on a number you want.
  3. The number starts routing inbound calls to Alex voice within seconds.

5. Handoff to a human on phone

Two modes per instance:

If no human answers within your timeout (10–180 s), Alex retakes the call, apologises, and collects contact info for email follow-up.

Set operator opening hours + holidays on the instance page to avoid ringing agents outside their shift.

6. Billing

7. API (for advanced use)

The account-service exposes a REST API at /account-api/. Authenticate with your JWT (cookie from login or Authorization: Bearer). Key endpoints:

Scopes and request-ID correlation headers (X-Request-Id) are propagated end-to-end across web, account-service, and voice-gateway.

8. Security

9. Support

Questions? Reply to any email you receive from the platform, or escalate from inside Ask Alex itself — the message lands on our dashboard.