For the complete documentation index, see llms.txt. This page is also available as Markdown.

CLI authentication

This page covers the steps needed to authenticate the CLI with your server

In order to allow the CLI installed on your local station to access your local server you need to supply the CLI with an authentication token.

We have several ways to obtain the authentication token:

To authenticate via the CLI:

  1. Run leap auth login

  2. When asked for the API URL enter the url you use to access the Tensorleap Platform (hit Enter to chose default)

  3. Press Enter for the rest of the interactive questions. This should open your browser

  4. The browser should ask you to "Authorize" the CLI to access your server. Click it to complete the authentication.

If you are not currently logged in to the system, you would be required to login after opening the browser and before the authentication screen shows

To authenticate via the UI:

  1. Go into the Tensorleap app via the browser (default URL: http://localhost:4589/)

  2. Login with the credentials you've entered after registering.

  3. Open up the menu from the top left corner and choose "CLI Token"

Creating a CLI token disable any previous ones. Therefore, you might be prompted to approve the creation of the a token.

  1. Copy the CLI command that appears in the UI and paste into your terminal.

Last updated

Was this helpful?