window.obiWidgetConfig. Set it before the loader runs, and update it later at any time with the update command.
Options
| Option | Type | Default | Description |
|---|---|---|---|
apiKey | string | n/a | Required. Your SDK API key. |
position | string | "bottom-right" | Where the widget sits. One of bottom-left, bottom, bottom-right. |
isActive | boolean | true | Whether the widget is shown. Set to false to start hidden. |
Most apps should start with the widget hidden (
isActive: false) and turn it on after login. See Controlling sessions.Update at runtime
You do not have to set everything up front. Change any option later withupdate:
update are merged into the current configuration.
