K
k6 CLI
Details
Authentication
Grafana Cloud k6 API token
$ k6 cloud login --token <TOKEN> --stack <STACK> + Grafana Cloud stack ID $ k6 cloud login --token <TOKEN> --stack <STACK> discovered In your Grafana Cloud stack, open Testing & synthetics → Performance → Settings. Under Access, choose Personal token to copy/regenerate a personal token, or Stack token to create a stack-level token. See Authenticate on the CLI for the exact steps and token types.
Open your Grafana Cloud stack, then go to Testing & synthetics → Performance → Settings → Access → Stack ID and copy the stack ID. The same settings area is referenced in Authenticate on the CLI.