Command
nylas dashboard login
The nylas dashboard login command authenticates you with the Nylas Dashboard so you can manage applications, API keys, and organizations from the CLI. Supports Google, Microsoft, and GitHub SSO, or email/password with MFA. After login, use `nylas dashboard apps` to manage applications and `nylas dashboard orgs switch` to change organizations.
Usage
nylas dashboard login [--google|--microsoft|--github|--email]Flags
| Flag | Description |
|---|---|
| --json | Output as JSON |
| --no-color | Disable color output |
| --verbose(-v) | Enable verbose output |
| --config | Custom config file path |
| --help(-h) | Show help for the command |
| --limit | Limit results (most list commands) |
| --yes(-y) | Skip confirmations |
| Log in with Google SSO | |
| --microsoft | Log in with Microsoft SSO |
| --github | Log in with GitHub SSO |
| Log in with email/password | |
| --user | Email address for email/password login |
| --password | Password for email/password login |
| --org | Organization to log into |
Examples
Interactive login (choose provider)
nylas dashboard loginGoogle SSO
nylas dashboard login --googleEmail/password
nylas dashboard login --email --user user@example.com --password secretTroubleshooting
SSO redirect fails
Ensure your browser allows pop-ups from the Nylas auth domain. Try a different browser.
MFA required
Enter the MFA code when prompted. Only TOTP-based MFA is supported in the CLI.
Recommended guides
Getting Started with Nylas CLI
Set up Nylas CLI in under a minute. The nylas init wizard creates your account, picks an application, generates an API key, and syncs your email accounts. Covers install, first-run welcome screen, dashboard management, AI chat, and config reset.
Give Your AI Coding Agent an Email Address
Connect Claude Code, Cursor, OpenAI Codex CLI, Windsurf, and OpenClaw to a real email account via MCP. Step-by-step setup for each tool using Nylas CLI.
Automate Email with Manus AI: Beginner Guide
Get started with Manus AI and Nylas CLI in five minutes. Send your first email, read your inbox, and search messages — all through natural language prompts.
Run nylas dashboard login --help for full help output.