# Deploy Your Dashboard

Once the **Widget Dashboard** has been fully configured and saved, all dashboard definitions—including pages, widgets, chart properties, and series configurations—are **persisted in the database**.

To make the configured dashboard available in another environment (for example, **UAT** or **Production**), the configuration data must be **deployed** from the development database to the target database.

***

#### Dashboard Configuration Storage

When you click **Save** after configuring the dashboard:

* All dashboard‑related configurations are stored directly in the database
* This includes configuration data across multiple dashboard‑related tables
* No additional compilation or page generation is required at this stage

Because the Widget Dashboard is **fully database‑driven**, deployment is handled at the data level rather than through code artifacts.

***

#### Deploy Dashboard via Data Migration

To deploy the dashboard configuration to another environment:

1. **Export** the relevant dashboard configuration data from the development database
2. **Import** the exported data into the target database environment

This process ensures that:

* The dashboard structure and configuration remain consistent across environments
* No reconfiguration is required in the target environment
* The dashboard can be rendered immediately once the data is available

***

#### Deployment Considerations

When deploying a Widget Dashboard using database migration, consider the following:

* Ensure all related configuration tables are migrated together
* Verify that page IDs, widget IDs, and references remain consistent
* Confirm that required data tables exist in the target environment
* Test the deployed dashboard after import to validate rendering and navigation

***

#### Summary

Deploying a Widget Dashboard involves **moving configuration data**, not rebuilding UI components or pages.

By exporting and importing dashboard configuration data:

* Dashboards can be promoted across environments
* Legacy Widget Dashboards can be reused without redesign
* Deployment remains simple, traceable, and environment‑independent

This completes the **Widget Dashboard lifecycle**, from configuration to deployment.


---

# 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.onewebstack.com/building-apps/ui-page-designer/ux-ui-components/dashboard/widget-dashboard/deploy-your-dashboard.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.
