In this article, you'll learn how to connect a Bitbucket Cloud workspace to Enjo by creating an OAuth consumer in Bitbucket and completing the integration setup in Enjo.
Before you start
You need Owner or Admin role in Enjo.
You need access to your Bitbucket Cloud account with permission to manage workspace settings and create OAuth consumers.
The configuration screen shows the following fields:
App Name
Callback URL
Workspace Name
Consumer Key
Consumer Secret
Keep this screen open β you will need the Callback URL when creating the OAuth consumer in Bitbucket.
Step 2 β Create an OAuth consumer in Bitbucket
Log in to your Bitbucket Cloud account.
Open Settings from the top-right corner and select Workspace Settings.
Under Apps and Features, select OAuth consumers.
Click Add consumer.
Fill in the form:
Name β enter a recognisable name, for example "Enjo Integration"
Callback URL β paste the exact Callback URL from the Enjo configuration screen
Permissions β under Project, enable Read permission
Click Save.
β οΈ The Callback URL must match exactly what is shown in Enjo. Any difference will cause the connection to fail.
Click the consumer name in the list to reveal its credentials.
Copy the Key and Secret.
Step 3 β Enter credentials in Enjo
Return to the Enjo configuration screen.
Paste the Key into the Consumer Key field.
Paste the Secret into the Consumer Secret field.
Enter your Workspace Name. Find it in your Bitbucket URL: https://bitbucket.org/{workspace-name}/{repo-name} The workspace name is the segment between bitbucket.org/ and the repository name.
Click Next.
Step 4 β Set visibility and connect
Enter a name for this connection.
Choose the visibility:
Workspace β available to all AI Agents in your workspace
Specific AI Agents β available only to selected agents
Click Connect.
When prompted, grant Enjo access to your Bitbucket account to finalise the setup.
Manage the connection
Once connected, the Bitbucket Cloud entry appears under Settings > Apps showing:
Workspace URL
Status β Active
Created by
Visibility setting
π‘ You can update the visibility or delete the connection at any time from Settings > Apps.
What's next
AI Agent Knowledge β Add Bitbucket data as a knowledge source for your AI Agent.