FerryDocs
Getting startedSet up the CLI

Log in with a token

With a token, ferry login needs no approval. Use it for CI, scripts and machines without a browser.

Edit on GitHub

Get a token. Create an API token in the dashboard.

1 / 4

Do it

Terminal
ferry login --server http://127.0.0.1:7878 --token <token>

ferry login reads the token from --token or from FERRY_TOKEN.

Where to get a token

TokenWhere
An In the dashboard: Server → Account → API tokens. See Server: Account.
The On the server: the file <data-dir>/api_token.

When to use it

Use a token when no person can approve the login. Examples: , a script, a machine without a browser.

For a CI job, you can also use two variables and no login. See Use the CLI in CI.

On this page