Hřiště pro webové pluginy
Použijte tuto stránku k ověření aktuálního manifestem podloženého kontraktu webového pluginu, aniž byste museli umístit druhý živý widget do standardního rozložení dokumentace.
Hřiště pokrývá pouze bezpečný povrch widgetu pro prohlížeč:
data-chatbot-iddata-base-urldata-environment- volitelný bezpečný
window.siestaWidgetContext
Nepoužívá X-Api-Key, X-Org-Id, externí API volání, realtime sezení nebo autentizovaný OAuth tok widgetu.
Widget Playground
Test one widget bubble against the current manifest contract.
This page builds an isolated iframe sandbox, mounts exactly one siestaai-chat-widget instance, and keeps API-key handling out of browser code.
Setup
Fill in the same browser-safe values that the Web Plugin manifest exposes.
Generated snippet
This matches the current manifest-style runtime contract for the Web Plugin.
<script src="https://app-dev.siesta.ai/chat-widget/chat-widget.js" defer></script> <siestaai-chat-widget data-chatbot-id="3481f077-b4e2-4760-7531-08de5443a751" data-base-url="https://app-dev.siesta.ai" data-environment="dev"></siestaai-chat-widget>
Live preview
The widget runs inside a dedicated iframe so it does not collide with the docs site shell.
Validation log
Script load, custom-element registration, runtime errors, and observable Siesta network traffic.
No events yet. Load the preview to start instrumentation.