# Day one: connect your database, ask, and pin the answer

> The first version of the app: connect PostgreSQL or BigQuery, ask questions in SQL, work them through in notebooks, and pin the charts to dashboards.

Source: https://orcabase.co/blog/first-version · New feature · 11 September 2026

![A write-up mixing notes with live charts and their results.](https://orcabase.co/_astro/notebook-holiday.-TvIjj66_Z29RG2z.webp)

## In this post

- Connect a PostgreSQL database or a BigQuery project in two steps.
- Queries with their own page, and notebooks that mix notes with live charts.
- Pin any chart to one dashboard, or to several.

Orcabase started with one question a founder kept asking: *how is the business actually doing?* The answer was already sitting in the app’s database. Getting it out meant a spreadsheet export, a pivot table and an afternoon. The first version of Orcabase did one thing: put that database one click away from a chart.

## Connect your database

**New data source** is two short steps: pick what you’re connecting, then fill in its details. On day one that meant **PostgreSQL**, by host and login, or **Google BigQuery**, with a service account key. Passwords and keys are encrypted before they’re stored, and never shown again.

![New data source: the built-in warehouse, PostgreSQL, DuckDB and BigQuery, then Google Sheets and Search Console synced by Orcabase.](https://orcabase.co/_astro/data-sources-new.B8YPkmQA_27xh27.webp)

*New data source today. PostgreSQL and BigQuery were there on day one; the built-in warehouse and the synced sources came later.*

## Ask, then keep the answer

A **query** is a question written in SQL, the language databases speak, with its result underneath. Each one has its own page and saves as you go, so the question you answered last week is still there next week.

A **notebook** is for thinking a question through: text cells for notes, SQL cells for the numbers, each with its result and chart inline, in the order you worked it out. When a chart is worth keeping, pin it to a dashboard, or to several. Dashboards and notebooks are separate things, so the same chart can sit on your weekly dashboard and in the write-up that explains it.

![The steps behind a chart, with the dashboard filters they take and the results below.](https://orcabase.co/_astro/query-revenue-vs-plan.BjCjbeJv_1kW5vX.webp)

*A saved query: the steps behind a chart, and its result below.*

## Where these live now

Plenty has changed since. The data agent now writes most queries for you, in plain words, and the app’s navigation has been rebuilt around dashboards and your data.

> **Note: Moved since**
>
> Queries live under **Dashboards → All queries**. Notebooks are still in the app, as an experiment: open them from **⌘K** → **Notebooks**.

Learn more in the docs: [Quickstart](https://orcabase.co/docs/quickstart.md)

---

Newer: [A SQL editor, a proper results grid, and dashboards you can rearrange](https://orcabase.co/blog/sql-editor.md)

Every post: https://orcabase.co/blog.md · RSS: https://orcabase.co/blog/rss.xml
