This is the official documentation of the @forestadmin/agent Node.js agent.

The forest login command allows you to authenticate using:

  • your Forest Admin email address

  • your Forest Admin password

$ forest login --help
Sign in with an existing account.

  $ forest login

  -P, --password=password  Your Forest Admin account password (ignored if token is set).
  -e, --email=email        Your Forest Admin account email.
  -t, --token=token        Your Forest Admin account token (replaces password).

The --token option refers to application tokens that you can create from your Account settings, accessible from the top right dropdown.

Note that you can use forest logout to log out.

Last updated