MindConfig is passed to MindWidgetProvider (React) or createMindWidget (core). Only authCookieKey is required.
Options
Name of the cookie the SDK reads to obtain its Bearer auth token. The SDK reads
document.cookie for this key on each request and, when present, sends the value as Authorization: Bearer <token>.The host app owns the cookie’s full lifecycle — setting it on login, refreshing it, and clearing it on logout. The SDK never writes to or refreshes this cookie.Empty values throw a ConfigurationError.Overrides the API origin. Must be a valid URL or a
ConfigurationError is thrown. See API and environment.Seeds the context engine with the student’s current page, course, and progress. See Learning context.
Lifecycle callbacks for state changes, nudges, quick actions, and errors. See Events and hooks.
What data the SDK may access:
canAccessGrades, canAccessPersonalInfo, canAccessCourseData, canSendNotifications.Nudge gating rules:
enabled, minConfidence, maxPerDay, and quietHours. See Nudges.Custom per-state components, quick actions, and a root
className. See Customizing the UI.Logs state transitions, context changes, and HTTP requests to the console.