Follow this guide to integrate Portal in your web app.
CNAME
record, and adds a few server API endpoints.
@portal-hq/web
- The core Portal libraryPortal
in your app. We recommend only initializing one Portal instance per user.
lib
configuration to properly type interaction with the DOM. Update your TSConfig file to include this:
portal.apiKey
directly.SESSION_EXPIRED
in the SDK methods, which you can use as an indicator to refresh your CST.