Docs

Go live in four steps

Sign up, train your agent, make it yours, then paste one snippet. No build step, no backend - it works on any website.

The four steps

1

Create an account

Sign up and a fresh agent is provisioned for your workspace automatically.

2

Train it

Add text, crawl your website, import products, or upload documents on the Training page.

3

Make it yours

Set your color, avatar, welcome message and AI disclosure under Appearance.

4

Embed the snippet

Copy your embed code from the dashboard and paste it before </body> on any page.

One snippet, three placements

Swap the mode value to change how the agent appears. Grab your real snippet - with your agent ID prefilled - from the dashboard.

Chat bubble (corner of every page)
<script src="https://selraiz.com/widget.js"></script>
<script>
  Selraiz.init({
    agentId: "YOUR_AGENT_ID",
    mode: "widget",
    agentName: "Victoria",
    primaryColor: "#1a1b4b"
  });
</script>
Bottom bar (docked along the bottom, expands to a chat)
<script src="https://selraiz.com/widget.js"></script>
<script>
  Selraiz.init({
    agentId: "YOUR_AGENT_ID",
    mode: "ainav",
    agentName: "Victoria",
    primaryColor: "#1a1b4b"
  });
</script>
Guided walk-through (full-screen tour with live voice)
<script src="https://selraiz.com/widget.js"></script>
<script>
  Selraiz.init({
    agentId: "YOUR_AGENT_ID",
    mode: "consultant",
    agentName: "Victoria",
    primaryColor: "#1a1b4b",
    consultant: {
      goal: "meeting",          // "meeting" | "purchase" | "auto"
      startPath: "/",             // page the tour opens on
      launcherLabel: "Take a guided tour",
      greeting: "Hi, I'm Victoria - shall I show you around?"
    }
  });
</script>

How the guided walk-through behaves

In consultant mode the agent opens a full-screen stage: your site renders in a frame on the left, the conversation docks on the right, and a live voice call runs the whole time.

  • Same-origin only. The tour renders pages from your own domain. Pages it opens are appended with ?sp_tour=1, and the widget refuses to mount inside its own frame - so there's no recursion to guard against.
  • Tour pages come from training. Crawl your site on the Training page and every crawled URL becomes somewhere the agent is allowed to navigate. Navigation targets are validated server-side against that list, so it cannot open a URL it invented.
  • goal - meeting drives towards a booking, purchase towards a checkout, auto picks based on whether you've imported products.
  • startPath - the page the tour opens on. Defaults to /.
  • launcherLabel / launcherSub / greeting - the text on the launcher pill and the opening line. All optional.
  • commerce - for shops: how to add to the basket and which page counts as your order confirmation, so it knows when a sale completed.
  • Consent is not optional. The microphone opens only on a tap, the agent discloses it is an AI first, email addresses are typed into a form rather than spoken, and nothing goes in the basket until the visitor says yes.

Try before you install

This whole site runs the widget you just saw configured. Chat with Victoria in the corner.

Tap the assistant in the corner ↘

Ready to go live?

Create your agent, train it, and paste one snippet.