Configure with GitHub
Integrate Baz with GitHub repos to mirror your team's codebase and review changes.

After successfully authenticating, you will be redirected into your private Baz workspace. Select Connect to GitHub to select which organization and repositories you would like to integrate with Baz.
Note: If your GitHub admin already integrated your organization, you will be able to select it from the organization navigation menu.
Install Baz Review GitHub App
You will be redirected to the GitHub app installation page. Select the organization or user account where you want to install the Baz GitHub app. Choose the repositories that Baz should access and click the Install button to complete the installation.

That's it. You've succusfuly installed Baz. You will now be redirected back to Baz to see your Code and open Changes.
Write Access GitHub App
Baz allows an elevated permission set, including write access to repo contents and interacting with PRs via Baz UI and Baz CLI. For that we need to install the Baz-app GitHub app. For more details - skip to the Permission Model section below
You may start this flow from the configurations page, or by visiting this link. It will install the Baz-app GitHub app which includes write access to the relevant repos you select. It will look like this (notice the different scope of the app versus baz-review app):

This app allows the functionality of:
Baz Fixer
Auto-resolving addressed comments
Approving PRs with write access
User interactions via baz UI. This will require a second set of per-user installations as can be seen here:

Permission Model
Baz supports a two-level permission model.
Baz Reviewer
The Baz Reviewer app requires only the permissions necessary to review pull requests:
Read access to repository code
Write access to PR comments
Permission to create GitHub checks
This allows Baz to review PRs and provide feedback without modifying repository code.
Baz-app
Some workflows require write access to repository code, such as:
Auto-approve PRs
Auto-resolve findings
Automated code fixes
For teams that want these capabilities, Baz provides a separate app with elevated permissions.
Reconfiguring
At any point, you can go back and reconfigure GitHub by going to your Integrations Page. Click the Configure button to connect Baz to configure the baz-reviewer app, and click the Configure write access for that specific account to configure the baz-app app. Both of these links will redirect you to GitHub’s authorization page for the relevant app. If you aren’t logged in, log in to your GitHub account. Once logged in, you will see a permission request page where Baz requests access to your account. Review the permissions and click the Authorize Baz button to grant access.
FAQ
How do I connect Baz to my GitHub repositories?
You will authorize Baz via GitHub’s OAuth or an app integration, selecting which repos Baz may access. Once connected, Baz will monitor pull requests in those repos.
Last updated