Before you start
You need your workspace slug and the embed snippet from Settings → Developer setup. Confirm that the portal sections you want customers to open are visible in portal settings.Install from npm
Use the package when your application bundles JavaScript and you want an explicit version in its lockfile:<div data-glean-feed-inline></div> before calling
init({ mode: "inline", ... }). The package also exports close, destroy,
identify, submitFeedback, and the headless helpers.
Load from the CDN
Paste the dashboard-generated snippet before the closing</body> tag. It includes the correct CDN URL, portal origin, workspace, accent, and icon for your environment.
data-workspace initializes launcher mode automatically.
Confirm it works
Reload the host page. A circular launcher should appear in the lower-right corner.- Open the launcher.
- Confirm the embedded portal belongs to the expected workspace.
- Open Feedback, Roadmap, and Updates and confirm each enabled section matches the public portal.
Inline mode
After the launcher works, switch to inline mode when you want the portal embedded in a dedicated page instead of behind a floating button. Load the script withoutdata-workspace, add the mount element, and initialize it manually:
[data-glean-feed-inline] element. It does not render a launcher or launcher badge.
Next steps
- Review all configuration options and methods.
- Add signed customer identity for seamless customer interactions.
- Learn how notifications appear in launcher mode.
- Review package versions and compatibility before upgrading.