# Creating a new Story based on a Data Sandbox Data Store with Data Preparations

{% hint style="info" %}
Check out the given walk-through on a Story creation workflow with Data Preparation steps.
{% endhint %}

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb3U3HdVsN1h9bZt2fgoH%2Fuploads%2FGIBxwdlurLZKQlu8Gnri%2F2023-03-06-12-39-23%20(online-video-cutter.com).mp4?alt=media&token=c0ec948d-cf93-4e8a-b0ee-021441f4d4e5>" %}

**Please follow the below-given steps to create a story with Data Preparation Steps on a Data Sandbox data source.**

* Go to the ***Data Center*** page homepage.
* &#x20;Click on the ***New*** tab.
* Click the ***Data Sandbox*** option to upload a file to Data Sandbox.&#x20;

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

* The Data Sandbox form opens for the user.
* Provide a name to the ***Data Sandbox.***
* Choose a file from the system.&#x20;
* Click the ***Upload*** option.

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

* Now, the uploaded file gets listed on the ***Data Sandbox List*** page.&#x20;
* Click on the ***Data Preparation*** icon to create a Data Preparation and make some transformations on the uploaded file.

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

* The user gets redirected to the ***Data Preparation*** module.
* Provide a name to the ***Data Preparation.***
* Apply various transformations as per the requirements as mentioned in the given image under the ***Steps*** tab.
* Click on the ***Back*** icon suggested as ***arrow icon*** to auto-save the Data Preparation.

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

* Navigate to the ***Data Sandbox List*** page.&#x20;
* Select the Sandbox file that has been saved with the Data Preparation steps.
* Click the ***Create Datastore*** option for the same Sandbox file.

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

* The ***Create Datastore*** dialog box opens.
* Provide a name in the ***Datastore name*** field.
* Select the Data Preparation from the drop-down.
* Click the ***Save*** option.&#x20;

&#x20;     ![](/files/BLCF2VISyjc8lJe9UA5L)

{% hint style="info" %}
*<mark style="color:green;">Please Note</mark>: A notification message appears and the Datastore will be created successfully.*
{% endhint %}

* Navigate to the ***Create New Story*** dialog box.
* Provide a name for the Story.
* Select the ***Existing Datastore*** option to begin with the Story creation.
* &#x20;Select the Datastore from the list that has been recently created from the Sandbox list page.
* Click the ***Create Story*** option to create a new story.&#x20;

<figure><img src="/files/64LFwkS1LWpU48xmK1v2" alt=""><figcaption></figcaption></figure>

* The user gets redirected to the ***Design canvas*** of the Story module with the selected Data Store reflecting the Dimension and Measures.
* Drag and drop the Dimensions and Measures to the ***Dimensions/Measures*** tab to create a View.&#x20;
* Click on the ***Save*** icon to save the View to the Storyboard.

<figure><img src="/files/xmYwJvql83C2b1CapxtN" 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.bdb.ai/self-service-visualization-1/creating-a-new-story/create-new-story/creating-a-new-story-based-on-a-data-sandbox-data-store-with-data-preparations.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.
