---
title: "Deploy a dashboard learning path | Grafana Labs"
description: "Hands-on learning path to deploy a dashboard with Terraform"
---

> For a curated documentation index, see [llms.txt](/llms.txt). For the complete documentation index, see [llms-full.txt](/llms-full.txt).

## Learning path: Deploy a dashboard with Terraform

The following table describes the steps you’ll work through in the learning path.

| Step                            | What you’ll do                                                     | Outcome                                        |
|---------------------------------|--------------------------------------------------------------------|------------------------------------------------|
| **1. Create a service account** | Set up API credentials in Grafana for Terraform                    | A service account token for authentication     |
| **2. Configure the provider**   | Declare the Grafana Terraform provider and authenticate            | Terraform connected to your Grafana instance   |
| **3. Add a dashboard resource** | Define a `grafana_dashboard` resource pointing to your JSON file   | A Terraform configuration ready to deploy      |
| **4. Run terraform plan**       | Preview what Terraform will create in Grafana                      | Confidence in what will change before applying |
| **5. Apply and verify**         | Run `terraform apply` and confirm the dashboard appears in Grafana | A live dashboard deployed from code            |

## Before you start

Have these ready before you open the path:

- A Grafana Cloud account or self-managed Grafana instance (version 12 or higher)
- [Terraform](https://www.terraform.io/downloads) installed (version 1.0 or later)
- A dashboard JSON file (from the previous learning path or exported from the Grafana UI)
- Admin or Editor permissions on your Grafana instance

Learning path

#### Deploy a dashboard with Terraform

Welcome to the learning path that shows you how to deploy SDK-generated dashboard JSON to Grafana using the Terraform provider.

14 min

Intermediate

Docs &amp; blog posts

#### Open in Grafana Cloud

Complete this learning path directly in your Grafana Cloud stack, or in the Grafana Play stack, with an interactive learning experience.

[Open in Grafana Cloud]() [Try in Grafana Play]()

[View on website](/docs/learning-paths/deploy-dashboard-terraform/)
