Login into the Sama CLI is easily done by running the command
Name: login Description: Login to Sama via OAuth credentials. Usage: sama login [flags] Flags: -h, --help help for login
You will be redirected to the Sama CLI login page.
Enter your Sama credentials and click on "log in", you will be redirected to a page that has your login token.
Click on "copy to clipboard" paste the token in the terminal and click enter
Now that you are logged in, you can start trying some other commands!