By default, credentials are saved to ~/.nt3/config.json with 600 (owner read/write only) file permissions.Folder-scoped login — use the --local flag to save credentials to .nt3.local.json in the current directory instead:
nt3 login --local -t entri_your_token_here
This is useful when you need different tokens for different projects on the same machine. The local config takes priority over the global config.
Add .nt3.local.json to your .gitignore to avoid accidentally committing credentials. The CLI prints a reminder when you use --local.
nt3 logout # Remove token from ~/.nt3/config.jsonnt3 logout --local # Remove token from .nt3.local.json
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Entri","colors":{"primary":"#10b981","light":"#34d399","dark":"#059669"},"logo":{"light":"https://mintcdn.com/experiencelab/LuhZSKnQCEXwR8m3/logo-light.svg?fit=max\u0026auto=format\u0026n=LuhZSKnQCEXwR8m3\u0026q=85\u0026s=4e336388039af751be03c6165094a8d4","dark":"https://mintcdn.com/experiencelab/LuhZSKnQCEXwR8m3/logo-dark.svg?fit=max\u0026auto=format\u0026n=LuhZSKnQCEXwR8m3\u0026q=85\u0026s=1b388ad9cd1c81f684f1dd81353979e1"},"favicon":"https://mintcdn.com/experiencelab/LuhZSKnQCEXwR8m3/logo-light.svg?fit=max\u0026auto=format\u0026n=LuhZSKnQCEXwR8m3\u0026q=85\u0026s=4e336388039af751be03c6165094a8d4","styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"experiencelab","hasAudioNarration":false,"actualSubdomain":"experiencelab","customDomains":["docs.nt3.io"],"gitSource":{"type":"github","owner":"nt3-io","repo":"platform","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ab685eda2050f730ed98fc9","collectionId":"bfffb0a7-535e-40f7-80f5-2ad24bb211e1","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ab685eda2050f730ed98fc9"},"entitlements":{},"buildId":"6ab685eda2050f730ed98fc9","clientVersion":"0.0.3971","searchFilterCounts":[{"language":"default","tag":"Developers","count":24},{"language":"default","tag":"API Reference","count":18},{"language":"default","tag":"Platform","count":18},{"language":"default","tag":"Endpoints","count":13},{"language":"default","tag":"CLI","count":13},{"language":"default","tag":"Features","count":9},{"language":"default","tag":"Getting Started","count":6},{"language":"default","tag":"Overview","count":5},{"language":"default","tag":"Integrations","count":5},{"language":"default","tag":"Concepts","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":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":"editor-v7-file-tree","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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"editor-agent-model-picker","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":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"developers/cli/login","slug":"/developers/cli/login","pageMetadata":{"title":"nt3 login","description":"Authenticate the CLI with your Entri account.","href":"/developers/cli/login"},"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: \"Authenticate the CLI with your Entri account.\"\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={code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,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:[_jsx(_components.p,{children:`Authenticate the CLI with an Entri API token. The token is stored locally and used automatically for all subsequent commands.`}),`\n`,_jsx(Heading,{level:`2`,id:`usage`,children:`Usage`}),`\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:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`nt3`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` login`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [options]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# alias: nt3 auth`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`interactive-mode`,children:`Interactive mode`}),`\n`,_jsxs(_components.p,{children:[`Running `,_jsx(_components.code,{children:`nt3 login`}),` without flags opens an interactive prompt:`]}),`\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:`nt3`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` login`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{numberOfLines:`5`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`To create an API token, visit your nt3 dashboard > Settings > API Tokens`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Paste your API token: ****`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Login successful! Token saved to ~/.nt3/config.json`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`non-interactive-mode`,children:`Non-interactive mode`}),`\n`,_jsxs(_components.p,{children:[`Pass the token directly with the `,_jsx(_components.code,{children:`-t`}),` flag for use in scripts and CI/CD:`]}),`\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:`nt3`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` login`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -t`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` entri_your_token_here`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`options`,children:`Options`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`-t, --token \u003ctoken>`})}),_jsx(_components.td,{children:`API token (skips the interactive prompt)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`-u, --api-url \u003curl>`})}),_jsxs(_components.td,{children:[`Custom API URL (default: `,_jsx(_components.code,{children:`https://app.nt3.io`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`-l, --local`})}),_jsxs(_components.td,{children:[`Save credentials to `,_jsx(_components.code,{children:`.nt3.local.json`}),` instead of the global config`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`where-credentials-are-stored`,children:`Where credentials are stored`}),`\n`,_jsxs(_components.p,{children:[`By default, credentials are saved to `,_jsx(_components.code,{children:`~/.nt3/config.json`}),` with `,_jsx(_components.code,{children:`600`}),` (owner read/write only) file permissions.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Folder-scoped login`}),` — use the `,_jsx(_components.code,{children:`--local`}),` flag to save credentials to `,_jsx(_components.code,{children:`.nt3.local.json`}),` in the current directory instead:`]}),`\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:`nt3`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` login`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --local`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -t`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` entri_your_token_here`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`This is useful when you need different tokens for different projects on the same machine. The local config takes priority over the global config.`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Add `,_jsx(_components.code,{children:`.nt3.local.json`}),` to your `,_jsx(_components.code,{children:`.gitignore`}),` to avoid accidentally committing credentials. The CLI prints a reminder when you use `,_jsx(_components.code,{children:`--local`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`token-priority-order`,children:`Token priority order`}),`\n`,_jsx(_components.p,{children:`The CLI resolves which token to use in this order:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`NT3_API_TOKEN`}),` environment variable (highest priority)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`.nt3.local.json`}),` in the current working directory`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`~/.nt3/config.json`}),` (global)`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Run `,_jsx(_components.code,{children:`nt3 status`}),` at any time to see which token source is currently active.`]}),`\n`,_jsx(Heading,{level:`2`,id:`custom-api-url`,children:`Custom API URL`}),`\n`,_jsx(_components.p,{children:`If you are running Entri on a self-hosted or staging instance, pass the base URL:`}),`\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:`nt3`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` login`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -t`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` entri_your_token`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -u`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://staging.yourcompany.com`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The custom URL is saved alongside the token and used for all subsequent API calls.`}),`\n`,_jsx(Heading,{level:`2`,id:`token-validation`,children:`Token validation`}),`\n`,_jsxs(_components.p,{children:[`The CLI validates that your token starts with `,_jsx(_components.code,{children:`entri_`}),` before saving it. If the token format is invalid, login will fail with an error:`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Invalid token format. Tokens should start with \"entri_\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`logging-out`,children:`Logging out`}),`\n`,_jsx(_components.p,{children:`To remove stored credentials:`}),`\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:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`nt3`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` logout`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Remove token from ~/.nt3/config.json`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`nt3`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` logout`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --local`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Remove token from .nt3.local.json`})]}),`\n`]})})})]})}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":"nt3 login","description":"Authenticate the CLI with your Entri account.","href":"/developers/cli/login"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Usage","slug":"usage","depth":2,"children":[]},{"title":"Interactive mode","slug":"interactive-mode","depth":2,"children":[]},{"title":"Non-interactive mode","slug":"non-interactive-mode","depth":2,"children":[]},{"title":"Options","slug":"options","depth":2,"children":[]},{"title":"Where credentials are stored","slug":"where-credentials-are-stored","depth":2,"children":[]},{"title":"Token priority order","slug":"token-priority-order","depth":2,"children":[]},{"title":"Custom API URL","slug":"custom-api-url","depth":2,"children":[]},{"title":"Token validation","slug":"token-validation","depth":2,"children":[]},{"title":"Logging out","slug":"logging-out","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"experiencelab","siteName":"Entri","title":"nt3 login - Entri","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-02-19T13:44:56.520Z","originalFileLocation":"developers/cli/login.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Authenticate the CLI with your Entri account.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Entri\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/experiencelab/IHetxM-WYVAYnPrd/_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/experiencelab/IHetxM-WYVAYnPrd/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/experiencelab/IHetxM-WYVAYnPrd/_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/experiencelab/IHetxM-WYVAYnPrd/_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/experiencelab/IHetxM-WYVAYnPrd/_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/experiencelab/IHetxM-WYVAYnPrd/_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/experiencelab/IHetxM-WYVAYnPrd/_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/experiencelab/IHetxM-WYVAYnPrd/_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/experiencelab/IHetxM-WYVAYnPrd/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"nt3 login - Entri\">\u003cmeta data-mint-head property=\"og:description\" content=\"Authenticate the CLI with your Entri account.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Entri\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.nt3.io/developers/cli/login\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://experiencelab.mintlify.app/_mintlify/api/og/v2?division=CLI\u0026amp;title=nt3+login\u0026amp;description=Authenticate+the+CLI+with+your+Entri+account.\u0026amp;theme=822130e125a94b8f4864c52e\u0026amp;signature=d30b92e3797e14066f72228c069d6b4404eb44f0a8997fa846baf746876abd53\">\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=\"nt3 login - Entri\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Authenticate the CLI with your Entri account.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://experiencelab.mintlify.app/_mintlify/api/og/v2?division=CLI\u0026amp;title=nt3+login\u0026amp;description=Authenticate+the+CLI+with+your+Entri+account.\u0026amp;theme=822130e125a94b8f4864c52e\u0026amp;signature=d30b92e3797e14066f72228c069d6b4404eb44f0a8997fa846baf746876abd53\">\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/experiencelab/IHetxM-WYVAYnPrd/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Entri\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#10b981\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.nt3.io/developers/cli/login\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/developers/cli/login.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.nt3.io/#organization\",\"name\":\"Entri\",\"url\":\"https://docs.nt3.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/experiencelab/LuhZSKnQCEXwR8m3/logo-light.svg?fit=max\u0026auto=format\u0026n=LuhZSKnQCEXwR8m3\u0026q=85\u0026s=4e336388039af751be03c6165094a8d4\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.nt3.io#website\",\"name\":\"Entri\",\"url\":\"https://docs.nt3.io\",\"publisher\":{\"@id\":\"https://docs.nt3.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.nt3.io/developers/cli/login#webpage\",\"url\":\"https://docs.nt3.io/developers/cli/login\",\"name\":\"nt3 login\",\"description\":\"Authenticate the CLI with your Entri account.\",\"dateModified\":\"2026-02-19T13:44:56.520Z\",\"isPartOf\":{\"@id\":\"https://docs.nt3.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.nt3.io/developers/cli/login#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.nt3.io/developers/cli/login#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"CLI\",\"item\":\"https://docs.nt3.io/developers/cli/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"nt3 login\",\"item\":\"https://docs.nt3.io/developers/cli/login\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.nt3.io/developers/cli/login#article\",\"headline\":\"nt3 login\",\"name\":\"nt3 login\",\"description\":\"Authenticate the CLI with your Entri account.\",\"url\":\"https://docs.nt3.io/developers/cli/login\",\"mainEntityOfPage\":{\"@id\":\"https://docs.nt3.io/developers/cli/login#webpage\"},\"dateModified\":\"2026-02-19T13:44:56.520Z\",\"publisher\":{\"@id\":\"https://docs.nt3.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.nt3.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Entri\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Entri","nav":{"global":null,"tabs":[{"tab":"Platform","pages":[{"title":"Platform","href":"/introduction"}]},{"tab":"Developers","groups":[{"group":"Getting Started","pages":[{"title":"Developer Quick Start","href":"/developers/quickstart"},{"title":"Authentication","href":"/developers/authentication"},{"title":"API Tokens","href":"/developers/api-tokens"}]},{"group":"CLI","pages":[{"title":"CLI Overview","href":"/developers/cli/overview"},{"title":"Installation","description":"Install the Entri CLI globally using npm, pnpm, or yarn.","href":"/developers/cli/installation"},{"title":"nt3 login","href":"/developers/cli/login"},{"title":"nt3 logout","description":"Remove stored credentials and log out of Entri.","href":"/developers/cli/logout"},{"title":"nt3 init","href":"/developers/cli/init"},{"title":"nt3 push","href":"/developers/cli/push"},{"title":"nt3 pull","href":"/developers/cli/pull"},{"title":"nt3 overwrite","href":"/developers/cli/overwrite"},{"title":"nt3 remove","href":"/developers/cli/remove"},{"title":"nt3 translate","href":"/developers/cli/translate"},{"title":"nt3 status","href":"/developers/cli/status"},{"title":"Configuration (.nt3.yml)","href":"/developers/cli/configuration"},{"title":"CI/CD Integration","href":"/developers/cli/ci-cd"}]},{"group":"Integrations","pages":[{"title":"GitHub Actions","href":"/developers/integrations/github-actions"},{"title":"GitLab CI","href":"/developers/integrations/gitlab-ci"},{"title":"Supported File Formats","href":"/developers/integrations/file-formats"}]},{"group":"Concepts","pages":[{"title":"Keys \u0026 Namespaces","href":"/developers/concepts/keys-namespaces"},{"title":"Translation Status Workflow","href":"/developers/concepts/translation-status"},{"title":"Plural Forms \u0026 ICU","href":"/developers/concepts/plural-forms"}]},{"group":"Open source","pages":[{"title":"Self-hosting Entri","href":"/developers/self-hosting"},{"title":"Contributing to Entri","href":"/developers/contributing"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/overview"}]}]},"title":"nt3 login - Entri","buildId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","deploymentId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","dynamics":[],"chunks":[]}