---
title: Create data-driven documents with notebooks
source: https://docs.newrelic.com/docs/query-your-data/explore-query-data/notebooks/introduction-notebooks
---

When investigating complex issues or sharing insights with your team, you often find yourself jumping between different tools, copying queries, taking screenshots, and struggling to maintain context as you piece together a complete story from your data. Traditional dashboards are great for monitoring, but they fall short when you need to document investigations, create detailed post-mortems, or build step-by-step analytical workflows.

Notebooks solve this problem by providing a dynamic and organized way to tell a complete story with your data. They are structured, data-driven documents that let you combine queries, visualizations, and descriptive text into a single, shareable asset, eliminating the need to switch between multiple tools or lose important context during your analysis.

## Use cases

Use notebooks to improve your workflow and turn raw data into actionable stories:

-   **Query, analyze, and visualize data**: Query all your observability data (logs, metrics, events) and create visualizations to gain a better understanding of your system's performance.
-   **Create post-mortems and alert event documents**: Collaborate with your team to document investigations and create a clear, reusable record for alert event post-mortems and root cause analysis.
-   **Build reusable workflows and runbooks**: Create and share step-by-step guides for complex analysis.
-   **Add context and narrative**: Use Markdown to easily add detailed titles, notes, and explanations to your queries and charts, transforming disconnected data points into a cohesive story.

## Get started with notebooks

Now that you understand the basics of notebooks, you're ready to start creating and managing your own notebooks.

### Access notebooks

To access notebooks:

1.  Go to **[one.newrelic.com](https://one.newrelic.com)**.
2.  Open the **Query your data** console from the drawer at the bottom of the page.
3.  Click **Notebooks** in the query builder header to see a list of all notebooks created by your organization.

![Screenshot showing a notebook in New Relic with NRQL queries and an area chart visualizing checkout process error rate](https://docs.newrelic.com/images/notebooks-navigation.webp "Navigate to notebooks from query your data")

Navigate to notebooks by going to **Query your data > Notebooks**

**Create a notebook**

You have two simple ways to start a new notebook:

### Start from the notebooks index

1.  Click **+ Create a notebook** at the top-right corner of the index.
2.  Give your notebook a meaningful name (names are searchable, so use relevant keywords like your service or application name).
3.  Click **Create**.
4.  In the query console drawer, type your first query.

### Start from the query console

1.  Open the query console (the drawer at the bottom of the platform).
2.  Create your desired queries and Markdown blocks.
3.  Click the **Save**.
4.  Name your notebook, and click **Save**.

**Manage your notebooks**

### Search and sort notebooks

To find specific notebooks in your organization:

1.  **Search by name**: Use the search bar at the top of the notebooks index to find notebooks by name or keywords.
2.  **Sort notebooks**: Click the sort dropdown to organize notebooks by:
    -   Name (A-Z or Z-A)
    -   Last modified date (newest or oldest first)
    -   Created date (newest or oldest first)
    -   Favorites (starred notebooks appear first)
3.  **Filter by favorites**: Click the star filter to show only your favorite notebooks.

### Duplicate a notebook

1.  Open the notebook you want to duplicate.
2.  Click the arrow next to the tab name in the console drawer and click **duplicate**.
3.  Click **Duplicate** from the context menu.
4.  A copy of the notebook will open in a new tab, ready for editing.

### Mark a notebook as favorite

To quickly find your most important notebooks, you can mark them as a favorite:

1.  Click the star icon next to a notebook's name in the index page.
2.  The icon will turn yellow, and the notebook will be grouped at the top of the index list.
3.  Click the star icon again to remove it from your favorites.

**Delete a notebook**

> #### ⚠️ CAUTION
>
> Deleting a notebook is permanent and cannot be undone. Once deleted, the notebook and all its content are permanently removed from the system. Make sure to duplicate any notebooks you want to preserve before deleting.

1.  On the notebook index list, click the three-dot action menu for the notebook you wish to delete.
2.  Click the **Delete** option.
3.  Confirm the deletion by clicking **Delete** again.

## Notebook blocks

Blocks are the fundamental building units of a notebook. They are individual sections you add to structure your analysis and narrative.

### Query blocks

Use query blocks to write [NRQL queries](https://docs.newrelic.com/docs/nrql/nrql-syntax-clauses-functions/) and visualize the results. All single query [chart types](https://docs.newrelic.com/docs/query-your-data/explore-query-data/use-charts/chart-types/) and customizations available in the standard query builder are supported in notebooks.

### Text blocks

Use Markdown to add rich text, titles, context, explanations, and descriptive text to tell the story of your investigation.

### Block actions

Every [block](https://docs.newrelic.com/docs/query-your-data/explore-query-data/notebooks/introduction-notebooks/) can be manipulated to organize your document:

-   **Duplicate**: Create a copy of the block
-   **Delete**: Remove the block from your notebook
-   **Move Up/Down**: Reorder blocks within your notebook
-   **Move to Top/Bottom**: Quickly move blocks to the beginning or end

## Notebooks permissions

Before you start creating notebooks, it's important to understand how permissions work and who will have access to your notebooks.

### Organization association

Every notebook is a resource that belongs to the organization in which it was created. This association is permanent and cannot be changed. Notebooks cannot be shared between different organizations. If the organization is deleted, the notebook is deleted as well. If a user moves to a different organization, they will not have access to notebooks from their previous organization.

### Current permissions model

New Relic Notebooks uses custom roles with CRUD capabilities to control access. There are two levels of access: organization-level (set by an admin) and notebook-level (set per notebook by its creator).

#### Organization-level permissions

These are granted via custom roles in the New Relic admin UI.

| Role            | Capabilities                                                                                               | What it allows                                         |
| --------------- | ---------------------------------------------------------------------------------------------------------- | ------------------------------------------------------ |
| **Full access** | `notebooks.create.notebook``notebooks.read.notebook``notebooks.update.notebook``notebooks.delete.notebook` | Create, read, edit, and delete any notebook in the org |
| **Creator**     | `notebooks.create.notebook`                                                                                | Create new notebooks (own notebooks only)              |

#### Notebook-level roles

These are assigned on a specific notebook, typically by the notebook's creator.

| Role       | Permission        | What it allows                                                                     |
| ---------- | ----------------- | ---------------------------------------------------------------------------------- |
| **Owner**  | `notebook_owner`  | Read, edit, delete, and manage permissions — automatically assigned to the creator |
| **Editor** | `notebook_editor` | Edit the notebook                                                                  |
| **Reader** | `notebook_reader` | View the notebook (read-only)                                                      |

#### How it works together

1.  An admin gives a user the **Creator** org-level role — this lets them create notebooks.
2.  When a user creates a notebook, they automatically become its **Owner**.
3.  The owner can then share the notebook with others by granting them **Editor** or **Reader** roles on that specific notebook.
4.  Users who need access to all notebooks org-wide (for example, admins) get the **Full access** role instead.

## What's next?

Now that you understand the basics of notebooks, you can:

-   Learn more about [blocks in notebook](https://docs.newrelic.com/docs/query-your-data/explore-query-data/notebooks/add-queries-to-notebooks/)
-   Use [variables in notebooks](https://docs.newrelic.com/docs/query-your-data/explore-query-data/notebooks/notebook-variables) to build dynamic, parameterized runbooks
-   Manage notebooks programmatically with the [Blob Storage API for notebooks](https://docs.newrelic.com/docs/query-your-data/explore-query-data/notebooks/blob-storage-api-for-notebooks)

You can also explore related features:

-   [Dashboards](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/introduction-dashboards) for building persistent data visualizations
-   [Query builder](https://docs.newrelic.com/docs/query-your-data/explore-query-data/query-builder/introduction-query-builder) for creating individual queries
-   [Charts](https://docs.newrelic.com/docs/query-your-data/explore-query-data/use-charts/use-your-charts) for understanding visualization options
