Docs

Authentication

Log in to your account

To use the Polygot CLI, you have to log in to your Polygot account from the command prompt.

  1. Run the login command
    polygot login
    
  2. Your default web browser should open and display the Polygot authentication page
  3. Enter your Polygot credentials and click the "Sign in" button
  4. You are now authenticated to Polygot on your machine

Checking authentication

To confirm that you are authenticated to Polygot, run the following command

polygot whoami

This command should display your information (name and email address) if you are currently logged in.

Log out

polygot logout