# Data Store using an API Data Connector

{% hint style="info" %}
*Check out the given walk-through on how to create a Data Store based on an API Data Connector.*
{% endhint %}

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

* Navigate to the Data Center homepage.
* Click the ***New*** option.
* Select the ***Data Stores*** option from the context menu.

![](/files/QBatQPiEaCuk8kXyQXoL)

* Choose an API connector type from the filter panel.
* Select a data connector from the displayed list.
* Click on the ***Plus symbol*** option to create the Data Store. &#x20;

![](/files/9AzyLgloq1aGt3OBPHID)

### **Getting Data**      &#x20;

* The ***Getting Data*** tab opens.
* Provide a name for the Data Store.&#x20;
* The name of the selected Data Connector gets displayed by default.
* Select a data set using the ***Data Set List*** drop-down menu.
* Use a checkmark in the given box to ***Enable Scheduler***
* Click the ***Next*** option.    &#x20;

![Configuring the Getting Data tab](/files/lC5Af3mfkqwwLHHJFHgZ)

### **Data Type Definition**

* The ***Data Type Definition*** tab opens.
* The user can interchange the available Dimensions, Measures, and Time fields to define data.
* Enable dimension fields with a checkmark to get in the LOV of the Filter pane of the Self-service BI Report.
* Click the ***Next*** option to proceed.&#x20;

![Configuring the Data Type Definition](/files/CNidPbqERincjG4NoUkI)

### Hierarchy Definition

* The ***Hierarchy Definition*** tab opens.
* Add a new Drill Def box by clicking the ***Add*** icon.
* Drag and drop Dimension fields or Time field to create a hierarchy (The dragged and dropped ***Time*** fields gets divided into three level granularities, E.g., Year>Month>Date).
* Click the ***Next*** tab to proceed.

&#x20;

![Configuring the Hierarchy Definition tab](/files/JHF7EUB4JXw5byJ5BqxI)

### Data Restrictions

* The ***Data Restrictions*** tab opens.
* Click the ***Add*** icon.
* Select a Dimension from the drop-down menu.
* Enter a User Property based on the inserted custom fields of a specific user(s) or user group(s).
* Click the ***Next*** option to proceed.&#x20;

![](/files/Pg2C4CfEpw69ebiAxtBf)

### Schedule Data Refresh

* The ***Schedule Data Refresh*** tab opens.
* The following options are provided to Schedule refresh the data:
  * Daily
  * Weekly
  * Monthly
  * Yearly
* Select any one option from the above-given list and configure the required information to set the data refresh interval.
* Select the ***Refresh Now*** option by enabling the box to refresh the Data Store immediately after its creation.
* Enable Email Notification by enabling the option.
  * Provide the Email Address on which you want the notification email to be sent.
* Click the ***Finish*** option.

![Configuring the Schedule Data Refresh tab](/files/tCWj2X4ORiBv4sVIuEyb)

* A success message appears to inform about the creation of a new data store.
* The newly created Data Store gets added to the Data Stores list.

![A new Data Store based on an API connector gets added at the top of the Data Stores list](/files/krr5pYTHG5II3tWZcJXR)


---

# 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/bdb-documentation/data-center/data-stores/creating-a-new-data-store/data-store-using-an-api-data-connector.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.
