Integrations

Bitbucket

To deploy an application whose source code is hosted on Bitbucket, you need to set up an integration between Bitbucket and Shipmate.

shipmate_x_bitbucket_illustration.webp

Finding your Workspace ID

Shipmate will ask you to enter your Bitbucket workspace ID. To find this ID, click the cog icon in the top-right corner of Bitbucket. In the menu that appears, click the item labeled Workspace settings.

bitbucket_workspace_settings.webp

Your workspace ID is shown in the center of the page.

bitbucket_workspace_id.webp

Finding your username

Shipmate will ask you to enter your Bitbucket username. To find your username, click the cog icon in the top-right corner of Bitbucket. In the menu that appears, click the item labeled Personal Bitbucket settings.

bitbucket_personal_settings.webp

Your username is shown in the center of the page.

bitbucket_username.webp

Creating an app password

To grant Shipmate access to your Bitbucket account, you need to create an App password and assign it the required permissions. To do so, click the cog icon in the top-right corner of Bitbucket. In the menu that appears, click the item labeled Personal Bitbucket settings.

bitbucket_personal_settings.webp

In the sidebar of the page, click on the item labeled App passwords.

bitbucket_app_passwords.webp

You should now see the App passwords page. Next, click the button labeled Create app password at the top of the page.

bitbucket_app_passwords_page.webp

Fill out the form that appears.

  • For the name, we recommend using Shipmate.
  • For the permissions, select the following:
    • Account -> Write
    • Repositories -> Write
    • Pull requests -> Write
    • Webhooks -> Read and write

bitbucket_create_app_password_form.webp

After creation, copy the app password, as you need to enter it in Shipmate.

bitbucket_app_password_created.webp

Setting up an integration

When you create a new organization, Shipmate guides you through the initial set up. One of the steps in this onboarding is integrating your Git provider. Click on the button labeled Set up integration.

shipmate_onboarding_integrate_git_provider.webp

If you've already completed the onboarding, click on the select field in the app's top-left corner. In the menu that appears, click on the item labeled Set up integrations.

shipmate_set_up_integrations.webp

You should now see the Integrations page. Click the button labeled Add Git integration in the top-right corner of the Git repositories table.

shipmate_git_repositories_overview.webp

In the form that appears, select Bitbucket as the provider.

shipmate_add_bitbucket_integration_form_step_1.webp

In the second step of the form, enter your Bitbucket workspace ID, your Bitbucket username, and the App password you just created.

shipmate_add_bitbucket_integration_form_step_2.webp

After that, you should see your new integration show up in the Git repositories table.

shipmate_bitbucket_integration_created.webp