When working with our Snyk CLI tool, Snyk first requires authentication (except for the
snyk protect command).
Visit your Snyk account.
Navigate to General Account Settings and copy your token.
From the token field, click click to show and then select and copy your API token.
In the CLI, run
snyk config set api=XXXXXXXX