Use Factory (droid) with ITAR and FedRAMP High data. Sign in with your company account; there is no API key to handle.
The gateway enforces the compliance boundary for the models it serves, but it does not control client-side behavior — local tool execution, file access, outbound destinations, etc. Client-side behavior is the customer’s responsibility.
Factory’s custom models (“BYOK”) point droid at the Consus Gateway. Instead of pasting an API key, each developer installs a small credential helper once. The first time droid needs a credential, the helper opens a browser tab to the Consus portal. You sign in with your company account, and the helper receives a key issued to you. Nobody sees or copies a key, and IT has nothing to push to your computer.
One command, no admin rights. It places a single shell script at ~/.consus/helper.sh. The helper is the same for every tool; Enterprise SSO sign-in covers it in full.
macOS / Linux / WSL
Windows (PowerShell)
curl -fsSL https://portal.consus.io/cli/install.sh | sh
The helper is plain, readable source (helper.sh is POSIX shell; helper.ps1 is PowerShell). It talks only to portal.consus.io and stores the key it receives in ~/.consus/key, readable by your user only.
Compliance level. The :fedramp-high suffix picks the authorization boundary. Use :itar for ITAR / export-controlled work. Don’t mix levels in one session. See Models for every ID and level.
Provider. Claude models use "provider": "anthropic" with the bare base URL. OpenAI and Gemini models use "provider": "openai" with https://api.consus.io/v1.
Helper refresh.apiKeyHelperTtlMs is how often Factory re-runs the helper (default five minutes). One minute means a key revoked in the portal stops working within a minute; with a key present each run takes milliseconds and makes no network call.
Organization-wide. A Factory org admin can push these same customModels through Factory’s org-managed settings so nobody edits a file. Factory refuses static apiKey values in org-managed models and expects exactly this apiKeyHelper form. The org’s model policy must allow custom models.
Personal or org-managed settings only. Factory ignores apiKeyHelper in project-level settings and in a --settings file passed on the command line; put it in ~/.factory/settings.json or the org-managed settings.
Start droid and send any prompt on a Consus model. Your browser opens to the Consus portal:
Sign in with your company account (your organization’s SSO, plus the portal’s security-key or passkey check).
The page shows the tool and the computer asking for access, for example Factory on eric-mbp. Only approve a request you just started on your own computer.
Click Approve. You can close the tab; droid continues on its own.
The helper keeps the key for next time, so this happens once per computer. Factory re-runs the helper every few minutes; while a key is present that takes milliseconds and makes no network call.If droid reports Failed to obtain an API key from the configured apiKeyHelper command on that first prompt, the sign-in simply hadn’t finished yet. Complete it in the browser and send the prompt again. You can also sign in ahead of time:
shows who is signed in, the organization, and the key’s expiry. In droid, /model lists the Consus entries. For scripts, custom models are addressed by an ID Factory builds from the display name, custom:<display-name-with-dashes>-0, for example:
sh ~/.consus/helper.sh logout revokes the key and deletes it from this computer. The next prompt signs in again.
sh ~/.consus/helper.sh login switches accounts: it signs in again and revokes the key it replaces.
To disable a key you can’t reach (lost laptop, someone leaving), revoke it in the Consus portal under your keys. Its label includes the computer name. Admins can revoke any key in their organization.
See Enterprise SSO sign-in: what it stores, what it talks to, and how revocation works. In short, it talks only to portal.consus.io, keeps the key in ~/.consus/key with user-only permissions, never prints anything but the key, and contains no secrets of its own.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/schema.json","name":"Consus Gateway","colors":{"primary":"#3F51B5","light":"#7986CB","dark":"#283593"},"logo":{"light":"https://mintcdn.com/consusindustries/5Ar8cTZr0WOceivK/assets/logo-light.svg?fit=max\u0026auto=format\u0026n=5Ar8cTZr0WOceivK\u0026q=85\u0026s=5578a82a88daedc050ed10735a2e261e","dark":"https://mintcdn.com/consusindustries/5Ar8cTZr0WOceivK/assets/logo-dark.svg?fit=max\u0026auto=format\u0026n=5Ar8cTZr0WOceivK\u0026q=85\u0026s=c99f1de54c8bc066db47c65b20ddef43"},"favicon":"https://mintcdn.com/consusindustries/5Ar8cTZr0WOceivK/favicon.svg?fit=max\u0026auto=format\u0026n=5Ar8cTZr0WOceivK\u0026q=85\u0026s=a7bede8f55dd38ac429fbb3d5134b4a5","styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"consusindustries","hasAudioNarration":false,"actualSubdomain":"consusindustries","customDomains":["gateway.consus.io"],"gitSource":{"type":"github","owner":"consusindustries","repo":"gov_open_router","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae3d01b6bb2c47e052988d4","collectionId":"7cc456c2-4962-41f3-964d-6772045d5b6b","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae3d01b6bb2c47e052988d4"},"entitlements":{},"buildId":"6ae3d01b6bb2c47e052988d4","clientVersion":"0.0.4074","searchFilterCounts":[{"language":"default","tag":"Integrations","count":12},{"language":"default","tag":"API Reference","count":8},{"language":"default","tag":"Product","count":6},{"language":"default","tag":"Getting Started","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","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":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","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":"assistant-v5","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","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":"workos-signup","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":"workos-enabled","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":"sso-setup-deadline-banner","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":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"integrations/factory","slug":"/integrations/factory","pageMetadata":{"title":"Factory","description":"Use Factory (droid) with ITAR and FedRAMP High data. Sign in with your company account; there is no API key to handle.","href":"/integrations/factory"},"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 Factory (droid) with ITAR and FedRAMP High data. Sign in with your company account; there is no API key to handle.\"\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`,em:`em`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tab,Table,Tabs,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Warning,{children:_jsxs(_components.p,{children:[`The gateway enforces the compliance boundary for the models it serves, but it does `,_jsx(_components.strong,{children:`not`}),` control client-side behavior — local tool execution, file access, outbound destinations, etc. Client-side behavior is the customer’s responsibility.`]})}),`\n`,_jsxs(_components.p,{children:[`Factory’s custom models (“BYOK”) point droid at the Consus Gateway. Instead of pasting an API key, each developer installs a small `,_jsx(_components.strong,{children:`credential helper`}),` once. The first time droid needs a credential, the helper opens a browser tab to the Consus portal. You sign in with your company account, and the helper receives a key issued to you. Nobody sees or copies a key, and IT has nothing to push to your computer.`]}),`\n`,_jsx(Heading,{level:`2`,id:`before-you-start`,children:`Before you start`}),`\n`,_jsx(_components.p,{children:`You need:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Factory installed.`}),` See the `,_jsx(_components.a,{href:`https://docs.factory.ai`,children:`Factory docs`}),` if you don’t have it yet.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Access to the Consus portal`}),` through your organization’s SSO. Ask your Consus admin if `,_jsx(_components.code,{children:`portal.consus.io`}),` doesn’t recognize your account.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`step-1-install-the-credential-helper`,children:`Step 1: Install the credential helper`}),`\n`,_jsxs(_components.p,{children:[`One command, no admin rights. It places a single shell script at `,_jsx(_components.code,{children:`~/.consus/helper.sh`}),`. The helper is the same for every tool; `,_jsx(_components.a,{href:`/credential-helper`,children:`Enterprise SSO sign-in`}),` covers it in full.`]}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`macOS / Linux / WSL`,id:`macos-%2F-linux-%2F-wsl`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -fsSL`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://portal.consus.io/cli/install.sh`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` sh`})]}),`\n`]})})})}),_jsx(Tab,{title:`Windows (PowerShell)`,id:`windows-powershell`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`powershell`,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:`powershell`,children:_jsxs(_components.code,{language:`powershell`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`New-Item`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` -`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`ItemType Directory `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`-`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`Force `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#CE9178`},children:`$HOME`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\\\\.consus\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` Out-Null`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`Invoke-WebRequest`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` https:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`//`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`portal.consus.io`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`cli`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`helper.ps1 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`-`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`OutFile `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#CE9178`},children:`$HOME`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\\\\.consus\\\\helper.ps1\"`})]}),`\n`]})})})})]}),`\n`,_jsxs(_components.p,{children:[`The helper is plain, readable source (`,_jsx(_components.code,{children:`helper.sh`}),` is POSIX shell; `,_jsx(_components.code,{children:`helper.ps1`}),` is PowerShell). It talks only to `,_jsx(_components.code,{children:`portal.consus.io`}),` and stores the key it receives in `,_jsx(_components.code,{children:`~/.consus/key`}),`, readable by your user only.`]}),`\n`,_jsx(Heading,{level:`2`,id:`step-2-point-factory-at-the-gateway`,children:`Step 2: Point Factory at the gateway`}),`\n`,_jsxs(_components.p,{children:[`Open `,_jsx(_components.code,{children:`~/.factory/settings.json`}),` and add the Consus models under `,_jsx(_components.code,{children:`customModels`}),`. Set `,_jsx(_components.code,{children:`apiKeyHelper`}),` to the helper, not to a key.`]}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`macOS / Linux / WSL`,id:`macos-%2F-linux-%2F-wsl-2`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`34`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`34`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"customModels\"`}),_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"claude-opus-5-5:fedramp-high\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"displayName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Consus Opus 5.5 (FedRAMP High)\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"baseUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.consus.io\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"provider\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"anthropic\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"maxOutputTokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`64000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"maxContextLimit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1000000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"apiKeyHelper\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sh ~/.consus/helper.sh --tool factory\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"apiKeyHelperTtlMs\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`60000`})]}),`\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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"claude-sonnet-5-5:fedramp-high\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"displayName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Consus Sonnet 5.5 (FedRAMP High)\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"baseUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.consus.io\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"provider\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"anthropic\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"maxOutputTokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`64000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"maxContextLimit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1000000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"apiKeyHelper\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sh ~/.consus/helper.sh --tool factory\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"apiKeyHelperTtlMs\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`60000`})]}),`\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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gpt-5.6-luna:fedramp-high\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"displayName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Consus GPT-5.6 Luna (FedRAMP High)\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"baseUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.consus.io/v1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"provider\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"openai\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"maxOutputTokens\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`64000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"maxContextLimit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1000000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"apiKeyHelper\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sh ~/.consus/helper.sh --tool factory\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"apiKeyHelperTtlMs\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`60000`})]}),`\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`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsxs(Tab,{title:`Windows`,id:`windows`,children:[_jsxs(_components.p,{children:[`Same entries, with the PowerShell helper as the command (replace `,_jsx(_components.code,{children:`\u003cyou>`}),` with your Windows username):`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"apiKeyHelper\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"powershell -NoProfile -ExecutionPolicy Bypass -File C:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\\\\`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Users`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\\\\`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\u003cyou>`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\\\\`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`.consus`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\\\\`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`helper.ps1 --tool factory\"`})]}),`\n`]})})})]})]}),`\n`,_jsx(_components.p,{children:`Notes:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Compliance level.`}),` The `,_jsx(_components.code,{children:`:fedramp-high`}),` suffix picks the authorization boundary. Use `,_jsx(_components.code,{children:`:itar`}),` for ITAR / export-controlled work. Don’t mix levels in one session. See `,_jsx(_components.a,{href:`/models`,children:`Models`}),` for every ID and level.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Provider.`}),` Claude models use `,_jsx(_components.code,{children:`\"provider\": \"anthropic\"`}),` with the bare base URL. OpenAI and Gemini models use `,_jsx(_components.code,{children:`\"provider\": \"openai\"`}),` with `,_jsx(_components.code,{children:`https://api.consus.io/v1`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Helper refresh.`}),` `,_jsx(_components.code,{children:`apiKeyHelperTtlMs`}),` is how often Factory re-runs the helper (default five minutes). One minute means a key revoked in the portal stops working within a minute; with a key present each run takes milliseconds and makes no network call.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Organization-wide.`}),` A Factory org admin can push these same `,_jsx(_components.code,{children:`customModels`}),` through Factory’s org-managed settings so nobody edits a file. Factory refuses static `,_jsx(_components.code,{children:`apiKey`}),` values in org-managed models and expects exactly this `,_jsx(_components.code,{children:`apiKeyHelper`}),` form. The org’s model policy must allow custom models.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Personal or org-managed settings only.`}),` Factory ignores `,_jsx(_components.code,{children:`apiKeyHelper`}),` in project-level settings and in a `,_jsx(_components.code,{children:`--settings`}),` file passed on the command line; put it in `,_jsx(_components.code,{children:`~/.factory/settings.json`}),` or the org-managed settings.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`step-3-sign-in`,children:`Step 3: Sign in`}),`\n`,_jsx(_components.p,{children:`Start droid and send any prompt on a Consus model. Your browser opens to the Consus portal:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Sign in with your company account (your organization’s SSO, plus the portal’s security-key or passkey check).`}),`\n`,_jsxs(_components.li,{children:[`The page shows the tool and the computer asking for access, for example `,_jsx(_components.em,{children:`Factory on eric-mbp`}),`. Only approve a request you just started on your own computer.`]}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`Approve`}),`. You can close the tab; droid continues on its own.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`The helper keeps the key for next time, so this happens once per computer. Factory re-runs the helper every few minutes; while a key is present that takes milliseconds and makes no network call.`}),`\n`,_jsxs(_components.p,{children:[`If droid reports `,_jsx(_components.code,{children:`Failed to obtain an API key from the configured apiKeyHelper command`}),` on that first prompt, the sign-in simply hadn’t finished yet. Complete it in the browser and send the prompt again. You can also sign in ahead of time:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sh`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ~/.consus/helper.sh`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` login`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`verify`,children:`Verify`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sh`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ~/.consus/helper.sh`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` status`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`shows who is signed in, the organization, and the key’s expiry. In droid, `,_jsx(_components.code,{children:`/model`}),` lists the Consus entries. For scripts, custom models are addressed by an ID Factory builds from the display name, `,_jsx(_components.code,{children:`custom:\u003cdisplay-name-with-dashes>-0`}),`, for example:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`droid`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` exec`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -m`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"custom:Consus-Sonnet-5.5-(FedRAMP-High)-0\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"say hello\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`If you get the ID wrong, droid’s `,_jsx(_components.code,{children:`Invalid model`}),` message lists the exact IDs it knows.`]}),`\n`,_jsx(Heading,{level:`2`,id:`sign-out-or-switch-accounts`,children:`Sign out or switch accounts`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`sh ~/.consus/helper.sh logout`}),` revokes the key and deletes it from this computer. The next prompt signs in again.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`sh ~/.consus/helper.sh login`}),` switches accounts: it signs in again and revokes the key it replaces.`]}),`\n`,_jsx(_components.li,{children:`To disable a key you can’t reach (lost laptop, someone leaving), revoke it in the Consus portal under your keys. Its label includes the computer name. Admins can revoke any key in their organization.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:`What you see`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Why`}),_jsx(_components.th,{style:{textAlign:`left`},children:`What to do`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`Failed to obtain an API key from the configured apiKeyHelper command`})}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`You hadn’t finished signing in, or the helper isn’t at the path in `,_jsx(_components.code,{children:`apiKeyHelper`})]}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`Finish signing in and send the prompt again, or run `,_jsx(_components.code,{children:`sh ~/.consus/helper.sh login`}),`. Check the path with `,_jsx(_components.code,{children:`ls ~/.consus/helper.sh`})]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{style:{textAlign:`left`},children:[_jsx(_components.code,{children:`403 Forbidden`}),` from the gateway`]}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`The key was revoked or has expired. Factory keeps sending its last key until `,_jsx(_components.code,{children:`apiKeyHelperTtlMs`}),` passes`]}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`Run `,_jsx(_components.code,{children:`sh ~/.consus/helper.sh logout`}),`, wait for the TTL (one minute with the settings above), then send a prompt to sign in again`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{style:{textAlign:`left`},children:[_jsx(_components.code,{children:`Invalid model: …`}),` from `,_jsx(_components.code,{children:`droid exec -m`})]}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`Custom models aren’t selected by their `,_jsx(_components.code,{children:`model`}),` field`]}),_jsxs(_components.td,{style:{textAlign:`left`},children:[`Use the `,_jsx(_components.code,{children:`custom:…-0`}),` form shown under `,_jsx(_components.strong,{children:`Verify`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`The browser never opens (SSH session, container)`}),_jsx(_components.td,{style:{textAlign:`left`},children:`There is no desktop to open it on`}),_jsx(_components.td,{style:{textAlign:`left`},children:`The helper prints the sign-in link instead. Open it on any device, then try again`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`Factory says custom models aren’t allowed`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Your org’s Factory model policy`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Ask your Factory org admin to allow custom models`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`what-the-helper-does-and-doesn’t-do`,children:`What the helper does and doesn’t do`}),`\n`,_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/credential-helper`,children:`Enterprise SSO sign-in`}),`: what it stores, what it talks to, and how revocation works. In short, it talks only to `,_jsx(_components.code,{children:`portal.consus.io`}),`, keeps the key in `,_jsx(_components.code,{children:`~/.consus/key`}),` with user-only permissions, never prints anything but the key, and contains no secrets of its own.`]})]})}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":"Factory","description":"Use Factory (droid) with ITAR and FedRAMP High data. Sign in with your company account; there is no API key to handle.","href":"/integrations/factory"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Before you start","slug":"before-you-start","depth":2,"children":[]},{"title":"Step 1: Install the credential helper","slug":"step-1-install-the-credential-helper","depth":2,"children":[]},{"title":"Step 2: Point Factory at the gateway","slug":"step-2-point-factory-at-the-gateway","depth":2,"children":[]},{"title":"Step 3: Sign in","slug":"step-3-sign-in","depth":2,"children":[]},{"title":"Verify","slug":"verify","depth":2,"children":[]},{"title":"Sign out or switch accounts","slug":"sign-out-or-switch-accounts","depth":2,"children":[]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[]},{"title":"What the helper does and doesn’t do","slug":"what-the-helper-does-and-doesn’t-do","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"consusindustries","siteName":"Consus Gateway","title":"Factory - Consus Gateway","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-22T23:12:15.251Z","originalFileLocation":"integrations/factory.md"},"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 Factory (droid) with ITAR and FedRAMP High data. Sign in with your company account; there is no API key to handle.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Consus Gateway\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/consusindustries/L6dZu_Z4WBC9_u_R/_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=\"/mintlify-assets/_mintlify/favicons/consusindustries/L6dZu_Z4WBC9_u_R/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/consusindustries/L6dZu_Z4WBC9_u_R/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/consusindustries/L6dZu_Z4WBC9_u_R/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/consusindustries/L6dZu_Z4WBC9_u_R/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/consusindustries/L6dZu_Z4WBC9_u_R/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/consusindustries/L6dZu_Z4WBC9_u_R/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/consusindustries/L6dZu_Z4WBC9_u_R/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/consusindustries/L6dZu_Z4WBC9_u_R/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Factory - Consus Gateway\">\u003cmeta data-mint-head property=\"og:description\" content=\"Use Factory (droid) with ITAR and FedRAMP High data. Sign in with your company account; there is no API key to handle.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Consus Gateway\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://gateway.consus.io/integrations/factory\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://consusindustries.mintlify.site/_mintlify/api/og/v2?division=Integrations\u0026amp;title=Factory\u0026amp;description=Use+Factory+%28droid%29+with+ITAR+and+FedRAMP+High+data.+Sign+in+with+your+company+account%3B+there+is+no+API+key+to+handle.\u0026amp;theme=6d4263ed1b817a637531cb20\u0026amp;signature=b91fd4930828b2364bfa4d76ae50bc752800fb0a01a1e161dc00cadcb0c5510b\">\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=\"Factory - Consus Gateway\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Use Factory (droid) with ITAR and FedRAMP High data. Sign in with your company account; there is no API key to handle.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://consusindustries.mintlify.site/_mintlify/api/og/v2?division=Integrations\u0026amp;title=Factory\u0026amp;description=Use+Factory+%28droid%29+with+ITAR+and+FedRAMP+High+data.+Sign+in+with+your+company+account%3B+there+is+no+API+key+to+handle.\u0026amp;theme=6d4263ed1b817a637531cb20\u0026amp;signature=b91fd4930828b2364bfa4d76ae50bc752800fb0a01a1e161dc00cadcb0c5510b\">\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=\"/mintlify-assets/_mintlify/favicons/consusindustries/L6dZu_Z4WBC9_u_R/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Consus Gateway\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3F51B5\">\u003clink data-mint-head rel=\"canonical\" href=\"https://gateway.consus.io/integrations/factory\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/integrations/factory.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://gateway.consus.io/#organization\",\"name\":\"Consus Gateway\",\"url\":\"https://gateway.consus.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/consusindustries/5Ar8cTZr0WOceivK/assets/logo-light.svg?fit=max\u0026auto=format\u0026n=5Ar8cTZr0WOceivK\u0026q=85\u0026s=5578a82a88daedc050ed10735a2e261e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://gateway.consus.io#website\",\"name\":\"Consus Gateway\",\"url\":\"https://gateway.consus.io\",\"publisher\":{\"@id\":\"https://gateway.consus.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://gateway.consus.io/integrations/factory#webpage\",\"url\":\"https://gateway.consus.io/integrations/factory\",\"name\":\"Factory\",\"description\":\"Use Factory (droid) with ITAR and FedRAMP High data. Sign in with your company account; there is no API key to handle.\",\"dateModified\":\"2026-10-22T23:12:15.251Z\",\"isPartOf\":{\"@id\":\"https://gateway.consus.io#website\"},\"breadcrumb\":{\"@id\":\"https://gateway.consus.io/integrations/factory#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://gateway.consus.io/integrations/factory#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Integrations\",\"item\":\"https://gateway.consus.io/credential-helper\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Factory\",\"item\":\"https://gateway.consus.io/integrations/factory\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://gateway.consus.io/integrations/factory#article\",\"headline\":\"Factory\",\"name\":\"Factory\",\"description\":\"Use Factory (droid) with ITAR and FedRAMP High data. Sign in with your company account; there is no API key to handle.\",\"url\":\"https://gateway.consus.io/integrations/factory\",\"mainEntityOfPage\":{\"@id\":\"https://gateway.consus.io/integrations/factory#webpage\"},\"dateModified\":\"2026-10-22T23:12:15.251Z\",\"publisher\":{\"@id\":\"https://gateway.consus.io/#organization\"},\"isPartOf\":{\"@id\":\"https://gateway.consus.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Consus Gateway\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Consus Gateway","nav":{"global":null,"groups":[{"group":"Product","pages":[{"title":"Overview","href":"/overview"},{"title":"Pricing","href":"/pricing"},{"title":"Security","href":"/security"},{"title":"Privacy Policy","href":"/privacy"},{"title":"Customer Responsibility","href":"/customer-responsibility"},{"title":"Report a Vulnerability","href":"/security-disclosure"}]},{"group":"Getting Started","pages":[{"title":"Quickstart","href":"/getting-started"},{"title":"Models","href":"/models"},{"title":"Authentication","href":"/authentication"},{"title":"Rate Limits","href":"/rate-limits"},{"title":"Agent Harnesses \u0026 Context Windows","href":"/agent-harnesses"}]},{"group":"API Reference","pages":[{"title":"Chat Completions","href":"/endpoints/chat-completions"},{"title":"Messages","href":"/endpoints/messages"},{"title":"Responses","href":"/endpoints/responses"},{"title":"Embeddings","href":"/endpoints/embeddings"},{"title":"List Models","href":"/endpoints/models"},{"title":"Health Check","href":"/endpoints/health"},{"title":"Management API","href":"/management-api"},{"title":"Errors","href":"/errors"}]},{"group":"Integrations","pages":[{"title":"Enterprise SSO sign-in","sidebarTitle":"SSO sign-in (Enterprise)","href":"/credential-helper"},{"title":"Pi","href":"/integrations/pi"},{"title":"Claude Code","description":"Use Claude Code with ITAR and FedRAMP High data","href":"/integrations/claude-code"},{"title":"Factory","href":"/integrations/factory"},{"title":"Claude Desktop","description":"Use Claude Desktop with the Consus Gateway via the built-in third-party inference mode.","href":"/integrations/claude-desktop"},{"title":"ChatGPT Desktop","href":"/integrations/chatgpt-desktop"},{"title":"Codex CLI","href":"/integrations/codex"},{"title":"Grok Build","href":"/integrations/grok-build"},{"title":"OpenCode","href":"/integrations/opencode"},{"title":"Cline","href":"/integrations/cline"},{"title":"VS Code Copilot","href":"/integrations/vscode-copilot"},{"title":"LiteLLM","href":"/integrations/litellm"}]}]},"basePath":"","title":"Factory - Consus Gateway","buildId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","deploymentId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","dynamics":[],"chunks":[]}