Glean

Selecting the Connection Type

After choosing Glean as your connection type, a configuration tab appears where you’ll enter the required connection details. Supported multi modalities for this integration are: Text, Image and Document.

Integration Setup

Glean works in a single flow with an optional agent override:

  1. Standard Chat: This is the default chat type that connects users to the organization-wide Glean assistant. It provides generalized support for all users, leveraging Glean’s centralized resources. This type is ideal for scenarios where no specific agent or scoped application is required. Only the API Token and Instance Slug are necessary for configuration.

  2. Agent Chat: This chat type enables communication with a specific Glean Agent within your organization. It is suitable for scenarios where a targeted agent, and optionally a scoped application, is required to address a more specific use case. To configure this type, you must provide the Agent ID and can optionally add the Application ID to restrict the interaction to a particular application.

Figure 1: Standard Chat
Figure 2: Agent Chat

Fields on the Platform

  • Instance - Your Glean instance slug (e.g., acme-prod from https://acme-prod-be.glean.com).

  • API Token - Client API token with chat scope.

  • Application ID (optional) - Scope the chat to a specific application.

  • Agent ID (optional) - The agent you want to target.

How to obtain the required fields

  • Instance - Admin console → https://app.glean.com/admin/about-gleanarrow-up-right → copy the value in Server instance (QE) and take the part before -be.glean.com. (e.g., https://{your-glean-instance}-be.glean.com/...)

  • Create a Client API Token - Admin console → Platform → API Tokens → Client Tokens tab → Add token, pick scopes/expiry, save the secret.

Additional fields:

  • Agent ID (optional) - In the Glean Developer console (Developers → Agents), open the agent and copy Agent ID.

  • Application ID (optional) - In the Glean Developer console (Developers → Agents), copy Application ID if your org uses multiple apps. (Fields are shown alongside the agent configuration.)

circle-info

Additional recommendations to enable in Glean:

  • File upload enabled in your tenant if you plan to test documents/images.

  • Predefined policy-block response added (optional but handy for red-team runs).

For more information, you can explore the official Gleanarrow-up-right documentation or contact your platform administrator.

Last updated

Was this helpful?