# Adding Bitbucket Organization To Xopero ONE

This article contains information on how to add Bitbucket organization to Xopero ONE.

### Adding Bitbucket organization to Xopero ONE <a href="#adding_bitbucket_organization_to_xopero_one" id="adding_bitbucket_organization_to_xopero_one"></a>

To add a Bitbucket organization to Xopero ONE go to the **DevOps** tab on the left side of the window, expand it and select Bitbucket.

<figure><img src="https://3590315075-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9jOiYSeIjlfmqZw2BDcq%2Fuploads%2FZFvhBbqIwNTct3l6Y9cc%2Faddorgbb1.png?alt=media&#x26;token=52cce81b-c171-4357-8103-47549927e3e2" alt=""><figcaption></figcaption></figure>

Now hit the **Bitbucket** button

<figure><img src="https://3590315075-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9jOiYSeIjlfmqZw2BDcq%2Fuploads%2FpOVCgFTubKYBUSVsMf7w%2Faddorgbb2.png?alt=media&#x26;token=13947f44-d6a5-4728-9d7e-4f361757f9db" alt=""><figcaption></figcaption></figure>

Due to the fact, that you selected Bitbucket from DevOps drop-down list, the appropriate Git environment has been selected. You don't need to select Bitbucket in the Authentication section.

<figure><img src="https://3590315075-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9jOiYSeIjlfmqZw2BDcq%2Fuploads%2FQEvx3gAIIpQ263yrYN7c%2Faddorgbb3.png?alt=media&#x26;token=b11236da-8c2e-4938-ba14-5ae98f377cf5" alt=""><figcaption></figcaption></figure>

In the **Settings** section, you can decide that you want to register the Xopero ONE app using login and password/token. If you will toggle this switch, Xopero ONE will ask about your login and will require to select the token from the Password Manager(if exists) or add a new one.

{% hint style="info" %}
[See also how to add a new Personal Access Token to the Safe Password Manager](../../../management/password-manager-safely-store-all-your-secrets/add-a-new-password)
{% endhint %}

{% hint style="info" %}
[See also how to generate the Personal Acces Token in Bitbucket](https://support.atlassian.com/bitbucket-cloud/docs/create-an-app-password/)
{% endhint %}

You can also decide, that Xopero ONE will have read-only access to your Bitbucket environment.

{% hint style="danger" %}
Remember, that if the read-only access switch is toggled, the recovery options will be disabled.
{% endhint %}

\
The last thing, which is available to configure is the switch responsible for automatically adding a new repository to the Xopero ONE panel if its will appeared in Bitbucket.

<figure><img src="https://3590315075-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9jOiYSeIjlfmqZw2BDcq%2Fuploads%2FYR882cAJUDs09S1OeG9n%2Faddorgbb4.png?alt=media&#x26;token=290f959c-07e4-4944-b0c8-2e8a4e9e5240" alt=""><figcaption></figcaption></figure>

The last section to configure is the **Repositories list sync options**.\
\
In general, during the adding process, you can specify the hours, when Xopero ONE should synchronize with your Bitbucket, or set a time interval.

<figure><img src="https://3590315075-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9jOiYSeIjlfmqZw2BDcq%2Fuploads%2F5NlLdySmgdQNiNjUe5U2%2Faddorgbb5.png?alt=media&#x26;token=8b48f81b-a920-468f-9a06-a14c57f726a8" alt=""><figcaption></figcaption></figure>

Before hitting the Proceed button, pay attention to the **default device**.\
The default device is the device assigned to Xopero ONE that is used to retrieve Bitbucket organization and their data. It also performs the backup plan itself.

\
By default, the application uses a device marked with _the main_ icon, but you can choose, which device should be responsible for performing this operation by clicking the _Change_ button and selecting one of the devices from the list.

<figure><img src="https://3590315075-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9jOiYSeIjlfmqZw2BDcq%2Fuploads%2FzUHSleX1spvK3UW6ljK2%2Faddorgbb6.png?alt=media&#x26;token=70ac68fe-aba5-4302-b872-fd3d9343b14a" alt=""><figcaption></figcaption></figure>

Now the adding process is finished. You can hit the **Proceed** button.\
\
If the **Register using login and the password/token** switch was set to OFF, then the system may display the Bitbucket sign-in page, which you have to go through in order to complete the authentication process.

### Pop-ups

To add an organization correctly, you may be asked to grant permissions to the Xopero ONE application. Your browser have to allow pop-ups.

<figure><img src="https://3590315075-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9jOiYSeIjlfmqZw2BDcq%2Fuploads%2F4uLSPx8zALzhnWoHwJXs%2F1.PNG?alt=media&#x26;token=7f6ac6e4-4620-423a-b7eb-0f5d8ad467e0" alt=""><figcaption></figcaption></figure>

Depending on which browser you use, you can edit the browser settings or allow the permission window to be triggered once.

<figure><img src="https://3590315075-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9jOiYSeIjlfmqZw2BDcq%2Fuploads%2FwuMvkBVymACfQkBMoOOX%2F2.png?alt=media&#x26;token=2d900cca-6853-4c3d-adcd-928404ff9064" alt=""><figcaption></figcaption></figure>
