doc/user/content/serve-results/bi-tools/deepnote.md
This guide walks you through the steps required to use the collaborative data notebook Deepnote with Materialize.
| Field | Value |
|---|---|
| Integration name | Materialize. |
| Host name | Materialize host name. |
| Port | 6875 |
| Username | Materialize user. |
| Password | App-specific password. |
| Database | materialize |
| Cluster | Your preferred cluster. |
{{% include-from-yaml data="examples/alter_cluster" name="configure-cluster" %}}
Create a new SQL block.
Inside the block, select the new Materialize integration and paste the following query:
SELECT
number,
row_num
FROM (
SELECT
power(series_number, 2) AS number,
row_number()
OVER
(ORDER BY series_number ASC, series_number DESC)
AS row_num
FROM (
SELECT generate_series(0, 1000) AS series_number
) AS subquery
);
This query generates a series of 1000 numbers squared and assigns row numbers to each.
Click the Run Notebook button.
Inside the block, click the {{% icons/chart %}} Visualize button and configure as follows:
For more information about Deepnote and the integration, visit their documentation.