Use server-signed identity so customers can interact in the widget without signing in again.
Signed identity connects a customer signed in to your product with their Glean Feed portal account. Use it when customers should submit, vote, comment, or react without a second sign-in.
Generate signatures only on your server. Never put the workspace widget secret in browser code, a
mobile app, source control, or a client-visible environment variable.
Requirements
Customer accounts must be enabled in the workspace’s portal settings.
Copy the workspace ID and widget secret from the dashboard.
Use a stable customer ID from your own system.
Keep userId at 200 characters or fewer, name at 120, and email at 320.
The same signed customer token can also authorize browser-direct headless feedback, but the server boundary below applies whether you use the packaged widget or a custom UI.
1. Sign the customer on your server
If email is present, trim and lowercase it, then sign a JSON array containing workspace ID, customer ID, and canonical email. Without email, sign workspaceId:userId.
The signature covers the workspace ID, customer ID, and email when present. name is not part of the signature payload.Send the customer’s full name when you have it. Glean Feed keeps that identity available to workspace members in the dashboard and abbreviates the customer’s name on public requests, comments, and customer notifications—for example, Ada Lovelace appears as Ada L.
2. Initialize with the signed customer
Send only the signed customer object—not the secret—to the browser:
You can also call await window.GleanFeed.identify(user) after initialization. Reidentify after the signed-in customer changes.
3. Confirm identity
Open the widget and submit a test request or vote. Confirm the interaction appears under the expected customer in the dashboard. In launcher mode, signed customers can also receive an unread notification badge.If the email matches a pending invite-only board invitation, successful identity grants access to that board automatically.
Failure behavior
Missing workspaceId, disabled customer accounts, invalid or oversized fields, an invalid signature, or a failed request creates no new signed session. A new identification also fails with an identity mismatch if the email belongs to a workspace team member’s preserved portal history. An already-established signed customer with the same userId and email remains separate and continues to work. For a new customer collision, use a different customer email or omit the email and identify that customer by userId; Glean Feed never merges a signed customer into team history.Free and Starter plans also limit the number of tracked customers. Identifying a customer for the first time returns 403 with code: "customer_limit" after the workspace reaches that limit. Existing identified customers continue to work, including in workspaces that are already over the limit. See customer account limits for plan amounts and what counts.The widget falls back to anonymous browsing only when there is no existing embedded portal session; a failed reidentification does not clear an existing session. Use troubleshooting if the test interaction remains anonymous.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Glean Feed","description":"Learn how to collect feedback, publish roadmap updates, launch a public portal, and embed Glean Feed in your product.","colors":{"primary":"#1A1816","light":"#F6F6F5","dark":"#1A1816"},"logo":{"light":"https://mintcdn.com/gleanfeed/9Cksmp6iAukvIiii/brand/glean-lockup.svg?fit=max\u0026auto=format\u0026n=9Cksmp6iAukvIiii\u0026q=85\u0026s=de09e922b5d0a5f97d2a6a4945603fea","dark":"https://mintcdn.com/gleanfeed/9Cksmp6iAukvIiii/brand/glean-lockup-dark.svg?fit=max\u0026auto=format\u0026n=9Cksmp6iAukvIiii\u0026q=85\u0026s=1be992be3aa54fecd0438b453a1746d8","href":"https://gleanfeed.com"},"favicon":{"light":"https://mintcdn.com/gleanfeed/9Cksmp6iAukvIiii/brand/glean-mark.svg?fit=max\u0026auto=format\u0026n=9Cksmp6iAukvIiii\u0026q=85\u0026s=862024ec9ac2347df27e89e133d99059","dark":"https://mintcdn.com/gleanfeed/9Cksmp6iAukvIiii/brand/glean-mark-white.svg?fit=max\u0026auto=format\u0026n=9Cksmp6iAukvIiii\u0026q=85\u0026s=54948197c0db5e98a450464e53bd4c14"},"appearance":{"default":"system"},"background":{"color":{"light":"#FAFAF9","dark":"#100F0D"}},"navbar":{"links":[{"href":"https://gleanfeed.com","label":"Home"}],"primary":{"type":"button","label":"Open app","href":"https://app.gleanfeed.com"}},"search":{"prompt":"Search Glean Feed docs"},"seo":{"indexing":"navigable"},"fonts":{"family":"Geist"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","grok","aistudio","mcp","add-mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"gleanfeed","hasAudioNarration":false,"actualSubdomain":"gleanfeed","customDomains":["gleanfeed.com"],"gitSource":{"type":"github","owner":"mweisberg21","repo":"gleanfeed-app","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae95b0634ab80277e3e0971:success","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"default","tag":"Developer guides","count":32},{"language":"default","tag":"Product guides","count":16},{"language":"default","tag":"API \u0026 MCP","count":8},{"language":"default","tag":"Start in your repository","count":7},{"language":"default","tag":"iOS SDK","count":7},{"language":"default","tag":"Embed Glean Feed","count":7},{"language":"default","tag":"Customize your portal","count":5},{"language":"default","tag":"Account and workspace","count":3},{"language":"default","tag":"Headless SDK","count":3},{"language":"default","tag":"Integrations","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[{"filePath":"custom.css","content":":root{--gf-bg: #fafaf9;--gf-surface: #ffffff;--gf-muted: #f6f6f5;--gf-border: #e8e6e2;--gf-ink: #1a1816;--gf-ink-muted: #605c56;--gf-link: #1a1816;--gf-active: color-mix(in srgb, var(--gf-muted), var(--gf-ink) 7%);--gf-code-bg: #100f0d;--gf-font-sans:\n \"Geist\", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif;--gf-font-mono: \"Geist Mono\", \"SFMono-Regular\", Consolas, \"Liberation Mono\", Menlo, monospace}html.dark{--gf-bg: #100f0d;--gf-surface: #1a1816;--gf-muted: #1f1d1a;--gf-border: #2a2723;--gf-ink: #f6f6f5;--gf-ink-muted: #a3a09a;--gf-link: #f6f6f5;--gf-active: color-mix(in srgb, var(--gf-muted), var(--gf-ink) 7%);--gf-code-bg: #0b0a09}html,body,#background-color{background:var(--gf-bg)!important;color:var(--gf-ink);font-family:var(--gf-font-sans)}::selection{background:color-mix(in srgb, var(--gf-ink) 14%, transparent)}#navbar{border-bottom:1px solid var(--gf-border);background:color-mix(in srgb, var(--gf-bg) 92%, transparent);backdrop-filter:blur(16px) saturate(140%)}nav-logo img{height:24px;width:auto}#sidebar,#sidebar-content,#table-of-contents,#table-of-contents-content{background:var(--gf-bg)}#page-title,mdx-content h1,mdx-content h2,mdx-content h3,mdx-content h4{color:var(--gf-ink);font-family:var(--gf-font-sans);font-weight:600;letter-spacing:0}mdx-content p,mdx-content li,mdx-content td{color:var(--gf-ink-muted)}mdx-content strong,mdx-content th{color:var(--gf-ink)}mdx-content a,link{color:var(--gf-link);text-decoration-color:color-mix(in srgb, var(--gf-link) 38%, transparent);text-underline-offset:0.18em}mdx-content a:hover{text-decoration-color:var(--gf-link)}#search-bar-entry,#search-bar-entry-mobile,button,input,textarea,select{border-radius:8px}#search-bar-entry,#search-bar-entry-mobile{border:1px solid var(--gf-border);background:var(--gf-surface);color:var(--gf-ink-muted)}#topbar-cta-button{font-weight:500}a[href^=\"https://www.mintlify.com?utm_campaign=poweredBy\"]{color:var(--gf-ink-muted)!important}#sidebar-content :is(li[data-active],li[data-active-nav-item])>a,#sidebar-content a[aria-current=\"page\"],toc-item[data-active],toc-item[data-active-deepest]{background:var(--gf-active);border-radius:8px;color:var(--gf-ink);font-weight:500;text-shadow:none}icon,tab-icon{color:var(--gf-ink)}html.dark img[src$=\"/integrations/linear.svg\"]{content:url(\"/integrations/linear-dark.svg\")}html.dark img[src^=\"/icons/\"],html.dark img[src*=\"/icons/\"]{filter:brightness(0) invert(1)}card,callout,accordion,code-block{border:1px solid var(--gf-border);border-radius:8px;box-shadow:none}card{background:var(--gf-surface)}card:hover{border-color:color-mix(in srgb, var(--gf-ink) 30%, var(--gf-border))}callout,accordion{background:var(--gf-muted)}code-block,pre{background:var(--gf-code-bg)!important;font-family:var(--gf-font-mono)}mdx-content :not(pre)>code{border:1px solid var(--gf-border);border-radius:6px;background:var(--gf-muted);color:var(--gf-ink);font-family:var(--gf-font-mono)}mdx-content table{border-color:var(--gf-border)}mdx-content th{background:var(--gf-muted)}mdx-content tr{border-color:var(--gf-border)}"}]}
{"page":{"pagePath":"widget/identity","slug":"/widget/identity","pageMetadata":{"title":"Identify customers","description":"Use server-signed identity so customers can interact in the widget without signing in again.","sidebarTitle":"Identity","icon":"/icons/filled/key.svg","href":"/widget/identity"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Use server-signed identity so customers can interact in the widget without signing in again.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Signed identity connects a customer signed in to your product with their Glean Feed portal account. Use it when customers should submit, vote, comment, or react without a second sign-in.`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Generate signatures only on your server. Never put the workspace widget secret in browser code, a\nmobile app, source control, or a client-visible environment variable.`})}),`\n`,_jsx(Heading,{level:`2`,id:`requirements`,children:`Requirements`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Customer accounts must be enabled in the workspace’s portal settings.`}),`\n`,_jsx(_components.li,{children:`Copy the workspace ID and widget secret from the dashboard.`}),`\n`,_jsx(_components.li,{children:`Use a stable customer ID from your own system.`}),`\n`,_jsxs(_components.li,{children:[`Keep `,_jsx(_components.code,{children:`userId`}),` at 200 characters or fewer, `,_jsx(_components.code,{children:`name`}),` at 120, and `,_jsx(_components.code,{children:`email`}),` at 320.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`The same signed customer token can also authorize `,_jsx(_components.a,{href:`/headless/feedback#alternative-submit-directly-from-the-browser`,children:`browser-direct headless feedback`}),`, but the server boundary below applies whether you use the packaged widget or a custom UI.`]}),`\n`,_jsx(Heading,{level:`2`,id:`1-sign-the-customer-on-your-server`,children:`1. Sign the customer on your server`}),`\n`,_jsxs(_components.p,{children:[`If email is present, trim and lowercase it, then sign a JSON array containing workspace ID, customer ID, and canonical email. Without email, sign `,_jsx(_components.code,{children:`workspaceId:userId`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`createHmac`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"node:crypto\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`export`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` function`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` signGleanFeedCustomer`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`workspaceId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`userId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`email`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`widgetSecret`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` canonicalEmail`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` email`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`?.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`trim`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`toLowerCase`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` payload`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` canonicalEmail`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ?`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`([`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`workspaceId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`userId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`canonicalEmail`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`])`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `\"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`workspaceId`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`userId`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` createHmac`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sha256\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`widgetSecret`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`).`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`update`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`payload`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`).`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`digest`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"hex\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The signature covers the workspace ID, customer ID, and email when present. `,_jsx(_components.code,{children:`name`}),` is not part of the signature payload.`]}),`\n`,_jsxs(_components.p,{children:[`Send the customer’s full name when you have it. Glean Feed keeps that identity available to workspace members in the dashboard and abbreviates the customer’s name on public requests, comments, and customer notifications—for example, `,_jsx(_components.strong,{children:`Ada Lovelace`}),` appears as `,_jsx(_components.strong,{children:`Ada L.`})]}),`\n`,_jsx(Heading,{level:`2`,id:`2-initialize-with-the-signed-customer`,children:`2. Initialize with the signed customer`}),`\n`,_jsx(_components.p,{children:`Send only the signed customer object—not the secret—to the browser:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`window`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`GleanFeed`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`init`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` workspace:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"acme\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` workspaceId:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR_WORKSPACE_ID\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` portalBaseUrl:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://gleanfeed.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` user:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` userId:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"customer-123\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` email:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"person@example.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` name:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Person Example\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` signature:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"SERVER_GENERATED_HEX_SIGNATURE\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`You can also call `,_jsx(_components.code,{children:`await window.GleanFeed.identify(user)`}),` after initialization. Reidentify after the signed-in customer changes.`]}),`\n`,_jsx(Heading,{level:`2`,id:`3-confirm-identity`,children:`3. Confirm identity`}),`\n`,_jsxs(_components.p,{children:[`Open the widget and submit a test request or vote. Confirm the interaction appears under the expected customer in the dashboard. In launcher mode, signed customers can also receive an unread `,_jsx(_components.a,{href:`/widget/notifications`,children:`notification badge`}),`.`]}),`\n`,_jsx(_components.p,{children:`If the email matches a pending invite-only board invitation, successful identity grants access to that board automatically.`}),`\n`,_jsx(Heading,{level:`2`,id:`failure-behavior`,children:`Failure behavior`}),`\n`,_jsxs(_components.p,{children:[`Missing `,_jsx(_components.code,{children:`workspaceId`}),`, disabled customer accounts, invalid or oversized fields, an invalid signature, or a failed request creates no new signed session. A new identification also fails with an identity mismatch if the email belongs to a workspace team member’s preserved portal history. An already-established signed customer with the same `,_jsx(_components.code,{children:`userId`}),` and email remains separate and continues to work. For a new customer collision, use a different customer email or omit the email and identify that customer by `,_jsx(_components.code,{children:`userId`}),`; Glean Feed never merges a signed customer into team history.`]}),`\n`,_jsxs(_components.p,{children:[`Free and Starter plans also limit the number of tracked customers. Identifying a customer for the first time returns `,_jsx(_components.code,{children:`403`}),` with `,_jsx(_components.code,{children:`code: \"customer_limit\"`}),` after the workspace reaches that limit. Existing identified customers continue to work, including in workspaces that are already over the limit. See `,_jsx(_components.a,{href:`/portal/accounts#tracked-customer-limits`,children:`customer account limits`}),` for plan amounts and what counts.`]}),`\n`,_jsxs(_components.p,{children:[`The widget falls back to anonymous browsing only when there is no existing embedded portal session; a failed reidentification does not clear an existing session. Use `,_jsx(_components.a,{href:`/widget/troubleshooting`,children:`troubleshooting`}),` if the test interaction remains anonymous.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Identify customers","description":"Use server-signed identity so customers can interact in the widget without signing in again.","sidebarTitle":"Identity","icon":"/icons/filled/key.svg","href":"/widget/identity"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Requirements","slug":"requirements","depth":2,"children":[]},{"title":"1. Sign the customer on your server","slug":"1-sign-the-customer-on-your-server","depth":2,"children":[]},{"title":"2. Initialize with the signed customer","slug":"2-initialize-with-the-signed-customer","depth":2,"children":[]},{"title":"3. Confirm identity","slug":"3-confirm-identity","depth":2,"children":[]},{"title":"Failure behavior","slug":"failure-behavior","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/gleanfeed/77ef72ca4eb06d1a/accessibility.js"],"subdomain":"gleanfeed","siteName":"Glean Feed","title":"Identify customers - Glean Feed","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-25T14:52:05.547Z","originalFileLocation":"widget/identity.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Use server-signed identity so customers can interact in the widget without signing in again.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Glean Feed\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/gleanfeed/r2xFMCuqxaZbs1pW/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/gleanfeed/r2xFMCuqxaZbs1pW/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/gleanfeed/r2xFMCuqxaZbs1pW/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/gleanfeed/r2xFMCuqxaZbs1pW/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/gleanfeed/r2xFMCuqxaZbs1pW/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/gleanfeed/r2xFMCuqxaZbs1pW/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/gleanfeed/r2xFMCuqxaZbs1pW/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/gleanfeed/r2xFMCuqxaZbs1pW/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/gleanfeed/r2xFMCuqxaZbs1pW/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Identify customers - Glean Feed\">\u003cmeta data-mint-head property=\"og:description\" content=\"Use server-signed identity so customers can interact in the widget without signing in again.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Glean Feed\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://gleanfeed.com/docs/widget/identity\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://gleanfeed.mintlify.site/docs/_mintlify/api/og/v2?division=Embed+Glean+Feed\u0026amp;title=Identify+customers\u0026amp;description=Use+server-signed+identity+so+customers+can+interact+in+the+widget+without+signing+in+again.\u0026amp;theme=337f7cd54256ebd32b426179\u0026amp;signature=b5733096fd2f9e3f2e9114c20dd19c923b000daac7f6d0990adf5e08359e0e2d\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Identify customers - Glean Feed\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Use server-signed identity so customers can interact in the widget without signing in again.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://gleanfeed.mintlify.site/docs/_mintlify/api/og/v2?division=Embed+Glean+Feed\u0026amp;title=Identify+customers\u0026amp;description=Use+server-signed+identity+so+customers+can+interact+in+the+widget+without+signing+in+again.\u0026amp;theme=337f7cd54256ebd32b426179\u0026amp;signature=b5733096fd2f9e3f2e9114c20dd19c923b000daac7f6d0990adf5e08359e0e2d\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/gleanfeed/r2xFMCuqxaZbs1pW/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Glean Feed\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1A1816\">\u003clink data-mint-head rel=\"canonical\" href=\"https://gleanfeed.com/docs/widget/identity\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/widget/identity.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://gleanfeed.com/#organization\",\"name\":\"Glean Feed\",\"url\":\"https://gleanfeed.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/gleanfeed/9Cksmp6iAukvIiii/brand/glean-lockup.svg?fit=max\u0026auto=format\u0026n=9Cksmp6iAukvIiii\u0026q=85\u0026s=de09e922b5d0a5f97d2a6a4945603fea\"}},{\"@type\":\"WebSite\",\"@id\":\"https://gleanfeed.com/docs#website\",\"name\":\"Glean Feed\",\"url\":\"https://gleanfeed.com/docs\",\"publisher\":{\"@id\":\"https://gleanfeed.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://gleanfeed.com/docs/widget/identity#webpage\",\"url\":\"https://gleanfeed.com/docs/widget/identity\",\"name\":\"Identify customers\",\"description\":\"Use server-signed identity so customers can interact in the widget without signing in again.\",\"dateModified\":\"2026-07-25T14:52:05.547Z\",\"isPartOf\":{\"@id\":\"https://gleanfeed.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://gleanfeed.com/docs/widget/identity#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://gleanfeed.com/docs/widget/identity#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Embed Glean Feed\",\"item\":\"https://gleanfeed.com/docs/widget/install\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Identify customers\",\"item\":\"https://gleanfeed.com/docs/widget/identity\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://gleanfeed.com/docs/widget/identity#article\",\"headline\":\"Identify customers\",\"name\":\"Identify customers\",\"description\":\"Use server-signed identity so customers can interact in the widget without signing in again.\",\"url\":\"https://gleanfeed.com/docs/widget/identity\",\"mainEntityOfPage\":{\"@id\":\"https://gleanfeed.com/docs/widget/identity#webpage\"},\"dateModified\":\"2026-07-25T14:52:05.547Z\",\"publisher\":{\"@id\":\"https://gleanfeed.com/#organization\"},\"isPartOf\":{\"@id\":\"https://gleanfeed.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Glean Feed\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Glean Feed\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/widget/identity.md","siteName":"Glean Feed","nav":{"global":null,"tabs":[{"tab":"Product guides","pages":[{"title":"Product guides","href":""}]},{"tab":"Developer guides","groups":[{"group":"Start in your repository","root":{"title":"Build with Glean Feed","sidebarTitle":"Choose an integration","icon":"https://mintlify.s3.us-west-1.amazonaws.com/gleanfeed/icons/filled/code.svg","href":"/developers"},"pages":[{"title":"Glean Feed CLI","sidebarTitle":"CLI overview","icon":"https://mintlify.s3.us-west-1.amazonaws.com/gleanfeed/icons/filled/code.svg","href":"/api/cli"},{"title":"CLI quickstart","sidebarTitle":"Five-minute quickstart","icon":"https://mintlify.s3.us-west-1.amazonaws.com/gleanfeed/icons/filled/rocket.svg","href":"/api/cli-quickstart"},{"title":"CLI command reference","sidebarTitle":"Command reference","icon":"https://mintlify.s3.us-west-1.amazonaws.com/gleanfeed/icons/filled/code.svg","href":"/api/cli-reference"},{"title":"CLI profiles and repository config","sidebarTitle":"Profiles and config","icon":"https://mintlify.s3.us-west-1.amazonaws.com/gleanfeed/icons/filled/settings.svg","href":"/api/cli-profiles"},{"title":"Use the CLI with agents and CI","sidebarTitle":"Agents and CI","icon":"https://mintlify.s3.us-west-1.amazonaws.com/gleanfeed/icons/filled/code.svg","href":"/api/cli-agents-ci"},{"title":"CLI security","sidebarTitle":"Security","icon":"https://mintlify.s3.us-west-1.amazonaws.com/gleanfeed/icons/filled/key.svg","href":"/api/cli-security"},{"title":"Troubleshoot the CLI","sidebarTitle":"Troubleshooting","icon":"https://mintlify.s3.us-west-1.amazonaws.com/gleanfeed/icons/filled/help.svg","href":"/api/cli-troubleshooting"}]},{"group":"API \u0026 MCP","pages":[{"title":"Make your first API request","sidebarTitle":"API quickstart","icon":"https://mintlify.s3.us-west-1.amazonaws.com/gleanfeed/icons/filled/rocket.svg","href":"/api/overview"},{"title":"JavaScript SDK","sidebarTitle":"JavaScript SDK","icon":"https://mintlify.s3.us-west-1.amazonaws.com/gleanfeed/icons/filled/code.svg","href":"/api/javascript-sdk"},{"title":"Authentication","sidebarTitle":"Authentication","icon":"https://mintlify.s3.us-west-1.amazonaws.com/gleanfeed/icons/filled/key.svg","href":"/api/authentication"},{"title":"Scopes","sidebarTitle":"Scopes","icon":"https://mintlify.s3.us-west-1.amazonaws.com/gleanfeed/icons/filled/key.svg","href":"/api/scopes"},{"title":"Endpoints","sidebarTitle":"Endpoints","icon":"https://mintlify.s3.us-west-1.amazonaws.com/gleanfeed/icons/filled/code.svg","href":"/api/endpoints"},{"title":"Connect over MCP","sidebarTitle":"Connect over MCP","icon":"https://mintlify.s3.us-west-1.amazonaws.com/gleanfeed/icons/filled/link.svg","href":"/api/mcp"},{"title":"Install agent skills","sidebarTitle":"Agent skills","icon":"https://mintlify.s3.us-west-1.amazonaws.com/gleanfeed/icons/filled/code.svg","href":"/api/agent-skills"},{"title":"REST API examples","sidebarTitle":"Examples","icon":"https://mintlify.s3.us-west-1.amazonaws.com/gleanfeed/icons/filled/code.svg","href":"/api/examples"}]},{"group":"Headless SDK","pages":[{"title":"Headless SDK overview","sidebarTitle":"Overview","icon":"https://mintlify.s3.us-west-1.amazonaws.com/gleanfeed/icons/filled/code.svg","href":"/headless/overview"},{"title":"Capture feedback in your own UI","sidebarTitle":"Feedback quickstart","icon":"https://mintlify.s3.us-west-1.amazonaws.com/gleanfeed/icons/filled/feedback.svg","href":"/headless/feedback"},{"title":"Render updates in your own UI","sidebarTitle":"Updates quickstart","icon":"https://mintlify.s3.us-west-1.amazonaws.com/gleanfeed/icons/filled/changelog.svg","href":"/headless/changelog"}]},{"group":"Embed Glean Feed","pages":[{"title":"Install the widget","icon":"https://mintlify.s3.us-west-1.amazonaws.com/gleanfeed/icons/filled/code.svg","href":"/widget/install"},{"title":"Use the widget with React","sidebarTitle":"React","icon":"https://mintlify.s3.us-west-1.amazonaws.com/gleanfeed/icons/filled/code.svg","href":"/widget/react"},{"title":"Configure the widget","description":"Choose the widget mode, starting view, launcher appearance, and lifecycle methods.","sidebarTitle":"Configuration","icon":"https://mintlify.s3.us-west-1.amazonaws.com/gleanfeed/icons/filled/sliders.svg","href":"/widget/configuration"},{"title":"Identify customers","sidebarTitle":"Identity","icon":"https://mintlify.s3.us-west-1.amazonaws.com/gleanfeed/icons/filled/key.svg","href":"/widget/identity"},{"title":"Widget notifications","description":"Show signed-in customers recent activity and an unread badge in launcher mode.","sidebarTitle":"Notifications","icon":"https://mintlify.s3.us-west-1.amazonaws.com/gleanfeed/icons/filled/bell.svg","href":"/widget/notifications"},{"title":"Web package compatibility","sidebarTitle":"Versions and compatibility","icon":"https://mintlify.s3.us-west-1.amazonaws.com/gleanfeed/icons/filled/code.svg","href":"/widget/versions"},{"title":"Troubleshoot the widget","sidebarTitle":"Troubleshooting","icon":"https://mintlify.s3.us-west-1.amazonaws.com/gleanfeed/icons/filled/help.svg","href":"/widget/troubleshooting"}]},{"group":"iOS SDK","pages":[{"title":"iOS SDK overview","sidebarTitle":"Overview","icon":"https://mintlify.s3.us-west-1.amazonaws.com/gleanfeed/icons/filled/book-open.svg","href":"/ios-sdk/overview"},{"title":"Install the iOS SDK","sidebarTitle":"Install","icon":"https://mintlify.s3.us-west-1.amazonaws.com/gleanfeed/icons/filled/code.svg","href":"/ios-sdk/install"},{"title":"Identify customers","sidebarTitle":"Identity","icon":"https://mintlify.s3.us-west-1.amazonaws.com/gleanfeed/icons/filled/key.svg","href":"/ios-sdk/identity"},{"title":"Self-service sign-in","sidebarTitle":"Self-service sign-in","icon":"https://mintlify.s3.us-west-1.amazonaws.com/gleanfeed/icons/filled/key.svg","href":"/ios-sdk/self-service-auth"},{"title":"Unread count","sidebarTitle":"Unread count","icon":"https://mintlify.s3.us-west-1.amazonaws.com/gleanfeed/icons/filled/bell.svg","href":"/ios-sdk/notifications"},{"title":"Diagnostics and privacy","sidebarTitle":"Diagnostics \u0026 privacy","icon":"https://mintlify.s3.us-west-1.amazonaws.com/gleanfeed/icons/filled/sliders.svg","href":"/ios-sdk/diagnostics"},{"title":"Troubleshooting","sidebarTitle":"Troubleshooting","icon":"https://mintlify.s3.us-west-1.amazonaws.com/gleanfeed/icons/filled/help.svg","href":"/ios-sdk/troubleshooting"}]}]}]},"basePath":"","title":"Identify customers - Glean Feed","deploymentId":"dpl_DPZjiNpvAcGiwobuijLfKPtJL4Ux","buildId":"dpl_DPZjiNpvAcGiwobuijLfKPtJL4Ux","dynamics":[],"chunks":[]}