How to create a notebook in PostHog

Create a notebook in PostHog, name it, add a text cell, and insert SQL or insight blocks so your written findings sit next to the data behind them.

Quick answer

Open Notebooks in PostHog and select Create your first notebook. PostHog opens an Untitled notebook with a title field you can rename. Add text to write your notes, then open the Add a cell menu to insert blocks such as SQL, Trend, Funnel, or Retention next to your written findings.

Steps at a glance

  1. Open Notebooks and click Create your first notebook
  2. Rename the Untitled notebook
  3. Click Add text to start writing
  4. Open the Add a cell menu
  5. Choose SQL to add a query block

Interactive demo

Loading demo…

Summary

A PostHog notebook is a page where you write up what you found next to the data you found it in. It keeps analysis and explanation together so teammates can follow your reasoning.

Step-by-step guide

  1. Step 1

    Create your first notebook

    Open Notebooks from your project. On the empty Notebooks page, click Create your first notebook. PostHog creates the notebook and opens it in the editor.

  2. Step 2

    Name your notebook

    The new notebook opens as Untitled notebook. Click the title and type a name that describes the question you are answering, such as Q3 launch review.

  3. Step 3

    Add a text cell

    Click Add text below the title to start a text block. Write your notes or findings here. PostHog saves your changes as you type.

  4. Step 4

    Open the add cell menu

    Click Add a cell to open the block menu. It lists Ask AI, Text, Python, and SQL, plus insight blocks such as Trend, Funnel, and Retention.

  5. Step 5

    Choose SQL

    Select SQL to insert a query cell into the notebook. You can now write a query beneath your notes, so your explanation and the data stay together on one page.

Why this matters

You spotted a pattern in sign-ups and need to explain it to your team. A notebook lets you write the story and drop in the query behind it, so nobody has to rebuild your analysis from screenshots.

Frequently asked questions

  • Does PostHog save a notebook automatically?

    Yes. The editor showed a Saved indicator after text was added, so you do not need to save manually.

  • What can I add to a notebook besides text?

    The Add a cell menu offers blocks such as SQL, Python, Trend, Funnel, Retention, and Paths.

Create interactive demos like this one — free, no coding required.

Start for free →