If your code is hosted on Bitbucket, you can connect repositories to Level CI to automatically run accessibility scans as part of your development workflow.
Start from the dashboard
To import a Bitbucket repository:
- In the Level CI dashboard, select the + button in the top-right corner.
- Select Import from Bitbucket.
This opens the Import Project from Bitbucket page.
Authenticate your Bitbucket workspace
To connect your Bitbucket workspace:
- Select Connect Bitbucket Workspace.
- Sign in with your Bitbucket credentials if prompted.
- Approve access for the Level CI integration.
Review Bitbucket permissions
Level CI requests several Bitbucket permissions to support automated accessibility analysis and pull request annotations.
Read account information
Allows Level CI to identify your Bitbucket user or workspace.
Read repositories and pull requests
Allows Level CI to access repository code and pull request metadata required for accessibility scans and annotations.
Read team membership
Allows Level CI to align repositories with the appropriate workspace teams.
When authorizing the integration, you can:
- Grant access to all repositories in a workspace.
- Select specific repositories.
You can update these permissions later in your Bitbucket account settings.
Understand project mapping
Level CI mirrors your Bitbucket repository structure.
Each Level CI project maps to a single Bitbucket repository.
Repositories remain organized under their associated:
- Bitbucket workspace.
- Personal Bitbucket account.
A single Level CI organization can connect to multiple Bitbucket workspaces or personal accounts.
Import projects
After authorization:
- Review the list of available repositories.
- Select the repositories you want to import.
- You have the option to update the default project settings, such as:
- Project name
- Main branch
- Select Create Project.
Repositories can only be imported into Level CI once.
Configure your project
After importing the repository, configure your end-to-end (E2E) testing framework.
Follow the guided setup instructions to complete the configuration.
Run your first analysis
After setup is complete, Level CI automatically runs the first accessibility scan.
You can then:
- Review accessibility results in the Level CI dashboard.
- View accessibility annotations directly in Bitbucket pull requests.
- Review accessibility quality gate status as part of your development workflow.