Integrations · Bitbucket
Docs / Integrations

Bitbucket

Connect Bitbucket during a deployment and deploy from any workspace, including private repositories.

Prefer Bitbucket? Connect it from the Connect step of a new deployment, then pick a workspace, repository and branch to deploy on App Platform. Private repositories work too.

Why connect Bitbucket

App Platform builds from a repository and branch, whichever git host it lives on. Connecting Bitbucket lets NevTan list your repositories, read their branches and commits, clone them for a build, and set up auto-deploy.

Connect your account

  1. 1
    Start a deployment
    Start a new deployment and choose your runtime. On the Connect step, click Bitbucket. If GitHub is already connected, click Use Bitbucket instead.
  2. 2
    Approve on Bitbucket
    Review the requested access on Bitbucket's consent screen and approve it. NevTan asks to read your account and repositories, and to manage webhooks for auto-deploy.
    Bitbucket login and authorization screen
    You approve access on Bitbucket's own screen.
  3. 3
    Back in NevTan
    You land back on the Connect step with your workspaces and repositories listed.
Click Bitbucket
Connect step
Approve on Bitbucket
Connected
repos listed

Browse repositories

The Connect step lists the repositories in every workspace you can access, with a workspace switcher and search. Private and public repositories both appear, based on what your Bitbucket account can open.

Auto-deploy

Turning on auto-deploy registers a webhook on the repository, so a push to the watched branch redeploys the project. Bitbucket only lets repository admins create webhooks, so you need admin access to that repository.

Reconnect or disconnect

NevTan keeps the connection fresh automatically. If access was revoked on Bitbucket, the Connect step asks you to connect again. Disconnect removes the connection and turns off auto-deploy on your Bitbucket projects: any project already deployed keeps running exactly as it is, but you won't be able to redeploy a private repository until you reconnect.

Tip
Once a repository is connected, follow Deploy from git to build and deploy it — the flow is identical to GitHub.