# Project for a privately hosted bitbucket repository

**URL:** <https://discuss.circleci.com/t/project-for-a-privately-hosted-bitbucket-repository/22867>\
**Category:** Build Environment\
**Created:** [June 8, 2018, 4:49pm UTC](https://discuss.circleci.com/t/project-for-a-privately-hosted-bitbucket-repository/22867 "2018-06-08T16:49:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stuartsmiley](https://avatars.discourse-cdn.com/v4/letter/s/5e9695/32.png) [@stuartsmiley](https://discuss.circleci.com/u/stuartsmiley)\
**Post date:** [June 8, 2018, 4:49pm UTC](https://discuss.circleci.com/t/project-for-a-privately-hosted-bitbucket-repository/22867/1 "2018-06-08T16:49:13Z")

</div>

I would like to set up a project to build from a bitbucket repository that is privately hosted (not a private repo in Atlassian’s [https://bitbucket.org/](https://bitbucket.org/) server, but rather a privately hosted bitbucket repo). I signed into CircleCI with my github account (because I have one of those). When I click on “Add Project” in the menu I can select from my github projects of course, which makes sense. But I don’t see any option for creating an new project other than selecting one of my github projects. Is there any way to create a project and then associate a privately hosted bitbucket repo with that project? Even if I created a bitbucket account with Atlassian, I don’t think it would know anything about this privately hosted bitbucket repo, so I have not tried that yet.

---

<div class="post-metadata">

**Author:** ![halfer](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/halfer/32/9083_2.png) [@halfer](https://discuss.circleci.com/u/halfer)\
**Post date:** [June 8, 2018, 9:21pm UTC](https://discuss.circleci.com/t/project-for-a-privately-hosted-bitbucket-repository/22867/2 "2018-06-08T21:21:53Z")

</div>

I would guess that Bitbucket integration means repos at the standard [bitbucket.org](http://bitbucket.org) domain, so I think the answer to this would be “no”. I would suggest creating a mirror repository at [bitbucket.org](http://bitbucket.org), free of charge, on which you base your CI.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [September 6, 2018, 9:21pm UTC](https://discuss.circleci.com/t/project-for-a-privately-hosted-bitbucket-repository/22867/3 "2018-09-06T21:21:57Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
