LemonadeHost help Main site Pricing Status

For developers

Approve in your browser - sign in the CLI or an AI assistant without pasting a token

Publishing from a terminal or an AI assistant used to mean making a token and pasting it somewhere. Now you approve the device once, in your browser. Nothing is copied by hand.

How it works

  1. Start it. Run npx lemonade-host login. At a terminal, your first lemonade deploy does the same when you are not signed in. An AI assistant runs lemonade login first and shows you what it printed.
  2. Read the code. The terminal prints a short code such as BDKM-QTRS and the page to open, /portal/cli on your Lemonade Host dashboard.
  3. Approve. On that page, sign in, then type the code yourself. Check Is this you?: the device name, where it asked from beside where you are, and what it will be able to do. Pick the one site it may publish to. We email you a six-digit code to confirm it is you, and the approval completes when you type it.
  4. It picks up by itself. The terminal waits for your approval and receives its access once. You do not copy anything.

The approve page never fills the code in from a link. Only type a code your own terminal or assistant just showed you. If someone sent you a code or a link to approve, do not: that is how an attacker gets access to your site.

The device names itself, and anyone can type any name. Trust the place it asked from and whether you started it.

If we cannot compare where the request came from with where you are, the page warns you.

What it can do

What you approve can publish to that one site and read what is live. It cannot roll back, delete, see billing or the account, or reach any other site. It is saved on your computer where only you can read it.

How long it lasts

CI and scripts

Never wait for a browser in CI. Make a token in Developers, then set LEMONADE_TOKEN. See Publishing from the command line and Deploy tokens.

For tool authors

The flow is the device authorization flow: POST /api/cli/device returns a device code you keep and a short user code to show, then you poll POST /api/cli/token at the interval given. Polling faster than that answers slow_down and raises the interval. The user code is never accepted from a URL, only typed by the person.

If it does not work

Last checked against the product on 2026-10-28. Something wrong or missing? Tell us.

Made with Lemonade HostMade with Lemonade Host