> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/data-science-lab-4/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bdb.ai/data-science-lab-4/repo-sync-project/tabs-for-a-data-science-lab-project/tabs-for-pyspark-environment/notebook/adding-a-folder-or-file.md).

# Adding a Folder or File

This section mentions the steps to add a new folder or file to a Repo Sync Project.

{% hint style="success" %}
*Check out the given illustration to add a new folder or file to the Repo Sync Project.*
{% endhint %}

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2FmJq2uh6Ugyc1KDQJ4Xfx%2FAdding%20a%20File.mp4?alt=media&token=8f46b903-37f4-45bb-be5d-35e5dd68c86f>" %}
***Adding a New File Project***
{% endembed %}

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2FpwOnp7jjP2evbDleuG9O%2FAdding%20a%20Folder.mp4?alt=media&token=9eda7f99-1bb2-453f-9f96-1f1ac51f9b39>" %}
***Adding a New Folder Project***
{% endembed %}

## Adding a New File

* Navigate to the ***Notebook tab*** of the ***Repo Sync*** Project.
* Click the ***ellipsis*** icon.

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2F3m3ShVG0XGVatMokjGBs%2Fimage.png?alt=media&amp;token=7e6aa6e5-d9f5-4a7e-a774-7b44991a7653" alt=""><figcaption></figcaption></figure>

* Click the ***Add file*** option from the context menu.

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2FhTstlWqrIeiS5FGRGDYS%2Fimage.png?alt=media&amp;token=f4cd6bdb-7f0f-49a0-be26-1433100d157f" alt=""><figcaption></figcaption></figure>

* The ***Add file*** window opens.
* Provide a ***File name***.
* Click the ***Yes*** option.

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2FvQ1OpYufCUDipS2qg9Ih%2Fimage.png?alt=media&amp;token=c5054fde-092f-4bb2-960a-883394097e7d" alt=""><figcaption></figcaption></figure>

* A notification message appears to ensure that the new file has been created.
* The newly created file gets add to the ***Repo Sync Project***.

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2FYBhccHumyo2djkc1Uuob%2Fimage.png?alt=media&amp;token=ae4d40a0-a9cd-415c-bc9c-b102e0f63d2d" alt=""><figcaption></figcaption></figure>

### Defining a File Type

The user can insert the file type while adding a file to define file type.

* Navigate to the repo sync project.
* The ***Notebook*** tab opens.
* Click the ***Add File*** option.

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2FOabgz6Z0GMZutAqiJOEO%2Fimage.png?alt=media&amp;token=a393cf1e-742a-4933-9051-3fbe5953d920" alt=""><figcaption></figcaption></figure>

* The ***Add file*** window opens.
* File name: Provide the file type extension while giving it a name.
* Click the ***Yes*** option.

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2FXqbNt7OkTg8PU5HxbLfF%2Fimage.png?alt=media&amp;token=6a4c8a7f-1b00-4601-afc9-b9a39ead3f53" alt=""><figcaption></figcaption></figure>

* A notification message appears.
* The new file gets added with the provided file extension.

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2FtePYlIF4E48I1CioojGJ%2Fimage.png?alt=media&amp;token=a77cc50a-31eb-48f8-bf25-874db76882c2" alt=""><figcaption></figcaption></figure>

## Adding a New Folder

* Navigate to the ***Notebook tab*** of the ***Repo Sync*** Project.
* Click the ***ellipsis*** icon. &#x20;

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2Fg0T4VTpNwgCdzZI2V8mf%2Fimage.png?alt=media&amp;token=c685341b-3fc3-4863-81c2-2dfafcfbbf8a" alt=""><figcaption></figcaption></figure>

* Click the ***Add folder*** option from the context menu. &#x20;

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2FEDQfO7k9VRaWFi97ZttT%2Fimage.png?alt=media&amp;token=979f179a-c45f-4882-9e2f-7bffa666d3a6" alt=""><figcaption></figcaption></figure>

* The ***Add folder*** window opens.
* Provide a Folder name.
* Click the ***Yes*** option.

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2F839SBlhldfoysZ26XmYu%2Fimage.png?alt=media&amp;token=d3b13d36-a19a-4a9b-857d-0e5e9f2c8fc0" alt=""><figcaption></figcaption></figure>

* A notification message appears to ensure that the new folder has been created.
* The newly created folder gets add to the ***Repo Sync Project***.

<figure><img src="https://4082649235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QeOywZjV1cHo55cMW8u%2Fuploads%2FM3xx1IgRw9ScuqrIjHTi%2Fimage.png?alt=media&amp;token=bdadd677-8a9d-44df-9fda-4be8e42dd2e1" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark>* *Refer the* [***Data Science Lab Quick Start Flow*** ](https://docs.bdb.ai/data-science-lab-4/data-science-lab-quick-start-flow)*page to get an overview of the **Data Science Lab** module in nutshell.*&#x20;
{% endhint %}
