Git Providers
Integration with GitHub
CodeBeaver integrates with your GitHub repositories. To do so:
- Login with your GitHub account
- You can now authorize CodeBeaver to access your organization's or account repositories. You can select all of the repositories in your organization or account, or just a subset. Don't worry, you will be able to change this later.
- You will now see a list of the repositories you authorized. You can now activate CodeBeaver for one or multiple repositories.
- Once you've activated CodeBeaver for a repository, you will see a list of the pull requests that CodeBeaver will run on. You can also run CodeBeaver on a single commit, on specific files, or on the whole repository.
- You can now interact with CodeBeaver through the GitHub UI. Codebeaver will let you know that it's working on a Pull Request by opening a check in the GitHub Pull Request.
Integration with GitLab (SaaS)
CodeBeaver integrates with your GitLab repositories. To do so:
- Just log in with your GitLab account
- You can now authorize CodeBeaver to access your GitLab projects. Don't worry, CodeBeaver will not activate on all of your projects.
- You will be redirected to CodeBeaver and you will see a list of the GitLab projects you can use with CodeBeaver. Activate the ones you want to use with CodeBeaver.
- You will now see a list of the open Merge Requests you can use with CodeBeaver. You can trigger CodeBeaver right away for one of them or wait for a new MR to be created. You can also run CodeBeaver on a single commit, on specific files, or on the whole repository.
- You can now interact with CodeBeaver through the GitLab UI! Once it has prepared some tests, CodeBeaver will open a Merge Request in GitLab.
Integration with GitLab (Self-hosted)
CodeBeaver integrates with your GitLab Self-Hosted instance repositories. To do so:
- If it's the first time you use CodeBeaver with GitLab, you will need to configure it.
Configure a GitLab Self-Hosted instance
- Create an Application in your GitLab instance.
- Add as Redirect URI the following URL:
https://app.codebeaver.ai/accounts/gitlab/login/callback
- Add the following Scopes:
api
,read_api
,read_user
,read_repository
,write_repository
- Save your application's ID and Secret in a secure place.
- Go to
https://app.codebeaver.ai/login
, click onSelf-Hosted
and then onSelf-Hosted GitLab
. - Enter the URL of your GitLab instance. It should be something like
https://gitlab.example.com
. - Since it's the first time you use CodeBeaver with GitLab, you will need to enter the ID and Secret of your GitLab application.
- That's it! Complete the OAuth2 flow and you're in!
- Move to the section: "Using CodeBeaver with Gitlab Self-Hosted"
Sign in with a GitLab Self-Hosted instance
- Go to
https://app.codebeaver.ai/login
, click onSelf-Hosted
and then onSelf-Hosted GitLab
. - Enter the URL of your GitLab instance. It should be something like
https://gitlab.example.com
. - That's it! Complete the OAuth2 flow and you're done!
Using CodeBeaver with a Gitlab Self-Hosted instance
- You can now authorize CodeBeaver to access your GitLab projects. Don't worry, CodeBeaver will not activate on all of your projects.
- You will be redirected to CodeBeaver and you will see a list of the GitLab projects you can use with CodeBeaver. Activate the ones you want to use with CodeBeaver.
- You will now see a list of the open Merge Requests you can use with CodeBeaver. You can trigger CodeBeaver right away for one of them or wait for a new MR to be created. You can also run CodeBeaver on a single commit, on specific files, or on the whole repository.
- You can now interact with CodeBeaver through the GitLab UI! Once it has prepared some tests, CodeBeaver will open a Merge Request in GitLab.
Important note: CodeBeaver's code and comments will appear as if they were created by the user who installed CodeBeaver.
Integration with Bitbucket
CodeBeaver integrates with your Bitbucket repositories. To do so:
- Login with your Bitbucket account
- You can now authorize CodeBeaver to access your organization's or account repositories. You can select all of the repositories in your organization or account, or just a subset. Don't worry, you will be able to change this later.
- You will now see a list of the repositories you authorized. You can now activate CodeBeaver for one or multiple repositories.
- Once you've activated CodeBeaver for a repository, you will see a list of the pull requests that CodeBeaver will run on. You can also run CodeBeaver on a single commit, on specific files, or on the whole repository.
- You can now interact with CodeBeaver through the BitBucket UI. Once it has prepared some tests, CodeBeaver will open a Pull Request in BitBucket.
Important note: CodeBeaver's code and comments will appear as if they were created by the user who installed CodeBeaver. This is due to a limitation of Bitbucket's API.