Command

nylas auth login

Authenticate with a provider (Gmail, Outlook, etc.) to connect your mailbox.

Usage

nylas auth login

Flags

FlagDescription
--jsonOutput as JSON
--no-colorDisable color output
--verbose(-v)Enable verbose output
--configCustom config file path
--help(-h)Show help for the command
--limitLimit results (most list commands)
--yes(-y)Skip confirmations

Examples

Connect Gmail or Outlook

nylas auth login
# Opens browser for OAuth; follow prompts to connect

Troubleshooting

OAuth fails or times out

Ensure you're using a supported browser. Try clearing cookies for the auth domain.

Recommended guides

Run nylas auth login --help for full help output.