Bitbucket
Bitbucket is a web-based platform for version control using Git and Mercurial repositories.
It provides a collaborative environment for software development teams to manage their source code, track changes, and collaborate on projects.
To integrate with the Bitbucket API, you'll need to follow these steps:
-
Create a consumer:
-
Go to the Bitbucket workspaces.
-
Select the workspace that will be accessed using the consumer.
-
Select Workspace settings from the Settings dropdown menu.
-
Click on OAuth consumers under Apps and features in the left sidebar.
-
Click the Add consumer button.
-
Fill in the required information:
-
Name: SimWorkflow
-
Callback URL: https://www.simworkflow.com/credentials/callback
-
Select the appropriate Permissions for the integration.
-
-
Click Save.
-
-
Get App ID and App Secret:
- Once the OAuth consumer is created, Bitbucket will provide you with a Key and Secret. These will be used to create SimWorkflow credentials.
-
Create OAuth 2.0 Credentials in SimWorkflow:
-
Go to SimWorkflow Credentials.
-
Click on Create credentials.
-
On OAuth 2.0 tab.
-
Fill in the required information:
-
Provider: Bitbucket
-
Name: Bitbucket
-
Client ID: Bitbucket Key
-
Client secret: Bitbucket secret
-
-
Click on Create credentials button.
-
Complete the OAuth flow.
-
Once the Bitbucket credentials created, you can start using it with HTTP Task in your workflow definitions to integrate with Bitbucket API.