Learning resourcesReviewed · Lovable

Lovable Bitbucket Cloud Sync Guide

This guide teaches Lovable users to sync project code with Bitbucket Cloud, but existing Bitbucket repositories cannot be imported into Lovable through this integration. It covers workspace authorization, private repositories, branch controls, local development and recovery from sync problems.

Researched 15 Nov 2026

In short.

This guide explains Bitbucket Cloud sync for Lovable users and development teams, but existing Bitbucket repositories cannot be imported into Lovable through this integration and reconnecting a disconnected project creates a new repository. It describes a shared workspace authorization followed by a separate repository link for each project. Sync works in both directions on one active branch, with webhook notifications bringing Bitbucket changes into Lovable. The most consequential warning concerns diverged branches: a subsequent Bitbucket sync replaces Lovable’s branch version, although the documentation says a backup is saved. Pricing, authorization scopes and operational reliability are not established. No setup steps or commands were executed.

Researched and written by an AI model and checked by a second AI model. How it works

Covers the complete supplied page at [https://docs.lovable.dev/integrations/bitbucket.md], including workspace and project connections, permissions, branch operations, attribution, disconnection, deletion, limitations, FAQ and troubleshooting warnings. Linked documentation, the documentation index, Bitbucket pages and support destinations are excluded. Pricing, licence terms, exact authorization scopes and deployment requirements remain unknown where unstated. No setup, code, synchronization, recovery procedure or deployment was executed; runtime behavior and reliability remain unverified.

The overview

Identity

This is Lovable’s documentation guide for exporting a Lovable project to Bitbucket Cloud and maintaining two-way Git synchronization. Git records code changes; Bitbucket provides the external repository where developers can review, collaborate on and retain that code.

The source is the complete page at [https://docs.lovable.dev/integrations/bitbucket.md]. It documents a feature of Lovable rather than a standalone tool or downloadable integration package.

Assessment

The guide is useful for teams that build in Lovable and want their code in Bitbucket Cloud for backup, pull-request reviews, local development or deployment elsewhere. It gives concrete instructions and explains failure cases that affect whether edits reach the other system.

Its strongest practical warning is that synchronization needs active attention when changes conflict or notifications are missed. The page does not establish sync latency, reliability or whether an exported application can deploy elsewhere without additional configuration.

Users

Beginners can use the connection to keep an external copy of a Lovable project without first learning advanced Git workflows. Developers can clone the repository into an IDE, work on branches and review changes through Bitbucket.

Workspace administrators manage the shared connection, while project administrators can link individual projects. Teams using Bitbucket Data Center or Bitbucket Server cannot use this integration. Teams seeking to bring an existing Bitbucket codebase into Lovable also need another route.

Capabilities

The documented integration sends Lovable edits to Bitbucket and brings changes from the active Bitbucket branch back into Lovable. Project settings expose connection status, commit alignment, a branch picker and HTTPS and SSH clone URLs.

Users can switch branches and create a branch from the currently active branch. One Lovable workspace can connect to multiple Bitbucket workspaces and also have GitHub and GitLab connections, but each project links to only one repository on one provider.

Repositories created by Lovable are private by default. Repository and workspace renames are tracked through internal identifiers. Disconnecting preserves both the Bitbucket repository and the project code in Lovable.

Using it

Requirements

Creating a connection requires a Lovable workspace owner or administrator and an Atlassian account with administrator access to the target Bitbucket Cloud workspace. Bitbucket workspace administrator access is necessary because setup registers a workspace-level webhook.

A Lovable workspace or project owner or administrator can connect or disconnect a project. A workspace editor or project editor, or someone with a higher role, can view sync status and switch or create branches.

An existing GitHub or GitLab project link must be disconnected before linking that project to Bitbucket. Newly created Bitbucket workspaces can require several minutes before accepting pushes. The exact authorization scopes and plan requirements for core sync are not stated.

Mechanism

The integration has two layers. A workspace connection grants Lovable access to one Bitbucket workspace and registers a webhook, which sends notifications about changes. A project repository link then associates one Lovable project with one repository. Multiple projects can share the workspace connection.

Lovable edits and syncs only the selected branch, initially main. Incoming changes depend on Bitbucket notifying Lovable about a push. A missed notification can leave commits absent from Lovable until another push occurs; Re-check only compares branch state.

Lovable commits use the author identity gpt-engineer-app[bot] and are pushed through the Atlassian authorization of the person who connected the workspace. That person may differ from the member who requested the edit. Bitbucket commits do not receive a Co-authored-by line; optional member email attribution requires Business or Enterprise.

Setup

In Lovable, open Workspace settings → Git → Bitbucket → Add connection. Choose Authorize with Bitbucket, sign in to Atlassian and grant access. Select the target Bitbucket workspace; Lovable skips this selection if only one workspace is available.

Next, open Project settings → Git → Bitbucket and connect the project to that workspace. Lovable creates a private repository named after the project, or uses an existing empty repository with that name. If a repository with that name already contains commits, Lovable creates a repository with a short suffix.

Confirm the repository and active branch in project settings. To create a feature branch from main, switch to main first: new branches use the currently active branch as their starting point. Branch creation and switching are unavailable while Lovable is editing.

Example

An illustrative workflow is to connect a Lovable project, select main and create a branch called checkout-update. Lovable automatically switches to that branch. A developer then clones the repository, checks out checkout-update locally and pushes a change. According to the guide, that push reaches Lovable because checkout-update is the active synced branch.

The team can review and merge the branch into main in Bitbucket, then select main in Lovable to continue there. A push to a different branch does not update the currently selected branch in Lovable. This example was not executed.

Assessment & evidence

Limitations

Only Bitbucket Cloud is supported. Existing Bitbucket codebases cannot be imported into Lovable, although an empty repository with a matching name can be used during export. After disconnecting, the original repository cannot be relinked; reconnecting creates a new repository.

Each project syncs one branch at a time. Each Bitbucket workspace can have only one connection per Lovable workspace. Deleting the repository breaks sync, and moving it to a workspace without a corresponding Lovable connection disconnects the project.

Lovable cannot save edits to files larger than 10 MB. Larger files pushed locally can sync into Lovable within Bitbucket’s limits, but a Lovable edit touching such a file fails. Bitbucket’s file limits are not supplied.

When branches diverge, the next incoming sync replaces Lovable’s branch version with Bitbucket’s version. The documentation says Lovable saves a backup for project-owner restoration. Conflicting outgoing changes can instead be placed on lovable-sync for manual review and merging.

Reasoning

The shared workspace connection reduces repeated authorization across projects, but it also creates a shared dependency: authorization loss can affect every project using that connection. Project-level disconnection has a narrower effect and leaves the workspace connection available.

The distinction between connection health and branch synchronization matters. Restoring access does not itself pull missed commits, and comparing branch status does not transfer code. Teams need to check the active branch and preserve Lovable-only work before triggering an incoming sync.

Keeping code in Bitbucket supports developer handover, but the guide alone does not establish a complete migration away from Lovable. Local environment configuration and external deployment procedures are outside this page.

Alternatives

For a one-time copy, the page offers Download codebase in Project settings → Git or through the Code editor (paid plans). That avoids maintaining a sync connection but does not provide ongoing synchronization. Users can also build and launch entirely within Lovable without connecting Bitbucket.

GitHub and GitLab are named as other supported Git providers. Their detailed behavior, pricing and relative suitability are not established by this page; the linked provider guidance is outside the supplied scope.

Evidence

The evidence consists of the complete Lovable documentation page at [https://docs.lovable.dev/integrations/bitbucket.md], including its setup instructions, role table, limitations, FAQ and troubleshooting notices.

The captured source has SHA-256 62aa32906f3d62e8a183aeb5b162f4f13a5a0b2e11fa4b889ec448a8442942cf. It documents intended behavior rather than observed results. No commands, authorization steps, sync operations or recovery procedures were executed, so runtime behavior remains unverified.

Access & freshness

Costs

The cost of core Bitbucket sync is unknown. The page provides no integration price, Lovable subscription price or applicable Bitbucket usage charges. It says a Bitbucket account can be created for free, which does not establish that the complete workflow is free.

Including member email addresses in commits is limited to Business and Enterprise plans. The Code editor download route is marked as a paid-plan feature. Prices and allowances for these plans are not supplied.

Rights

The page documents the ability to export code and retain the Bitbucket repository after disconnecting. It does not state ownership terms, a licence for project code or the documentation, or permission to redistribute either. Private repository visibility does not establish licensing rights.

Atlassian authorization belongs to the authorizing account and can be reviewed or revoked under Connected apps. Deleting the Lovable workspace connection removes its webhook and stored credentials while preserving repositories. Broader data retention terms and exact access scopes are not specified.

Freshness

The documentation was captured on 15 November 2026 at 12:53:24.353 UTC. The supplied page does not identify its publication date, last-update date or integration version.

The capture date establishes when this text was obtained, not when each feature became available. Subsequent product changes and current behavior beyond the captured description are unknown.

Actions

Before connecting, confirm that the destination is Bitbucket Cloud, that the required administrators are available and that exporting a Lovable project matches the intended workflow. Confirm pricing and authorization scopes separately because the page does not establish them.

After connecting, check the repository, active branch and sync status. Before creating a branch, select the intended starting branch. Before disconnecting, account for the fact that reconnecting creates a new repository.

For missing incoming commits, first confirm the target branch and whether the webhook is intact. Protect or reconcile Lovable-only edits before pushing again, especially if status reports divergence. The guide says a new push, including an empty commit, triggers synchronization; Re-check only compares branches.

For rejected outgoing changes, review and merge lovable-sync, or its timestamped variant, into the intended branch. Use Reconnect to restore expired authorization or a removed webhook, rather than expecting it alone to pull missed commits.

Evidence for this report

selected-page.txtselected · checked 2026-11-15