Learn how to manage access to your Chromatic account and projects.
Login via OAuth from GitHub, GitLab, or Bitbucket. Chromatic supports the public cloud versions of these services via our self-serve plans.
If you use the on-premise or enterprise versions of GitHub, GitLab, or Bitbucket, we can support you via our enterprise plan. The enterprise plan also offers single sign-on (SSO) and service-level agreements (SLA). We recommend trialing Chromatic first by following these instructions.
If you use other services like Azure DevOps, AWS, etc, you won’t be able to sign in via OAuth. But you can still use Chromatic as a CI-only job using the intructions here.
Depending on your Git provider, Chromatic will request a set of OAuth scopes when you first login. Chromatic uses these permissions to enumerate your list of repos, set PR statuses and retrieve users for assignment to review. Chromatic will never read/write source code.
GitHub App permissions
Chromatic’s GitHub App enables UI Review for pull requests. We need additional permissions to access pull request information and add PR checks.
- ✅ Read access to metadata
- ✅ Read and write access to checks and pull requests
- ✅ Read access to organization members (for collaborators)
- 🔒 We do not request access to your code
Chromatic mirrors access permissions at the “team” level to make permissions management quick and easy. Share access with your GitHub organization, Bitbucket group, or GitLab team by adding that account to Chromatic via the menu.
Permissions also carry over at the repository level. For example, if a person does not have access to repository in your code host they will also not have access to it in Chromatic.
In Chromatic there two types of projects:
- Linked projects, where access is linked to a project/repository on either GitHub, GitLab or Bitbucket (depending on which service you used to log in to Chromatic).
- Unlinked projects, where access is controlled via an invite list
When you link a project to an online repository (on the “Manage” page, or when creating it), we synchronize access to the project with the permissions on the relevant service. There are two levels of access:
- Viewer: users can view snapshots and builds, but cannot review
- Reviewer: users can review snapshots and manage other aspects of the project.
Note that public repositories on GitHub/GitLab/Bitbucket give viewer access to all users. A user must be granted explicit contributor access by a maintainer to become a reviewer in Chromatic. For private repositories, anyone who has access to the repositiory in GitHub/GitLab/Bitbucket will have reviewer access in Chromatic.
To grant access to a unlinked project that you’ve created, either link it to a third-party repository, or use the invitation URL accessible on the “Manage” page.
Users that have used the invitation link will get reviewer access to the project.
Frequently asked questions
Why can't my teammates access a project?
Check that your teammates are listed as collaborators in that repository. If they aren’t listed, please add them and try accessing the Chromatic project again (you may have to re-login). Chromatic syncs permissions at the account and repo level.