# Local Dashboard Integration

If you have a local dashboard installation such as Grafana and wish to use Hosted Graphite as a data source, you can accomplish this in a few easy steps.

### Allow permission to access your Hosted Graphite data with an Access Key

In the Hosted Graphite App menu, click on **Access** and select **Access Keys**. Click on **Add Access Key** in the upper right-hand corner. Give your Access Key a name and select **Graphite** (this will give the external application access to the Graphite data).

<figure><img src="https://495119770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZtHmoGZNsmARIViZEdbz%2Fuploads%2FgosMPbZ6koDUUcDYgMdy%2Fadd-graphite-access-key.png?alt=media&#x26;token=68604304-2aa9-49d2-bdf7-9ba07c8401ad" alt=""><figcaption><p>Create graphite access key</p></figcaption></figure>

Copy the Access Key URL and read more details about Access Keys [here](https://docs.hostedgraphite.com/account-management/access-keys).

### Add the Hosted Graphite Data Source to a local Grafana Instance

In the Grafana Dashboard menu, navigate to Connections => Data Sources and select **Graphite**.

Name your new data source and paste the Access Key in the URL box, (e.g: <https://www.hostedgraphite.com/YOUR-UID/ACCESS-KEY/graphite/>), then click **Save & Test:**

<figure><img src="https://495119770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZtHmoGZNsmARIViZEdbz%2Fuploads%2FPOHRKjZSKbUDgxjyNrhR%2Flocal-dashboard-config.png?alt=media&#x26;token=af426b25-09d5-435d-bbdc-8ac32bc9889c" alt=""><figcaption><p>Local Grafana configuration</p></figcaption></figure>

***Note**: Checking the default box will make the Hosted Graphite data source the primary data source when building new panels.*

More information about Graphite Data Sources is documented [here](http://docs.grafana.org/features/datasources/graphite/).

### Select your new Data Source and Render Hosted Graphite Metrics

Create a new dashboard panel in your local Grafana environment, select your new Hosted Graphite data source, and enter a metric query:

<figure><img src="https://495119770-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZtHmoGZNsmARIViZEdbz%2Fuploads%2FVIOjCQA85GDTof7RlapH%2Flocal-grafana-example.png?alt=media&#x26;token=304a0783-a1cb-4377-9937-1dd12ba48486" alt=""><figcaption><p>Local Grafana example</p></figcaption></figure>


---

# 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.hostedgraphite.com/dashboard-and-graphs/local-dashboard-integration.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.
