> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/data-science-lab-3/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-3/project/tabs-for-a-data-science-lab-project/tabs-for-pyspark-environment/dataset/adding-data-sets/data-sandbox.md).

# Data Sandbox

{% hint style="info" %}
*<mark style="color:green;">Pre-requites:</mark> The user must configure the* [***Sandbox Settings*** ](https://docs.bdb.ai/administrative-settings-3/admin-panel-options/configurations/sandbox-settings)*to access the Data Sandbox option under the Data Science Lab.*
{% endhint %}

{% hint style="info" %}
*Check out the walk-through on how to add a Data Sandbox as a dataset.*
{% endhint %}

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FKeWEWCgL52VoasQe0bLA%2FUploading%20Data%20Sandbox%20(Pyspark)%20from%20Dataset%20tab.mp4?alt=media&token=dfad4495-d2ba-409b-8824-0371e81f19c0>" %}
***Uploading & Adding a Data Sandbox as Data set***
{% endembed %}

* Open the **Dataset** tab from a specific project.
* Click the **Add Datasets** option.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FNdmAcTGmUTMcfYR8Pk9q%2Fimage.png?alt=media&amp;token=75cc4165-b764-4dc6-863a-aca811f7933a" alt=""><figcaption></figcaption></figure>

* The user gets redirected to the **Add Datasets** page.
* Select the ***Data Sandbox*** option from the Data Service drop-down menu.
* Click the ***Upload*** option to upload a Data Sandbox file.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FfkPoogGg9rSF3yS3JkE0%2Fimage.png?alt=media&amp;token=53704090-f3a7-43bf-bbd8-83728ba72b31" alt=""><figcaption></figcaption></figure>

* The user gets redirected to the ***Upload Data Sandbox*** page.
* Provide a ***Sandbox Name***.
* Provide ***Description*** about the Data Sandbox.
* Click the ***Choose File*** option to select a file.
* Click the ***Save*** option to begin the file upload.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2F7VNl1Htp1KlSIbfl6lPH%2Fimage.png?alt=media&amp;token=c208fc96-b5ed-4f1c-8254-f3f5a0cfb293" alt=""><figcaption><p><em><strong>Update Data Sandbox Page</strong></em></p></figcaption></figure>

* Wait till the file gets loaded 100%.&#x20;

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FhAPZ6zUmqT3CGcuIcIy4%2Fimage.png?alt=media&amp;token=d2edf0ca-c533-40e1-b598-8c3d2b9bd97b" alt=""><figcaption></figcaption></figure>

* A notification message appears to indicate that the file has been uploaded (after the data gets loaded 100%).
* The user gets redirected to the ***Add Datasets*** page displaying the recently uploaded Sandbox file at the top of the list.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FUCPmPf55ZcuIRlEBFPwI%2Fimage.png?alt=media&amp;token=66f02022-2b68-4db3-9d52-08b5ca1be387" alt=""><figcaption></figcaption></figure>

* Select a ***Data Sandbox file*** using the checkbox given next to it.
* Click the ***Add*** option that appears after selecting the uploaded Sandbox file.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2F5LnuZH3u5sPe6AIzzImj%2Fimage.png?alt=media&amp;token=ed17b5cc-9e4a-48d9-a240-c0c8e2da0cdf" alt=""><figcaption></figcaption></figure>

* A notification message appears to inform that the selected Dataset (in this case, the selected Data Sandbox file) has been updated.
* The user gets redirected to the ***Dataset*** tab where the uploaded Sandbox file is added file at the top of the list.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2F6NW2vcwJWKTm444orKB4%2Fimage.png?alt=media&amp;token=74c9a435-c678-4487-8f24-305b00eb4a2a" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark>*&#x20;

* *The user can get a **Search bar** to search across the multiple Datasets options on the **Add Datasets** page.*
* *Refer the* [***Data Science Lab Quick Start Flow*** ](https://docs.bdb.ai/data-science-lab-3/data-science-lab-quick-start-flow)*page to get an overview of the **Data Science Lab** module in nutshell.*&#x20;
  {% endhint %}
