AI agent instructions
AI agent instructions
notte auth login
Log in to Notte from any machine.
The CLI prints a link and a code. Open the link in a browser on any device, check that the code matches, choose a workspace and approve. The CLI then receives a new API key named after this machine (“CLI · <host> · <date>”), which you can revoke from the console’s API keys page or with notte logout.
Nothing listens on this machine, so this also works over SSH, in containers and in sandboxes.
To store a key you already have instead, pipe it in:
notte auth logout
Remove the stored API key from this machine.
A key created by notte login is also revoked, so it stops working everywhere. A key you stored with --with-token is only removed from this machine.