Managing Grafana as code offers numerous advantages, such as improved workflows, code review, and reuse, by enabling a declarative approach to configuring resources. This guide explores several tools for managing Grafana as code, including the Grafana Terraform provider, Grafana Ansible collection, Grizzly, Grafana Crossplane provider, and the Kubernetes Grafana Operator. Each tool has its benefits and limitations, catering to different user needs and existing setups, such as Terraform, Ansible, or Kubernetes. The Terraform provider is ideal for those already using Terraform, while the Grafana Ansible collection suits Grafana Cloud users familiar with Ansible. Grizzly provides a Kubernetes-inspired YAML interface, and the Grafana Crossplane provider integrates with Kubernetes manifests for GitOps pipelines. Lastly, the Kubernetes Grafana Operator is a native solution for managing Grafana within Kubernetes environments. Each tool allows for different levels of resource management and integration, offering flexibility to users based on their existing infrastructure and preferences.