Skip to main content

API tokens

Authentication

Before using the CLI, you need to authenticate yourself by logging in with your API token. Similarly, you need the API token to interact with the cloud API (see documentation for details).

Note: The full API documentation will be available at this link once the backend is deployed.

You can fetch your API token from the Snowcell Console/UI. Follow these steps to obtain your token:

  1. Log in to the Snowcell Console/UI:

    • Open your web browser and navigate to the Snowcell Console.
    • Enter your username and password to log in.
  2. Navigate to the API Tokens Section:

    • Once logged in, go to the user profile or account settings section.
    • Click the "API Access" tab located in the left sidebar.
  3. Generate or Copy an API Token:

    • If you don't already have an API token, click on the "Generate New Token" button.
    • Provide a name or description for the token (e.g., "CLI Access Token") and click "Generate".
    • Copy the generated token to your clipboard.

With your API token ready, you can proceed to authenticate using the CLI.

snc login --api_token YOUR_API_TOKEN