docs/sources/as-code/observability-as-code/git-sync/provisioned-dashboards.md
{{< admonition type="note" >}}
Git Sync is now GA for Grafana Cloud, OSS and Enterprise. Refer to Usage and performance limitations to understand usage limits for the different tiers.
Contact Grafana for support or to report any issues you encounter and help us improve this feature.
{{< /admonition >}}
Using provisioning, you can choose to store your dashboard JSON files in either Git repositories using Git Sync or a local path, and manage them through the Grafana interface. Dashboards and folders synchronized using Git Sync or a local path are referred to as provisioned resources. Git Sync is the recommended method for provisioning your dashboards.
Using Git Sync, you can manage your dashboards in the UI and synchronize them with your configured Git repository. If you push a change in the repository, those changes are mirrored in your Grafana instance.
main branch.
Refer to Key concepts for more details.
{{< admonition type="note" >}}
It may take a few minutes for your changes to reflect on your screen. If they don't, refresh the UI manually.
{{< /admonition >}}
You have the following options to add new dashboards in your Git Sync connection:
If you want to add an existing dashboard to your provisioned resources, refer to Export non-provisioned resources from Grafana.
To add a new dashboard from the Grafana UI:
After you create the dashboard, follow these steps:
When you edit a provisioned resource, you're prompted to save or discard those changes. Saving changes requires opening a pull request in your Git repository.
To save dashboard changes:
You can remove a provisioned dashboard by deleting the dashboard from the repository. The Grafana UI updates when the changes from the Git repository sync.
To restore a deleted dashboard, raise a PR directly in your Git repository. Restoring resources from the UI isn't possible at the moment.
You can document the contents or any other relevant piece of information of your provisioned folder in a README.md file stored alongside its resources in the repository. Grafana renders the README inline on the folder page, below the list of dashboards, so your team can see what's in the folder, how it's organized, and where to find the right dashboard without leaving Grafana.
README.md file, Grafana renders its Markdown content. Relative links and images in the README resolve against the host repository.README.md, or if the folder is empty, you'll be prompted to action with a Add README button.{{< admonition type="note" >}}
It may take a few minutes for your changes to reflect on your screen. If they don't, refresh the UI manually.
{{< /admonition >}}
Follow these recommendations when working with provisioned dashboards:
README.md so your teammates can find the right dashboard quickly.Refer to Work with provisioned repositories for general guidance about using Git Sync.