Skip to content
Strata
Home

Add Strata to your site

Two lines of HTML. Then upload your docs.

Install

Paste before </body>. Use your workspace slug from the dashboard.

<script src="https://strata.fyi/widget.js" defer></script> <strata-chat workspace="your-workspace"></strata-chat>

HTML, React, Next.js, WordPress. Anything that can load a script.

Try it

Live widget on this page · workspace strata-docs

Knowledge

In the dashboard, open Documents and upload FAQs, policies, or product copy. Answers cite that content. After you change docs, re-process so retrieval stays current.

On-site agent

The chat can act on the page it lives on: browse, fill forms, add to cart, book. It always confirms before payment or account creation. Enable per workspace, with optional host capabilities for cart, booking, and accounts. Try it live in the agent playground: a mock storefront where the agent browses the catalog, fills forms, and manages a cart.

Customize

AttributeDescription
workspace requiredWorkspace slug from the dashboard.
chat-titleHeader title when chat is open.
welcome-messageFirst message visitors see.
suggested-promptsComma-separated chips under the welcome message.
icon-urlSquare launcher image (PNG or SVG).
launcherauto (default floating button) or hidden for your own open/close UI.
<script src="https://strata.fyi/widget.js" defer></script> <strata-chat workspace="your-workspace" chat-title="Support" welcome-message="How can we help?" suggested-prompts="Hours, Pricing, Contact" ></strata-chat>

Examples

Attribute snippets. Still load widget.js above the tag. Also on /demo.

Custom launcher icon

Set icon-url to a square image (PNG or SVG). Used for the floating button and the avatars in the panel. The live widget on this page uses exactly this: the docs icon below.

<strata-chat workspace="your-workspace" icon-url="https://example.com/logo.png" ></strata-chat>

Default

With icon-url

The docs book icon this page's widget uses

Plans and limits

Nothing on this page is enforced yet. Every workspace has every feature, with no caps on conversations, actions, or documents. The ladder below is where this is going, and we set paid plans up by hand until it gets there.

PlanPriceIncludes
Free$0Answers from your docs, Acts on the current page, Human handoff
Starter$10/moYour icon and name, No Strata footmark, Follows jobs across pages
Growth$20/moAlerts when a human is needed, Searchable history, Conversation analytics
Pro$99/moConnects to your systems, Your own AI keys, Team seats, priority support
BusinessCustomEvery site you run, Your own cloud storage, We set it up with you

Full breakdown on pricing. Usage for your workspace is in Settings, counted but not capped.

Going further

Custom open / close

Hide the floating button and open chat from your UI.

<script src="https://strata.fyi/widget.js" defer></script> <strata-chat workspace="your-workspace" launcher="hidden"></strata-chat> <button type="button" onclick="window.StrataChat?.open()">Open chat</button> <button type="button" onclick="window.StrataChat?.close()">Close</button>

Also: toggle(), setVisibility(boolean), onStateChange(listener)

All attributes

AttributeDescription
workspace requiredWorkspace slug from the dashboard.
chat-titleHeader title when chat is open.
welcome-messageFirst message visitors see.
suggested-promptsComma-separated chips under the welcome message.
icon-urlSquare launcher image (PNG or SVG).
launcherauto (default floating button) or hidden for your own open/close UI.
api-urlAPI base override. Default: https://strata.fyi
hide-brandingtrue hides the Strata footer.
show-headerfalse hides the header bar.
backgroundglass (default) or none.
display-confidencetrue shows answer confidence (dev/test).

Legacy alias: tenantworkspace

Manual iframe

Only when you need to own the <iframe> node. Same product as the two-line install.

<link rel="stylesheet" href="https://strata.fyi/embed/widget.css"> <script src="https://strata.fyi/widget.js" defer></script> <div class="strata-chat-widget"> <iframe src="https://strata.fyi/embed?workspace=your-workspace" loading="lazy" allow="clipboard-write" ></iframe> </div>