Skip to main content
The widget is the fastest way to put your existing Glean Feed portal inside a web app. Choose it when you want a ready-made feedback, roadmap, and updates interface. Choose the Headless SDK when your team needs to own the UI and interactions.

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:
For inline mode, render <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.
Replace the example values with the values from your snippet. A script with data-workspace initializes launcher mode automatically.

Confirm it works

Reload the host page. A circular launcher should appear in the lower-right corner.
  1. Open the launcher.
  2. Confirm the embedded portal belongs to the expected workspace.
  3. Open Feedback, Roadmap, and Updates and confirm each enabled section matches the public portal.
If the launcher does not appear or opens the wrong portal, use widget troubleshooting.

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 without data-workspace, add the mount element, and initialize it manually:
Inline mode uses a fixed-height iframe inside the first [data-glean-feed-inline] element. It does not render a launcher or launcher badge.

Next steps