Actual resolution order
1
Inline override
Every data-* attribute present in the script has top priority and forces only that single option.
2
Remote configuration
If an override isn't present, the widget uses the settings fetched from the AISA APIs via API URL and agent ID.
3
Internal defaults
Only if the remote value is missing too does the widget apply its own local fallback documented in the README.
What's actually required
For a real bootstrap, all you need is data-api-url and data-agent-id. Add data-identity and data-context only if you want to pass user data or runtime context to the backend.
data-api-urlEndpoint of your assistant instance. Without it, the widget can't fetch the remote config.
data-agent-idIdentifier of the agent used to load settings and route the conversation to the correct assistant.
data-identityOptional. String or JSON with data such as name, email and phone, sent to the backend via a dedicated identity event.
data-contextOptional. Extra string to give the session context, useful for page, funnel, campaign or use case.