In order to authenticate with the Ditto CLI, users need to have an API key. API keys are created per-user and used to access the projects in that user's Ditto workspace.
In order to log into the CLI, you'll need:
A Ditto account with either Admin or Editor permissions.
A locally installed Ditto CLI
To run the CLI and log in, type in your command line:
Afterwards, you'll be prompted to provide your API key. You can find your API keys by going to the API Keys section of your User Account Settings. If haven't yet generated an API key, you can click "+ Create Key".
Once you've done this successfully, you're ready to run any of the CLI's commands!