How to Connect Company Codebase to Bitbucket Data Center
Connect all Qodo tools, and specifically Company Codebase, to your Bitbucket data center (BBDC).
Prerequisites
Company Codebase deployment
BBDC instance (Customer). Must be version 8.X.X (does not work on 9.X.X).
Make sure app uploading is enabled: Go to settings, then select Manage apps. Make sure Upload app link is visible.

To enable app installation in the bitbucket.properties file, set the property: upm.plugin.upload.enabled=true
.
App Installation
Download the Qodo app file: Please contact Qodo Support for the
qodo-app-bbdc
file.Install the Qodo App: Go to settings, then select Manage apps. Click the Upload app link and choose to Select jar file. Select the Qodo app file you've downloaded previously.
Define Access token:
Login to BBDC as system administrator.
Click your profile picture then choose Manage account. Select http access token then add token.
Give the token a meaningful name.
Under Project permissions, choose the Project write permissions.
Under Repository permissions, choose the Repository write (inherited) permissions.
Copy the token and save it for later.
Adding token to Bitbucket data center Check out your Qodo app: Your Qodo app is ready. You can see it at the Administration section.
Each Qodo tool has a configuration tab in the app. Use the connection section to define the URL of your Qodo tool. Use the Repositories section to select the repositories integrated into your Company Codebase.
Qodo Integration Settings
Set Company Codebase in BBDC
Contact Qodo Devops team to create a RAG Indexer installation.
Update Company Codebase indexer configuration and settings:
[config]
git_provider = "bitbucket_data_center"
[bitbucket_data_center]
base_url = "https://your-bbdc-instance.com" # url of your bbdc instance
webhook_secret = "mysecret" # the secret you wrote in the Qodo BBDC app for the tool. Currently Company Codebase does not support any webhooks, so this setting is optional
bearer_token = "BBDC-mytoken" # the token you created in the BBDC instance for Qodo
Go to the Company Codebases tab of Qodo app in BBDC
Select the repositories you want to be indexed
Currently Company Codebase does not support any Webhooks, so no need to setup the Connections section.
Last updated
Was this helpful?