База знања

Connect your Bitbucket account so your sites deploy from a repository

Connect a Bitbucket access token, or an API token with your username, so a push to a Bitbucket repository deploys your site.

What connecting it does for you

Connecting Bitbucket lets a site deploy from one of your Bitbucket Cloud repositories: push to the branch and the site updates.

Before you start

A Bitbucket Cloud account with access to the repositories you want to deploy.

1. Create the key at Bitbucket

Bitbucket offers two kinds of credential, and either works:

  • An access token for a repository, project or workspace, created from that repository's,
  • project's or workspace's own settings under Access tokens. It is tied to that repository, project or workspace rather than to a person. Give it read access to repositories.

  • An API token on your Atlassian account. Select your profile, then **Account settings →
  • Security → Create and manage API tokens → Create API token with scopes. Name it, set an expiry, choose Bitbucket** as the app, and select read access to repositories. Bitbucket shows the token once; copy it then.

2. Connect it here

Open Integrations in your dashboard and choose Connect an account. Pick Code hosting as the group and Bitbucket as the account, fill in API token — and, if you created a token on your Atlassian account rather than an access token, Account username as well, and press Connect account.

We test what you paste before anything is saved. A key that does not work is never stored, and the answer says what was wrong with it. A key that works is kept encrypted in our secrets vault — never in our database — and is never shown again, not even to you.

The username decides how we send the token, so enter it only for an account token. An access token entered with a username, or an account token without one, is refused.

What happens next

  • A site can deploy straight from a repository on this account: choose it on the
  • site's repository connection, pick the repository and branch, and a push deploys.

  • Every other branch can get its own preview, so you can check a change before it reaches the
  • live site.

  • Git-built static hosts such as Render and Azure Static Web Apps use this connection as the
  • source of the site's code.

If it does not connect

A repository is missing. An access token reaches only the repository, project or workspace it was created in. Create one at the level that covers every repository you need.

It worked and then stopped. Both kinds of token can expire. Create a new one and connect it.

It says the key was rejected. Almost always one of three things: a space or a line break copied with it, a key that has expired, or a key that was revoked or regenerated after you copied it. Create a fresh one and paste it again.

It connects, but something later fails. The key authenticates but lacks a permission the action needs. Create a new key with the permissions listed above, then disconnect the old connection and connect the new key.

Disconnecting

Open Integrations, find the account and press Disconnect. That deletes the stored key at once. Anything that was using it stops at its next action, and the screens that depended on it say so rather than failing quietly.

Disconnecting does not undo what was already done — records, deployments or settings we changed on your account stay as they are. If you think the key itself may have leaked, also revoke it at the vendor; disconnecting removes our copy, not theirs.

Овај чланак још увек није преведен на ваш језик, па зато читате верзију на енглеском језику.

Најновије са блога

О чему смо писали када је реч о хостингу, SEO-у и вођењу сајтова великих размера.

SEO и изградња линкова са хостинг слоја: поглед оператера за 2026. годину

Како хостинг утиче на индексирање и вредност линкова у 2026. години: одржавање страница индексираним, провера старих домена пре израде сајтова на њима, изградња линкова без отиска (footprint-а) и искрен осврт на то шта инфраструктура може, а шта не може да учини за SEO.

Прочитајте чланак →

Како учинити WordPress брзим и безбедним: Контролна листа за перформансе и прикључке

Практична контролна листа за брз и безбедан WordPress: кеширање на нивоу сервера, кеш објеката по сајту, неколицина додатака вредних коришћења, одржавање стека ажурним и WooCommerce странице које никада не смете кеширати.

Прочитајте чланак →

Како изабрати управљани веб-хостинг у 2026. години: Водич за купце

Шта заправо разликује добар управљани хостинг од јефтиног сервера са контролним панелом — миграције, резервне копије, изолација, право кеширање и поштено скалирање — и како да то процените пре него што се обавежете.

Прочитајте чланак →

Прочитајте блог →

И даље сте заглављени?

Подршка је укључена у сваки план, служба је отворена 24 сата дневно и можете нам писати на било ком од наших 58 језика — одговарамо вам на вашем језику.

Контактирајте подршку → Сви чланци →