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