@stackone/hub ships a framework-agnostic custom element (<stackone-hub>) you can drop into any HTML page with a <script> tag.
1
Add the script
2
Get a session token from your backend
3
Add the element and listen for events
Attribute reference
All scalarStackOneHub props map to kebab-case HTML attributes.
Events
Callbacks are dispatched asCustomEvents on the host element with bubbles: true and composed: true.
Next steps
Backend setup
Generate session tokens from your backend.
Filter connectors
Restrict the Hub to a single provider or category.