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
- Open Notebooks and click Create your first notebook
- Rename the Untitled notebook
- Click Add text to start writing
- Open the Add a cell menu
- Choose SQL to add a query block
Interactive 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
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.
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.
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.
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.
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.
Related guides
Continue with more step-by-step guides for getting work done.
How to write a SQL query in PostHogLearn how to write a SQL query in PostHog: enter a query in the SQL editor, run it, and read a table of your most frequent events over 14 days.
How to add an annotation in PostHogLearn how to add an annotation in PostHog: open Annotations, write a note such as a launch, and save it so the date is marked on your charts.
How to add an insight to a dashboard in PostHogAdd a saved PostHog insight to a dashboard in a few clicks: open it from All insights, choose Add to dashboard, and pin it to your overview.
How to create a retention insight in PostHogCreate a retention insight in PostHog: pick signed_up as the start event, task_created as the return event, set the last 14 days, then save it.
How to create a stickiness insight in PostHogBuild a stickiness insight in PostHog to see how many days users repeat an event. Pick task_created, set Last 14 days, name it, and save.
How to create a survey in PostHogCreate a survey in PostHog from the Open feedback template: name it, write one freeform text question, and save it as a draft before you launch it.
Create interactive demos like this one — free, no coding required.
Start for free →