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.
01 · Simple recipes
Start with one clear outcome. Learn the API shape, authentication model, and verification loop without assembling a full system.
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.
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.
02 · Intermediate recipes
Combine capabilities into useful employee and customer workflows while keeping citations, identity, and permissions visible.
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.
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.
A guided first-week hub for new hires: a checklist with progress, and every step able to answer itself from your own onboarding content.
03 · Advanced recipes
Coordinate agents, governed actions, human approval, and operational failure paths in end-to-end builds.