# 3. Set up Repository

In this section, you will be able to create a new GitLab repository with BlackDiamond Studio or connect to your own external repository.

## **1. Choosing BlackDiamond Studio Git provider:**&#x20;

The BlackDiamond Studio Git provider is a secured GitLab Instance. A new repository will be created for your project and you will be able to access it using your BDS account credentials. Only you and the people who have access to your project will be able to see the repository.

{% hint style="warning" %}
If you delete your project from the BDS Web Portal the associated BDS GitLab repository will also be deleted. Learn more about [deleting projects](/blackdiamond-studio-or-mobilize.net/blackdiamond-studio-documentation/bds-portal/deleting-a-project.md).&#x20;
{% endhint %}

![Option with BDS Git provider](/files/pWtgVj8QolM5a5NbKTK5)

## **2. Connecting to your own external repository:**&#x20;

Alternatively, you can create your project by selecting your own Git provider. <br>

<figure><img src="/files/CUlNRaz1s6pLOAgusUX0" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
If you delete your external repository, your project will not be compatible and you will need to remove it manually.
{% endhint %}

### **Our supported Git providers:**&#x20;

* &#x20;**GitHub:** If your code is already stored in or you wish to store your code in GitHub connect your project to a GitHub repository:

1\. Click on the **Continue with GitHub** button:&#x20;

![](/files/ul8lHMYtjVMOD904Ofc5)

&#x20;2\. Authorize BlackDiamond Studio to access your GitHub account:

(You will be able to revoke this anytime from your GitHub profile if you want).

![](/files/AKymHxWFAbb0xUq98ELB)

3\. You can enter your repository URL:

<figure><img src="/files/9azOOJRAkwQnhp2sIR2H" alt=""><figcaption></figcaption></figure>

4\. Or choose one from your list of repositories:<br>

<figure><img src="/files/RC7lX60LVz6YfbCYf19e" alt=""><figcaption></figcaption></figure>

4\. Save your changes by clicking on the **Continue** button.

<figure><img src="/files/mHoPHlGEyiU8NFvfiWTm" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.gapvelocity.ai/blackdiamond-studio-or-mobilize.net/blackdiamond-studio-documentation/bds-portal/creating-my-first-project/3.-set-up-repository.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
