How to configure loki (dev environment) with grafana dartasource(prod environement)

I installed the grafana dashboard into the prod-environment and then I want to install grafana-Loki and promtail into the dev-environment using helm chart. so how to install and configure it?