Choose a loomloom platform, authenticate, and verify the active Server safely.
loomloom v0.2.1 provides two preset platforms. Choose the platform that owns your account and credential; do not infer the platform from your language, location, or download source.
loomloom login --server "https://loomloom.shengsuanyun.com/loom/v1"loomloom login --server "https://loomloom.cogfoundry.ai/loom/v1"loomloom doctor --output json
Use only the command for the platform you selected, then complete authorization in the browser. In a headless environment, add --no-browser to print the authorization URL. If browser login is unavailable or you prefer an API Token, use the Token flow below.
Continue only when healthy and token_valid are true. The result includes a generated profile, token_env, and next_action. If next_action is persist_token, store the Token under the exact environment variable named by token_env, then run loomloom doctor --output json again. Do not invent a profile or environment-variable name.For example, the default profiles normally use platform-specific variables instead of sharing one global Token:
A custom compatible Server is allowed. Pass its exact HTTPS URL and corresponding Token to doctor; do not append /loom/v1 automatically or reuse a Token from another environment. A new Server profile is saved only after verification succeeds.
An API key is issued for a particular service environment. Do not reuse it with a different host.
Send any loomloom Token only to the exact Server that issued it, and only over HTTPS. Do not place a real Token in source control, documentation, screenshots, issue reports, or shared logs.
Use Server profiles to list or switch verified environments. loomloom logout removes a saved browser credential only; it does not remove an API Token from your shell configuration.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"CogFoundry Docs","colors":{"primary":"#111111"},"logo":{"light":"https://mintcdn.com/cogfoundry-8a54217b/LHTJQzou6DrszVLD/assets/logo-mark-on-light.svg?fit=max\u0026auto=format\u0026n=LHTJQzou6DrszVLD\u0026q=85\u0026s=f1c465afd64386705c8970aa5276a3fd","dark":"https://mintcdn.com/cogfoundry-8a54217b/LHTJQzou6DrszVLD/assets/logo-mark-on-dark.svg?fit=max\u0026auto=format\u0026n=LHTJQzou6DrszVLD\u0026q=85\u0026s=0faa17caa4ef842fc317a73828b00ee7","href":"https://cogfoundry.ai/"},"favicon":{"light":"https://mintcdn.com/cogfoundry-8a54217b/LHTJQzou6DrszVLD/assets/logo-mark-on-light.svg?fit=max\u0026auto=format\u0026n=LHTJQzou6DrszVLD\u0026q=85\u0026s=f1c465afd64386705c8970aa5276a3fd","dark":"https://mintcdn.com/cogfoundry-8a54217b/LHTJQzou6DrszVLD/assets/logo-mark-on-dark.svg?fit=max\u0026auto=format\u0026n=LHTJQzou6DrszVLD\u0026q=85\u0026s=0faa17caa4ef842fc317a73828b00ee7"},"appearance":{"default":"light","strict":true},"navbar":{"primary":{"type":"button","label":"CogFoundry","href":"https://console.cogfoundry.ai/"}},"footer":{"socials":{"github":"https://github.com/cogfoundry-labs"},"links":[{"header":"Source","items":[{"label":"loomloom","href":"https://github.com/cogfoundry-labs/loomloom"},{"label":"Documentation","href":"https://github.com/cogfoundry-labs/cogfoundry-docs"}]}]},"fonts":{"family":"Inter"},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","latex":false},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cogfoundry-8a54217b","hasAudioNarration":false,"actualSubdomain":"cogfoundry-8a54217b","customDomains":["docs.cogfoundry.ai"],"gitSource":{"type":"github","owner":"cogfoundry-labs","repo":"cogfoundry-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"collectionId":"c86648b7-a765-4818-ad74-d0d6b542eef8","liveDeploymentHistoryId":"6a7f5eea528b90f3bd4ad479","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6a7f5eea528b90f3bd4ad479"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6a7f5eea528b90f3bd4ad479:success","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"Developer Reference","count":77},{"language":"default","tag":"loomloom API endpoints","count":53},{"language":"default","tag":"Documentation","count":26},{"language":"default","tag":"loomloom CLI","count":20},{"language":"default","tag":"User Templates","count":11},{"language":"default","tag":"Official Templates","count":9},{"language":"default","tag":"Operate loomloom","count":7},{"language":"default","tag":"Market Listings","count":6},{"language":"default","tag":"Market Runs","count":6},{"language":"default","tag":"Overview","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":"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":"byok-sep-25","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":"billing-updated-9-15","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}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":":root{--cogfoundry-border:#e5e5e5;--cogfoundry-sidebar:#ffffff;--cogfoundry-text:#111111;--cogfoundry-muted:#525252;--cogfoundry-accent:#09e4a7}#navbar{border-bottom:1px solid var(--cogfoundry-border)}#navbar nav a[href=\"https://console.cogfoundry.ai/\"]{color:var(--cogfoundry-text)!important;background:var(--cogfoundry-accent)!important;border-radius:10px}#navbar nav a[href=\"https://console.cogfoundry.ai/\"] span,#navbar nav a[href=\"https://console.cogfoundry.ai/\"] svg{color:var(--cogfoundry-text)!important}#navbar nav a[href=\"https://console.cogfoundry.ai/\"]>span:first-child{background:var(--cogfoundry-accent)!important}#assistant-entry,#assistant-entry-mobile{display:none!important}nav-logo img{width:30px;height:30px;object-fit:contain}nav-tabs{gap:24px}nav-tabs-item{color:var(--cogfoundry-muted);font-weight:500}nav-tabs-item[data-active]{color:var(--cogfoundry-text);font-weight:600}#sidebar{background:var(--cogfoundry-sidebar);border-right:1px solid var(--cogfoundry-border)}#sidebar-content li[data-active]{font-weight:600}#content{max-width:880px}#page-title{letter-spacing:-.03em}mdx-content p{line-height:1.75}callout,card,code-block{border-radius:12px}"}],"page":{"pagePath":"documentation/loomloom/configure-credentials","slug":"/documentation/loomloom/configure-credentials","pageMetadata":{"title":"Configure credentials","description":"Choose a loomloom platform, authenticate, and verify the active Server safely.","icon":"key-round","href":"/documentation/loomloom/configure-credentials"},"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: \"Choose a loomloom platform, authenticate, and verify the active Server safely.\"\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`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`loomloom `,_jsx(_components.code,{children:`v0.2.1`}),` provides two preset platforms. Choose the platform that owns your account and credential; do not infer the platform from your language, location, or download source.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Platform`}),_jsx(_components.th,{children:`Server`}),_jsx(_components.th,{children:`Authentication`}),_jsx(_components.th,{children:`Account links`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`ShengSuanYun`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`https://loomloom.shengsuanyun.com/loom/v1`})}),_jsx(_components.td,{children:`Browser login preferred; API Token supported`}),_jsxs(_components.td,{children:[_jsx(_components.a,{href:`https://console.shengsuanyun.com/user/keys`,children:`API keys`}),` · `,_jsx(_components.a,{href:`https://console.shengsuanyun.com/user/recharge`,children:`Recharge`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`CogFoundry`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`https://loomloom.cogfoundry.ai/loom/v1`})}),_jsx(_components.td,{children:`Browser login preferred; API Token supported`}),_jsxs(_components.td,{children:[_jsx(_components.a,{href:`https://console.cogfoundry.ai/api-keys`,children:`API keys`}),` · `,_jsx(_components.a,{href:`https://console.cogfoundry.ai/credits`,children:`Credits`})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`check-existing-configuration-first`,children:`Check existing configuration first`}),`\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:`loomloom`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` doctor`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --output`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` json`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`If `,_jsx(_components.code,{children:`healthy`}),` is `,_jsx(_components.code,{children:`true`}),`, continue with the existing profile. Do not replace a working credential unnecessarily.`]}),`\n`,_jsx(Heading,{level:`2`,id:`browser-login`,children:`Browser login`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,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:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`loomloom`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` login`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --server`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://loomloom.shengsuanyun.com/loom/v1\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`loomloom`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` login`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --server`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://loomloom.cogfoundry.ai/loom/v1\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`loomloom`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` doctor`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --output`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` json`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Use only the command for the platform you selected, then complete authorization in the browser. In a headless environment, add `,_jsx(_components.code,{children:`--no-browser`}),` to print the authorization URL. If browser login is unavailable or you prefer an API Token, use the Token flow below.`]}),`\n`,_jsx(Heading,{level:`2`,id:`api-token-flow`,children:`API Token flow`}),`\n`,_jsx(_components.p,{children:`Create a Token from the selected platform’s console, then verify the exact Server and Token together:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`loomloom`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` doctor`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --server`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"\u003cexact-server-url>\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --token`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"\u003capi-token>\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --output`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` json`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Continue only when `,_jsx(_components.code,{children:`healthy`}),` and `,_jsx(_components.code,{children:`token_valid`}),` are `,_jsx(_components.code,{children:`true`}),`. The result includes a generated `,_jsx(_components.code,{children:`profile`}),`, `,_jsx(_components.code,{children:`token_env`}),`, and `,_jsx(_components.code,{children:`next_action`}),`. If `,_jsx(_components.code,{children:`next_action`}),` is `,_jsx(_components.code,{children:`persist_token`}),`, store the Token under the exact environment variable named by `,_jsx(_components.code,{children:`token_env`}),`, then run `,_jsx(_components.code,{children:`loomloom doctor --output json`}),` again. Do not invent a profile or environment-variable name.`]}),`\n`,_jsx(_components.p,{children:`For example, the default profiles normally use platform-specific variables instead of sharing one global Token:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,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:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` LOOMLOOM_TOKEN_SHENGSUANYUN`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cshengsuanyun-api-token>\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` LOOMLOOM_TOKEN_COGFOUNDRY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003ccogfoundry-api-token>\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Always use the actual `,_jsx(_components.code,{children:`token_env`}),` returned by your CLI.`]}),`\n`,_jsx(Heading,{level:`2`,id:`custom-compatible-server`,children:`Custom compatible Server`}),`\n`,_jsxs(_components.p,{children:[`A custom compatible Server is allowed. Pass its exact HTTPS URL and corresponding Token to `,_jsx(_components.code,{children:`doctor`}),`; do not append `,_jsx(_components.code,{children:`/loom/v1`}),` automatically or reuse a Token from another environment. A new Server profile is saved only after verification succeeds.`]}),`\n`,_jsx(Heading,{level:`2`,id:`keep-the-server-and-token-paired`,children:`Keep the server and token paired`}),`\n`,_jsx(_components.p,{children:`An API key is issued for a particular service environment. Do not reuse it with a different host.`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Send any loomloom Token only to the exact Server that issued it, and only over HTTPS. Do not place a real Token in source control, documentation, screenshots, issue reports, or shared logs.`})}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.a,{href:`/developer-reference/loomloom-cli/server-profiles`,children:`Server profiles`}),` to list or switch verified environments. `,_jsx(_components.code,{children:`loomloom logout`}),` removes a saved browser credential only; it does not remove an API Token from your shell configuration.`]})]})}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":"Configure credentials","description":"Choose a loomloom platform, authenticate, and verify the active Server safely.","icon":"key-round","href":"/documentation/loomloom/configure-credentials"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Check existing configuration first","slug":"check-existing-configuration-first","depth":2,"children":[]},{"title":"Browser login","slug":"browser-login","depth":2,"children":[]},{"title":"API Token flow","slug":"api-token-flow","depth":2,"children":[]},{"title":"Custom compatible Server","slug":"custom-compatible-server","depth":2,"children":[]},{"title":"Keep the server and token paired","slug":"keep-the-server-and-token-paired","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"cogfoundry-8a54217b","siteName":"CogFoundry Docs","title":"Configure credentials - CogFoundry Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-12T04:19:56.103Z","originalFileLocation":"documentation/loomloom/configure-credentials.md"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";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=\"light\"}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=\"Choose a loomloom platform, authenticate, and verify the active Server safely.\">\u003cmeta data-mint-head name=\"application-name\" content=\"CogFoundry Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cogfoundry-8a54217b/v0GZYcFPw_5KgrE4/_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/cogfoundry-8a54217b/v0GZYcFPw_5KgrE4/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cogfoundry-8a54217b/v0GZYcFPw_5KgrE4/_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/cogfoundry-8a54217b/v0GZYcFPw_5KgrE4/_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/cogfoundry-8a54217b/v0GZYcFPw_5KgrE4/_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/cogfoundry-8a54217b/v0GZYcFPw_5KgrE4/_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/cogfoundry-8a54217b/v0GZYcFPw_5KgrE4/_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/cogfoundry-8a54217b/v0GZYcFPw_5KgrE4/_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/cogfoundry-8a54217b/v0GZYcFPw_5KgrE4/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Configure credentials - CogFoundry Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Choose a loomloom platform, authenticate, and verify the active Server safely.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"CogFoundry Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.cogfoundry.ai/documentation/loomloom/configure-credentials\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cogfoundry-8a54217b.mintlify.app/_mintlify/api/og/v2?division=Quick+start\u0026amp;title=Configure+credentials\u0026amp;description=Choose+a+loomloom+platform%2C+authenticate%2C+and+verify+the+active+Server+safely.\u0026amp;theme=568bd395c831c0c6a9a3aae3\u0026amp;signature=85815057a9734d4a40e6e5f10ae8f9aece2906627994b9111f0bb881d164d7cb\">\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=\"Configure credentials - CogFoundry Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Choose a loomloom platform, authenticate, and verify the active Server safely.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cogfoundry-8a54217b.mintlify.app/_mintlify/api/og/v2?division=Quick+start\u0026amp;title=Configure+credentials\u0026amp;description=Choose+a+loomloom+platform%2C+authenticate%2C+and+verify+the+active+Server+safely.\u0026amp;theme=568bd395c831c0c6a9a3aae3\u0026amp;signature=85815057a9734d4a40e6e5f10ae8f9aece2906627994b9111f0bb881d164d7cb\">\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/cogfoundry-8a54217b/v0GZYcFPw_5KgrE4/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"CogFoundry Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#111111\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.cogfoundry.ai/documentation/loomloom/configure-credentials\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/documentation/loomloom/configure-credentials.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.cogfoundry.ai/#organization\",\"name\":\"CogFoundry Docs\",\"url\":\"https://docs.cogfoundry.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cogfoundry-8a54217b/LHTJQzou6DrszVLD/assets/logo-mark-on-light.svg?fit=max\u0026auto=format\u0026n=LHTJQzou6DrszVLD\u0026q=85\u0026s=f1c465afd64386705c8970aa5276a3fd\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.cogfoundry.ai#website\",\"name\":\"CogFoundry Docs\",\"url\":\"https://docs.cogfoundry.ai\",\"publisher\":{\"@id\":\"https://docs.cogfoundry.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.cogfoundry.ai/documentation/loomloom/configure-credentials#webpage\",\"url\":\"https://docs.cogfoundry.ai/documentation/loomloom/configure-credentials\",\"name\":\"Configure credentials\",\"description\":\"Choose a loomloom platform, authenticate, and verify the active Server safely.\",\"dateModified\":\"2026-08-12T04:19:56.103Z\",\"isPartOf\":{\"@id\":\"https://docs.cogfoundry.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.cogfoundry.ai/documentation/loomloom/configure-credentials#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.cogfoundry.ai/documentation/loomloom/configure-credentials#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Quick start\",\"item\":\"https://docs.cogfoundry.ai/documentation/loomloom/installation\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Configure credentials\",\"item\":\"https://docs.cogfoundry.ai/documentation/loomloom/configure-credentials\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.cogfoundry.ai/documentation/loomloom/configure-credentials#article\",\"headline\":\"Configure credentials\",\"name\":\"Configure credentials\",\"description\":\"Choose a loomloom platform, authenticate, and verify the active Server safely.\",\"url\":\"https://docs.cogfoundry.ai/documentation/loomloom/configure-credentials\",\"mainEntityOfPage\":{\"@id\":\"https://docs.cogfoundry.ai/documentation/loomloom/configure-credentials#webpage\"},\"dateModified\":\"2026-08-12T04:19:56.103Z\",\"publisher\":{\"@id\":\"https://docs.cogfoundry.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.cogfoundry.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"CogFoundry Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"CogFoundry Docs","nav":{"global":null,"tabs":[{"tab":"Documentation","icon":"book-open","groups":[{"group":"Overview","pages":[{"title":"Quickstart","icon":"rocket","href":"/documentation/overview/quickstart"},{"title":"What is CogFoundry","icon":"factory","href":"/documentation/overview/what-is-cogfoundry"},{"title":"Core Concepts","icon":"boxes","href":"/documentation/overview/core-concepts"},{"title":"Product Map","icon":"map","href":"/documentation/overview/product-map"},{"title":"FAQ","icon":"book-open","href":"/documentation/overview/faq"}]},{"group":"loomloom","pages":[{"title":"loomloom overview","icon":"workflow","href":"/documentation/loomloom/overview"},{"title":"AI work as software","icon":"binary","href":"/documentation/loomloom/why-ai-loops"}]},{"group":"Quick start","pages":[{"title":"Install loomloom","description":"Install the loomloom CLI and its integration package from GitHub.","icon":"download","href":"/documentation/loomloom/installation"},{"title":"Configure credentials","icon":"key-round","href":"/documentation/loomloom/configure-credentials"},{"title":"Quick Start","description":"Run an official loomloom workflow from an Excel workbook.","icon":"rocket","href":"/documentation/loomloom/quick-start"}]},{"group":"Guides","pages":[{"title":"loomloom workflows","icon":"route","href":"/documentation/loomloom/workflows"},{"title":"Create reusable AI work IR","icon":"blocks","href":"/documentation/loomloom/private-templates"},{"title":"Build and use SkillBots","icon":"store","href":"/documentation/loomloom/skillbots-and-market"}]},{"group":"Operate loomloom","pages":[{"title":"Supported agents","icon":"bot","href":"/documentation/loomloom/supported-agents"},{"title":"Supported Models","icon":"blocks","href":"/documentation/loomloom/supported-models"},{"title":"Templates","icon":"panels-top-left","href":"/documentation/loomloom/templates"},{"title":"Official templates","icon":"badge-check","href":"/documentation/loomloom/official-templates"},{"title":"Excel workbook workflows","icon":"sheet","href":"/documentation/loomloom/excel-workbook-workflows"},{"title":"Run and monitor workflows","icon":"activity","href":"/documentation/loomloom/run-and-monitor-workflows"},{"title":"Artifacts and results","icon":"package-open","href":"/documentation/loomloom/artifacts-and-results"}]},{"group":"Reference and support","pages":[{"title":"Command reference","icon":"terminal","href":"/documentation/loomloom/command-reference"},{"title":"Security notes","icon":"shield-check","href":"/documentation/loomloom/security-notes"},{"title":"Troubleshooting","icon":"wrench","href":"/documentation/loomloom/troubleshooting"},{"title":"Uninstall","icon":"trash-2","href":"/documentation/loomloom/uninstall"}]},{"group":"Privacy","pages":[{"title":"Data Collection","icon":"shield-check","href":"/documentation/privacy/data-collection"},{"title":"Provider Logging","icon":"logs","href":"/documentation/privacy/provider-logging"}]}]},{"tab":"Developer Reference","icon":"code","pages":[{"title":"Developer Reference","href":"/developer-reference/loomloom-cli/overview"}]}]},"basePath":"","title":"Configure credentials - CogFoundry Docs","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":[],"chunks":[]}