docs/features/feature-guides/ask-datahub-plugins/glean.md
import FeatureAvailability from '@site/src/components/FeatureAvailability';
Note: Ask DataHub Plugins is currently in Private Beta. To enable this feature, please reach out to your DataHub customer support representative.
The Glean Plugin connects Ask DataHub to your organization's Glean instance, bringing enterprise knowledge search into your data conversations.
With the Glean plugin enabled, Ask DataHub can:
Example prompts:
The Glean plugin is the simplest to set up. DataHub supports OAuth discovery and automatic client registration for Glean — meaning DataHub will automatically discover the OAuth endpoints, available scopes, and register a client on your behalf. No manual OAuth configuration is required.
Obtain the MCP server URL from your Glean instance. You can find this in your Glean settings under MCP Configurator (accessible from your profile settings), or refer to Glean's MCP setup guide.
| Field | Value |
|---|---|
| Name | Glean |
| Description | A description for the plugin |
| MCP Server URL | Your Glean MCP server URL |
| Authentication Type | User OAuth (Each user authenticates) |
DataHub will automatically discover the OAuth configuration from Glean and register a client — no manual OAuth setup is required. This includes:
Review the discovered scopes. All scopes are selected by default. Ensure the mcp scope is selected — this is required for the plugin to function.
:::warning Required Scope
The mcp scope must be selected for the Glean plugin to work. Without it, the MCP server will return a 401 Unauthorized error when Ask DataHub tries to use the plugin. If you see this error after setup, edit the plugin and verify that the mcp scope is enabled.
:::
Navigate to Settings > My AI Settings, find the Glean plugin, and click Connect. You'll be redirected to Glean to authenticate, then back to DataHub. See the overview for more details.
<p align="center"> </p>If you see OAuth succeeded but MCP server returned 401: Client error '401 Unauthorized', the mcp scope is not selected for the plugin. Edit the plugin in Settings > AI > Plugins, ensure the mcp scope is enabled, and save.