Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Trying to connect SourceTree to new bitbucket instance


Previously my SourceTree app has been able to successfully connect to a local Gitlab server, using a gitlab generated token. When I attempted to do the same to our local BitBucket server, with a token from that server, get a message "Unable to connect to BitBucket Server with your credentials....."


See attached screenshots.




[Edited to remove screenshots that contained sensitive information]

1 answer

0 votes
Ana Retamal Atlassian Team May 06, 2019

Hi Richard,

I can see in your screenshot a username and a very long password which seems to be a personal access token, is that correct? Are these the credentials you're trying to use to connect Sourcetree to Bitbucket Server?

Are those the same username and password you use to log in to your Bitbucket Server instance? If not, have you tried to use your personal credentials? Do you get any errors?

If those shown in the screenshots are your credentials, please change them as soon as possible as this is a public forum and anyone could have copied them. I've removed the screenshots from your message for your security.

For more information about using Bitbucket Server and Sourcetree, you can also see this article.

Let us know how that goes!

Best regards,


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,263 views 5 14
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you