~/.jelou/credentials.json with multi-profile
support: multiple accounts (and companies) coexist as named profiles.
jelou login
Authenticate with your Jelou API key. jelou login saves it as a named
profile and makes it the active one. Get your API key at
apps.jelou.ai/settings/api-keys.
On the first successful login,
jelou automatically installs the agent
skills globally in the detected AI editors (Claude Code, Cursor,
Codex…), so new sessions know about jelou. See
Skills.
jelou whoami
Check the current identity and the API URL.
jelou logout
Remove stored credentials.
Profiles
Each profile normally maps 1:1 to a company. Switching profiles changes the active company:jelou project list returns the projects of the new company,
jelou databases list its databases, etc.
Credential resolution order
The CLI resolves which credential to use in this order (highest to lowest priority):JELOU_TOKENenvironment variable--profile <name>flagJELOU_PROFILEenvironment variable.jelou/state.json:profile— per-directory binding thatjelou linkwrites when linking the project, using whichever profile is active at that moment (or the one you pass with the global--profile <name>flag on that same command)activeProfilein the credentials file
Health and diagnostics
When something looks off (auth, network, “wrong company”, profile drift), runjelou doctor first:
jelou.lock in the directory), and freshness of
the CLI version. Exit codes: 0 healthy, 4 auth failure, 6 gateway
unreachable, 1 other failure.
Credential security
- The API keys in
~/.jelou/credentials.jsonare sensitive credentials — never publish them in a repo or paste them in a chat. - v1 credentials (old format) are automatically migrated to v2, leaving
a
.bakbackup. Don’t delete that.bak: it’s the only fallback if the v2 file gets corrupted.