# 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="https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FZgd3iWBA9ufqz5I6PrSv%2FAPI%20Data%20store%20creation.gif?alt=media&#x26;token=f1525d9e-ae1f-40b3-8a15-213d7c97a001" alt=""><figcaption></figcaption></figure>

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

![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2F7IpFgfRbbBINEOm3p0Qi%2Fimage.png?alt=media\&token=1d3261a8-0db6-4b0b-bd6e-93eead6c3b6c)

* 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;

![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FD5SVcW4E7vD6jZl7h9M1%2Fimage.png?alt=media\&token=8d527c92-b7f9-4e48-b5bb-8807ab9a8ed5)

### **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](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FVTlnYtoUqB7ghqgXMF1t%2Fimage.png?alt=media\&token=f4db6865-14a5-4a06-a2b7-2dbff784ac39)

### **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](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FtO32MFSLi9QDX7Llzj2X%2Fimage.png?alt=media\&token=d38362db-fa1c-4812-9ced-4a29aed49423)

### 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](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FOCpjh6GgGsGUENOajxHY%2Fimage.png?alt=media\&token=2f389440-68e3-4ca9-8d66-333a310c3541)

### 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;

![](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2Fu6OchhUCoBqzgOcraerb%2Fimage.png?alt=media\&token=ffcd0027-1a8f-4ba1-9a34-514240916e47)

### 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](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FDq6h0iOKwm0mBSacz4dr%2Fimage.png?alt=media\&token=ae03b769-bc1d-4a82-a4ba-fce83144bcd4)

* 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](https://972575688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRYq1HgffNfbnIMWPu1D5%2Fuploads%2FKdDyUDtiGZumTWZGhW7S%2Fimage.png?alt=media\&token=54ffb305-2be3-4dce-85de-17283561f185)
