- Workflows
- Install and Authenticate
Workflows
Install and Authenticate
Install the Docsalot CLI, log in from your browser, and set up coding-agent skills.
Prerequisites
- Node.js
20+ - npm
- A Docsalot account with access to a team/documentation
Install
npm install -g docsalot-cli
docsalot --version
Discover commands
Most users and coding agents start here:
docsalot --help
Then inspect a specific command group:
docsalot auth --help
docsalot docs --help
Authenticate
For local development, start an interactive login from the terminal. The CLI prints a URL, you open it in your browser, and once approved you are logged in automatically.
docsalot auth login
docsalot auth whoami --json
For CI or secure scripting, use token login via stdin:
echo "$DOCSALOT_API_TOKEN" | docsalot auth login --from-stdin
Install coding-agent skill
Install Docsalot’s dedicated CLI skill so your coding agent can automatically learn CLI workflows and command patterns.
docsalot skills install
docsalot skills install detects your coding agent and installs the skill in the correct local skills directory.
Manage API tokens from CLI
docsalot auth api-token set --token <YOUR_TOKEN>
docsalot auth api-token list
docsalot auth api-token remove --id <TOKEN_ID>
Verify access
docsalot docs list --json
If list returns your documentations, auth is configured correctly.