Skip to main content

Wizard placement modes

Dubot.renderAgent() supports four presentation values:
  • Bubble
  • InlineWizard
  • Sidebar
  • Fullscreen
If presentationMode is omitted, init({ mode }) supplies the default; otherwise the SDK uses bubble. A selector applies only to InlineWizard. Configured placements and programmatic rendering use the same current chat surface. Prefer configured page targeting when a wizard should appear automatically; use renderAgent() when the host owns the launch event.

Resource Center

Programmatic open works when the published Resource Center trigger mode allows it. A mounted wizard sidebar takes precedence over the base Resource Center panel.

Guidance

Start a published reviewed guide:
Or start a goal-based run in a controlled evaluation:
The returned session can be stopped and observed:
done resolves with completed, stopped, or error; it does not reject.

End-user MCP connections

When the controlled-rollout action channel is enabled and the user has a verified identity:
The connections surface lets that end user review and revoke MCP grants for the current product identity.

Tear down

destroy() removes placements, Resource Center, Guidance, action-channel presence, listeners, and queued runtime state. It is idempotent and terminal for that SDK instance. Reload the page to create a new instance. If a configured surface does not appear, use the browser SDK troubleshooting matrix.