1
Sign in to each account
Run this once for each account, and pick it in the browser:To open the browser with the account already picked, name it:The first account you sign in to is the default. To change it:On a server without a browser, sign in with each agent account’s
token:
2
Choose the account
Pick how wide the choice applies:
When several are set, the CLI takes the first of
--account,
ARTIL_ACCOUNT, the linked folder, and the default.<account> is an ID, a name, or a slug, as in
Account names.After you change a client’s account, restart it: start a new Claude Code
or Pi session, or run openclaw gateway restart.3
Check the account
Account names
--account, ARTIL_ACCOUNT, and artil link take an account as:
- its ID, as the Artil app shows it
- its name in any case, in quotes when it has spaces, like
"Research Agent" - its slug: the name in lowercase with spaces and symbols turned into dashes,
like
research-agentfor Research Agent orr-dfor R&D - your email, for your own account
artil auth status shows what to type for each account signed in here.
ARTIL_TOKEN stands apart: when it is set, commands sign in with that token,
and naming another account with --account or ARTIL_ACCOUNT is an error.