Sign In
The recommended way to authenticate is the browser-based OAuth flow:-y:
Config File
Authentication state is stored in the config file:- Global:
~/.leadmagic/config.json - Project-local:
.leadmagic/config.json(when run inside a project directory)
.leadmagic/ directory exists in the current or parent directory. Otherwise it falls back to the global config.
One Login For Everything
Your LeadMagic login powers account-backed CLI features:| Feature | Requires Login |
|---|---|
AI Chat (lm chat) | Yes - routes through AI Gateway |
Enrichment (lm enrich) | Yes |
Email Validation (lm validate) | Yes |
Contact Finding (lm find) | Yes |
Credit Check (lm dashboard) | Yes |
File Analysis (lm analyze) | No |
Database Queries (lm query) | No |
Health Check (lm doctor) | No |
Sign Out
To clear your authentication:lm signout, lm sign-out.
Verify Authentication
Check that your credentials are working:lm doctor to diagnose the issue.
Next Steps
Quickstart
Run your first enrichment workflow.
Configuration
All config options including database, model, and theme.