<!-- Source: https://docs.squirro.com/en/latest/technical/dashboards/dashboard-store.html -->
# Dashboard Store

The _Dashboard Store_ is a key-value database that can be used for many things.

Its most popular use case is to define visibility conditions within the [Dashboard Editor](dashboard-editor.md#dashboards-editor), though it can also be used for other purposes as well, including defining additional query parameters.

Reference: To learn more about visualizing layers, see [Visibility Conditions](visibility.md#dashboards-visibility).

> **Note**
>
> Each dashboard has its own unique _Dashboard Store_. Values entered in one dashboard will not be available in another.

## Defining Layer Dashboard Store Values

Layer visualizations can be controlled via _Dashboard Store_ visibility conditions. To set up a _Dashboard Store_ visibility condition, follow the steps below:

1. Open the _Dashboard Editor_ for your dashboard.
2. Click the layer you want to edit.
3. Click Visibility Condition +.
4. Use the dropdown to select _Dashboard Store_ and choose your conditions, store key, and value.

[![Dashboard Store Editor within Layer Visibility Condition](https://s3.amazonaws.com/download.squirro.net/docs/technical/dashboards/visibility-store.png)](https://s3.amazonaws.com/download.squirro.net/docs/technical/dashboards/visibility-store.png)

## Defining Widget Dashboard Store Values

Individual widget behavior can also be controlled via _Dashboard Store_ key-value pairs, or provide the basis for other layers’ visibility conditions.

> **Note**
>
> Not all widgets can be controlled by the _Dashboard Store_.

To define _Dashboard Store_ values for a widget, follow the steps below:

1. Open the _Dashboard Editor_ for your dashboard.
2. Click the widget you want to edit.
3. Under the _Data_ section, choose to _Control By_ Dashboard Store.
4. Set key-value parameters. (How you enter this information will vary from widget to widget.)

[![Dashboard Store Editor within Widget Properties](https://s3.amazonaws.com/download.squirro.net/docs/technical/dashboards/widget-store.png)](https://s3.amazonaws.com/download.squirro.net/docs/technical/dashboards/widget-store.png)

## Instantiating Predefined Values

You can instantiate predefined values within an individual dashboard’s _Dashboard Store_ by following the steps below:

1. Open your Squirro project.
2. Navigate to the Setup space.
3. Click Visualization.
4. Hover over the dashboard you want to edit, click the three dots, then click Edit.
5. Under _Dashboard Properties_, click Dashboard Store +.

   > [![Accessing the Dashboard Store](https://s3.amazonaws.com/download.squirro.net/docs/technical/dashboards/store-access1.png)](https://s3.amazonaws.com/download.squirro.net/docs/technical/dashboards/store-access1.png)
6. Enter your key-value pairs in the input field and click Save.

   > [![Dashboard Store Editor](https://s3.amazonaws.com/download.squirro.net/docs/technical/dashboards/dashboard-editor.png)](https://s3.amazonaws.com/download.squirro.net/docs/technical/dashboards/dashboard-editor.png)
