MindWidgetProvider and drop a MindWidgetHost where the floating widget should mount.
Wrap your app in the provider
MindWidgetProvider creates a single widget instance from your config and exposes it to descendants.App.tsx
authCookieKey names the cookie the SDK reads to obtain its Bearer auth token. The host app is responsible for setting, refreshing, and clearing the cookie — the SDK only reads it. See Configuration.Next steps
Configuration
Theme, hooks, permissions, and more.
Widget states
The state machine and valid transitions.
Learning context
Tell the widget what the student is doing.
React API
Provider, host, and hooks.