glean-multi-env-setup

Featured

Use separate datasource names per environment (wiki_staging vs wiki_prod). Trigger: "glean multi env setup", "multi-env-setup".

AI & Automation 2,944 stars 440 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Glean Multi-Environment Setup ## Overview Glean enterprise search requires environment isolation to prevent test data from polluting production search results. Each environment uses its own datasource names, API tokens, and connector configurations. Sandbox indexes synthetic test documents, staging indexes a curated subset of real documents for search quality validation, and production indexes the full corpus. Connector changes must be tested in staging before promotion to avoid breaking search relevance for end users. ## Environment Configuration ```typescript const gleanConfig = (env: string) => ({ development: { apiToken: process.env.GLEAN_API_TOKEN_DEV!, baseUrl: "https://sandbox.glean.com/api/v1", datasourceSuffix: "_sandbox", indexingEnabled: true, searchQualityChecks: false, }, staging: { apiToken: process.env.GLEAN_API_TOKEN_STG!, baseUrl: "https://staging.glean.com/api/v1", datasourceSuffix: "_staging", indexingEnabled: true, searchQualityChecks: true, }, production: { apiToken: process.env.GLEAN_API_TOKEN_PROD!, baseUrl: "https://app.glean.com/api/v1", datasourceSuffix: "_prod", indexingEnabled: true, searchQualityChecks: false, }, }[env]); ``` ## Environment Files ```bash # Per-env files: .env.development, .env.staging, .env.production GLEAN_API_TOKEN_{DEV|STG|PROD}=<token> GLEAN_BASE_URL=https://{sandbox|staging|app}.glean.com/api/v1 GLEAN_DATASOURCE_SUFFIX={_sandbox|_staging|_prod} GLEAN_INSTANCE={sandbox|staging|produc...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category