Recipes for building on Glean
Runnable patterns that go from problem to a working demo to scaffolded starter code — with the architecture, auth, and permissions laid out for each.
Chat
1 recipe · BeginnerAsk Glean a question from code and stream the answer with its citations.
Search
2 recipes · BeginnerSearch your Glean content using the filters each datasource supports.
Put permission-aware Glean search and chat directly inside an internal app with the Web SDK, so your team gets answers where they already work.
Use the official TypeScript API client to search across all of your Glean content by default, or discover datasources and common filter fields before applying an explicit selection to permission-aware Platform Search.
Agents
3 recipes · Beginner → AdvancedRun a published agent from code, approve its actions before they happen, then build an on-call dashboard that puts a person in front of every action.
Give a published support-triage Agent one issue URL or description and get an evidence-backed summary, next diagnostic step, and customer-safe response.
Start a durable agent run from TypeScript, see the exact tool call it wants to make, and approve or reject it before it happens. The agent only sends you a Slack DM.
An on-call dashboard that takes an alarm to a proposed action and puts a person in front of that action. It names a cause only when a past incident backs it, turns away an approver who is neither on call nor the service owner, and escalates instead of approving itself when nobody answers. It runs on recorded incidents, so you can watch it refuse things before connecting it to anything.
Skills
3 recipes · Beginner → IntermediatePublish and check one skill, import skills from GitHub, then manage versioned skill bundles.
Validate a local SKILL.md, test publishing and retrieval in Glean, confirm the downloaded file matches, and delete the test skill.
Preview a public GitHub skill on a branch URL with the official TypeScript API client, import the selected URL, sync that captured skill, confirm it with get and list, then delete only IDs this run created.
After a first persist, prove name-based version supersession, retrieve a specific version, stage downloaded bytes in a bounded zip sandbox, and delete only the run-owned skill.
Triggers
1 recipe · BeginnerRegister a calendar Trigger and receive its signed events.
Complete apps
5 recipes · Beginner → IntermediateEnd-to-end builds that combine features, from no-code builders to full apps you can run.
Paste a prompt into Lovable to get a private page that answers common IT questions from your Glean docs.
Paste a prompt into Replit Agent to get a private page that answers PTO and benefits questions from your Glean docs.
A guided first-week hub for new hires: a checklist with progress, and every step able to answer itself from your own onboarding content.
A review app that drafts cited answers to an RFP or security questionnaire, leaves unsupported questions blank, and requires a person to approve each answer. It starts with recorded Chat responses, so you can inspect its refusal paths before connecting it to Glean.
One page per account — status, risks, and a drill-in chat — assembled from whatever your instance already knows about that customer. No CRM export, no separate index.