# How can I provision datasource & dashboard successfully to grafana using helm?

**URL:** <https://community.grafana.com/t/how-can-i-provision-datasource-dashboard-successfully-to-grafana-using-helm/48674>\
**Category:** Installation\
**Created:** [June 9, 2021, 1:01pm UTC](https://community.grafana.com/t/how-can-i-provision-datasource-dashboard-successfully-to-grafana-using-helm/48674 "2021-06-09T13:01:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mssach](https://avatars.discourse-cdn.com/v4/letter/m/eada6e/32.png) [@mssach](https://community.grafana.com/u/mssach)\
**Post date:** [June 9, 2021, 1:01pm UTC](https://community.grafana.com/t/how-can-i-provision-datasource-dashboard-successfully-to-grafana-using-helm/48674/1 "2021-06-09T13:01:29Z")

</div>

I am trying to provision influxdb2 (v 2.0.6) datasource & [dashboard](https://grafana.com/grafana/dashboards/5496) to grafana (v 7.5.7) using helm?

Grafana pod gets created successfully but no data source & dashboard is getting created. But, if I try to add both manually, it works but I am trying to do it with deployment.

Please find my below values.yaml related to datasource & dashboard

```auto
datasources:
  datasources.yaml:
    apiVersion: 1
    datasources:
      - name: InfluxDB_v2_InfluxQL
        type: influxdb
        access: proxy
        url: http://podname.namespace:80
        # This database should be mapped to a bucket
        database: default
        jsonData:
          httpMode: GET
          httpHeaderName1: 'Authorization'
        secureJsonData:
          httpHeaderValue1: 'Token ****'

dashboardsProvider:
  enabled: enable
  #ConfigMap with a custom provider file.
  #Important to set the Path to "/opt/bitnami/grafana/dashboards"
  #Evaluated as a template.
  configMapName:

dashboards:
  jmeter-influxdb2:
    gnetId: 5496
    revision: 1
    datasource: influxdb

```

I have been using github’s garfana\>helm charts\>values.yaml, garfana doc on how to provision influxdb datasource & grafana administration provisioning page as references.
