> For the complete documentation index, see [llms.txt](https://docs.openg2p.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.openg2p.org/operations/deployment/deployment-guide/importing-dashboards-on-the-superset-ui-for-openg2p-applications.md).

# Importing Dashboards on the Superset UI for OpenG2P Applications

This document explains how to import dashboards in superset

## Steps to import dashboards on superset ui

Superset provides a simple and intuitive interface to import dashboards, allowing users to migrate or restore dashboards from one instance to another. Follow the steps below to successfully import dashboards using the Superset UI.

1. **Clone the repository from OpenG2P Github:** Clone the [repository](https://github.com/OpenG2P/openg2p-superset-reports/tree/develop) to obtain all the dashboard files, convert them into a ZIP file, and store it in your local directory.
2. **Login to Superset:** Login to the Superset UI using your credentials with the required permissions to import dashboards.
3. **Add the Database:** Once logged in, add the database for the service associated with the dashboard you want to import. To add a database:

   1. Go to **Settings**.
   2. Click on **Database Connections**.
   3. Select **Add Database** and provide the necessary details, then save it.

   <figure><img src="https://3034178245-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJZcdob2emEcLMvLyIxqT%2Fuploads%2FscC2i9E0JcAXVA5OOCNE%2Fimage.png?alt=media&amp;token=a785b7ca-ff1d-4e3c-bb6a-642e45b4c29d" alt=""><figcaption><p>Add database</p></figcaption></figure>
4. **Import the Dashboard:** From the main dashboard:
   1. Click on **Import Dashboards** in the top-right corner.
   2. Select the dashboard ZIP file from your local system.
   3. Provide the database password for authentication, and import.
5. **Verify the Import**: Once the import is complete:
   1. Navigate to the **Dashboards** tab to ensure the new dashboard appears.
   2. Open the dashboard to verify that all components are functioning as expected.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.openg2p.org/operations/deployment/deployment-guide/importing-dashboards-on-the-superset-ui-for-openg2p-applications.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
