👍

Covered in this doc

Integrating Percy with your CircleCI environment
Configuring your CircleCI Orb for parallelized builds

Integrating Percy with your CircleCI environment


Configuring environment variables

In your CircleCI project, go to Project settings > Environment Variables.

Then set PERCY_TOKEN to the write-only token from your Percy project. This token can be found in your Percy project's settings.

Alternative config.yml setup

A different way is to add the environment variables to your config.yml. See the CircleCI: Using Environment Variables docs for more info.

📘

Keep your Percy token secret

Anyone with access to your token can add builds to your project, though they cannot read data.

If your code is public, do not add the PERCY_TOKEN to your code and use the above environment setup instead.


What's next

If you haven't installed and configured an SDK or source code integration, those are your next steps to getting started with visual testing.