Skip to main content

Minimal usage

This block displays a floating popover that loads a page URL in an overlay triggered by a button. It is useful for embedding help centers, forms, or contextual content without navigating away.

Advanced usage

With header, tooltip and animation

Configuration reference

auth parameter is very specific for usage with an authenticated content with a SSO when using Popover as a script tag. For security reasons, the authentication must be done in a trust domain context. In the use case where a tierce domain wants to popover a page from Prisme.ai needing an authentication with a SSO, it will need to set the auth parameter with the /me endpoint. Thge popover will first check user auth before loading iframe and if user is not authenticated, it will follow the auth process in the main window making possible to store the http secure cookies.
The main host will need autorisation to fetch Prisme.ai API, so you will have to update the CORS_ADDITIONAL_ALLOWED_ORIGINS environment variable to add its domain.
Exemple to display AI Store agent on https://www.acme.com : Add “https://www.acme.com” to CORS_ADDITIONAL_ALLOWED_ORIGINS then ad the following script in the page served on acme.com: