Sharing Data Externally
Analytics Embedding

Analytics Embedding

Glean supports embedding Data Models, Saved Explorations, and Dashboards in external applications via an iframe.

Embedding a resource

To embed a Glean resource, add viewMode=embed to the URL parameters of your Data Model, Saved Exploration, or Dashboard URL and set that URL to be the src of an iframe HTML tag.

For instance, if your Saved Exploration URL is:

then corresponding embedded iframe will be:

<iframe src=""></iframe>

When embedded, the Glean side navigation bar is replaced with an information bar at the bottom of the iframe. See examples below.


Viewers must be logged in to Glean in order to see an embedded resource. If the current user is not logged in, they will be prompted to do so via an embedded login flow.

Resource embeds can be combined with Project Invite Links to enable self-service access to your Glean project. To do so:

  1. Enable Project Invite Links on your project, if not already turned on.
  2. Copy the projectInviteToken parameter from your invite link and append it to your embedded URL.

For instance, if your project invite link is:

and your Saved Exploration URL is:

Then your self-service embed URL would be:

Embedded resources are also compatible with Get Access Domains. If enabled, any user with an email address from your organization's domain will be able to create a Glean account via the embedded resource.


Embedded Data Model

Embedded Saved Exploration

Embedded Dashboard