Build your first dashboard

This topic helps you get started with Grafana and build your first dashboard using the built-in Grafana data source. To learn more about Grafana, refer to Introduction to Grafana.

NOTE: Grafana also offers a free account with Grafana Cloud to help getting started even easier and faster. You can install Grafana to self-host or get a free Grafana Cloud account.

Install Grafana

Grafana can be installed on many different operating systems. For a list of the minimum hardware and software requirements, as well as instructions on installing Grafana, refer to Install Grafana.

Sign in to Grafana

To sign in to Grafana for the first time:

  1. Open your web browser and go to http://localhost:3000/.

    The default HTTP port that Grafana listens to is 3000 unless you have configured a different port.

  2. On the sign-in page, enter admin for both the username and password.

  3. Click Sign in.

    If successful, you’ll see a prompt to change the password.

  4. Click OK on the prompt and change your password.

NOTE: We strongly recommend that you change the default administrator password.

Create a dashboard

If you’ve already set up a data source that you know how to query, refer to Create a dashboard instead.

To create your first dashboard using the built-in -- Grafana -- data source:

  1. Click Dashboards in the left-side menu.

  2. On the Dashboards page, click New and select New Dashboard from the drop-down menu.

  3. On the dashboard, click + Add visualization.

    Empty dashboard state
    Figure 1. Empty dashboard state
  4. In the dialog box that opens, click -- Grafana --:

    Select data source dialog box

    image::screenshot-data-source-selector-10.0.png

    This configures your query and generates the Random Walk dashboard.

  5. Click the Refresh dashboard icon to query the data source.

    Refresh dashboard icon

    image::screenshot-refresh-dashboard-9.5.png

  6. When you’ve finished editing your panel, click Save to save the dashboard.

    Alternatively, click Apply if you want to see your changes applied to the dashboard first. Then click the save icon in the dashboard header.

  7. Add a descriptive title for the dashboard, and then click Save.

    Alternatively, Grafana can generate a dashboard title and summary for you using the OpenAI integration. Learn more in the Set up generative AI features for dashboards documentation.

Congratulations, you have created your first dashboard and it’s displaying results.

Next steps

Continue to experiment with what you have built, try the explore workflow or another visualization feature. Refer to Data sources for a list of supported data sources and instructions on how to add a data source. The following topics will be of interest to you:

Admins

The following topics are of interest to Grafana server admin users: