From cf856da4b69c0ae092941e37c9ecb3f122d2cadb Mon Sep 17 00:00:00 2001 From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com> Date: Fri, 3 Apr 2026 19:32:27 +0000 Subject: [PATCH] Add authentication commands to CLI docs Generated-By: mintlify-agent --- installation.mdx | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/installation.mdx b/installation.mdx index 68eca503e..b74227eaa 100644 --- a/installation.mdx +++ b/installation.mdx @@ -1,7 +1,7 @@ --- title: "Install the CLI" description: "Install the Mintlify CLI to preview documentation locally, test changes in real time, and catch build errors before deploying to production." -keywords: ["CLI", "npm", "local development", "Node.js", "pnpm", "mint dev", "broken links", "accessibility"] +keywords: ["CLI", "npm", "local development", "Node.js", "pnpm", "mint dev", "broken links", "accessibility", "mint login", "mint logout", "mint status", "authentication"] --- +## Authentication + +Authenticate with your Mintlify account to use CLI features that require access to your project, such as analytics. + +### Log in + +```bash +mint login +``` + +This command opens your browser to authenticate with Mintlify. After you authorize in the browser, the CLI receives your credentials automatically. If the browser doesn't open, the CLI displays a URL you can copy and a prompt where you can paste the authorization code manually. + +### Check authentication status + +View the account and organization associated with your current session: + +```bash +mint status +``` + +### Log out + +Remove your stored credentials: + +```bash +mint logout +``` + ## Additional commands ### Find broken links