Skip to content

Authentication

Before using the CLI, authenticate with your PreviewProof account.

Terminal window
previewproof login

This opens a browser window to complete authentication. A token is stored locally for subsequent commands.

For CI/CD environments, generate an API token from the dashboard and set it as an environment variable:

Terminal window
export PREVIEWPROOF_TOKEN=pp_...

Full documentation coming soon.