DOCUMENTATION

From zero to a live agent.

Everything on this page describes shipped behavior, it works today, exactly as written.

Quickstart

1. Create your workspace. Sign up, verify your email, name the workspace. Your chat widget, knowledge base and provider config are created with it, every setting below is editable per workspace.

2. Teach Senobi. In Knowledge, write articles or paste your help-center URL and import drafts straight off your site. Articles embed for retrieval automatically on save; Senobi answers only from what lives there and records the questions it couldn't answer as gaps for you to fill.

3. Brand the widget. In Widget, set the display name, accent color, greeting, tagline, logo and position, and register the domains the widget may load on. The live preview shows exactly what customers get.

4. Install. Paste one line before </body> on your site:

html
<script src="https://www.senobi.com/embed.js" async></script>

On Shopify, there is no code to paste. Install the Senobi app on your store, then in Shopify go to Online Store, Themes, Customize, then App embeds, switch on Senobi chat, and Save. The App embed signs your logged-in customers in by itself, so order lookups skip the email code.

The widget resolves your workspace from the page's origin, no keys or config in the snippet, nothing sensitive to leak.

Widget install details

Page rules live in the Widget Studio: an empty include list shows the widget everywhere; any exclude match wins; patterns support * wildcards (for example /checkout*). On phones under 480px the chat opens full-bleed.

Single-page apps can drive the widget programmatically once the loader has run:

javascript
window.ShinobiChat.open(); // open the chat panel
window.ShinobiChat.close(); // close it

Visitor identity is progressive: anonymous chats work immediately; when order details are involved, Senobi verifies the visitor's email with a one-time code before sharing anything account-bound. Sessions resume across page loads on the same site for 24 hours.

Custom tools

In Studio › Custom API tools, point Senobi at your own HTTP endpoints. Each tool is a name, a plain-language description (Senobi decides when to call it from this), an https URL template, a method, the parameters Senobi fills in, and one optional auth header. The header's secret value is stored in AWS Secrets Manager under your tenant's own prefix and is never sent to the browser.

Custom tool fields
FieldWhat it does
nameHow the tool shows up in transcripts and usage events.
descriptionTells Senobi when the tool applies, write it like you'd brief a new hire.
urlEndpoint template; conversation values are substituted server-side.
paramsThe values Senobi collects in the conversation and sends with the call, each with a name, a description and whether it is required.
method / auth headerGET or POST, plus one named auth header whose secret value stays server-side.

Public session API

The widget speaks a small JSON API you can also call directly, useful for custom frontends or native apps. All calls are scoped by registered origin and per-session bearer tokens; rate limits apply per IP and per session.

Public session API endpoints
EndpointBehavior
POST /api/public/sessionops: start (new session for a registered origin), resume, end, rate (CSAT 1 to 5).
GET /api/public/sessionPoll messages since a cursor; returns presigned image URLs for attachments.
POST /api/public/sendSend a visitor message; streams the reply as NDJSON frames, final frame carries cited sources.
POST /api/public/uploadPresigned, prefix-scoped photo upload for the current session.
GET /api/public/widget-configWidget branding for a registered origin, this is all the loader needs.
POST /api/public/agentPublish's grounded Q&A endpoint: one bearer key, answers only from your live knowledge, sources attached. Schema at GET /api/public/agent/openapi.
POST /api/public/mcpThe same agent as an MCP server with one tool, ask_support_agent, for any MCP client that sends a Bearer header, such as Claude Code, Cursor and VS Code.

Your data stays exportable: My Account, Your data downloads chats, customers, cases and knowledge as CSV at any time, and Analytics and Usage each carry an Export CSV button for their own ledgers.

Security model

Tenant isolation. Every row in the platform carries a tenant id and every query runs through a tenant-scoped client, there is no code path that reads across workspaces.

Secrets. Model keys and tool credentials live in AWS Secrets Manager under tenant/<id>/*. Nothing secret is ever compiled into the browser bundle or the embed loader.

Identity. Console access is Cognito-backed with short-lived, httpOnly session cookies. Widget visitors verify by emailed one-time code (10-minute expiry, 5 attempts, hashed at rest) before Senobi shares anything account-bound.

Origins. The widget renders only on domains you registered; unregistered origins get nothing, not even the config.

Your models. Default is the Senobi model, with per-turn usage metering you can audit in the console; bring your own provider key and calls run on your account instead.