<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/use-notion-as-a-database-for-your-next-js-blog-0wpk1akhh" -->

---
title: Use Notion as a database for your Next.JS Blog | daily.dev
description: Learn how to use Notion as a database for your Next.JS Blog. Create a Notion Database, get a Notion Token, set up the project, and create the Post Page. Render...
canonical: https://daily.dev/posts/use-notion-as-a-database-for-your-next-js-blog-0wpk1akhh
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Use Notion as a database for your Next.JS Blog | daily.dev
og:description: Learn how to use Notion as a database for your Next.JS Blog. Create a Notion Database, get a Notion Token, set up the project, and create the Post Page. Render...
og:url: https://daily.dev/posts/use-notion-as-a-database-for-your-next-js-blog-0wpk1akhh
og:image: https://api.daily.dev/og/posts/0wPk1AKHh.png
og:image:alt: Use Notion as a database for your Next.JS Blog
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Use Notion as a database for your Next.JS Blog

**[DEV](https://daily.dev/sources/devto)** · 4 min read · 378 upvotes · 25 comments

## Summary

Learn how to use Notion as a database for your Next.JS Blog. Create a Notion Database, get a Notion Token, set up the project, and create the Post Page. Render the content of a Notion page in a Next.JS Blog.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://dev.to/martinp/use-notion-as-a-database-for-your-nextjs-blog-195p>

## Community discussion

Top comments from developers on daily.dev.

**@asta\_nguyen** · 1 upvotes

> awesome!!

**@daadaa** · 0 upvotes

> this is so cool pro thnks

**@lenn\_box** · 0 upvotes

> Sounds cool, does it only work with next.js? (sry for the dumb question. beginner)

**@ryanoliveira** · 0 upvotes

> nice

**@waroi** · 0 upvotes

> 👍

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 1 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#webdev](https://daily.dev/tags/webdev), [#javascript](https://daily.dev/tags/javascript), [#nextjs](https://daily.dev/tags/nextjs), [#notion](https://daily.dev/tags/notion)

[View this post on daily.dev](https://daily.dev/posts/use-notion-as-a-database-for-your-next-js-blog-0wpk1akhh)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Use Notion as a database for your Next.JS Blog","url":"https://daily.dev/posts/use-notion-as-a-database-for-your-next-js-blog-0wpk1akhh","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/use-notion-as-a-database-for-your-next-js-blog-0wpk1akhh"},"datePublished":"2023-05-15T11:40:40.164Z","dateModified":"2024-04-12T08:17:17.736Z","description":"Learn how to use Notion as a database for your Next.JS Blog. Create a Notion Database, get a Notion Token, set up the project, and create the Post Page. Render...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7f67ba3e529d35759f2cb9697884abaa?_a=AQAEufR","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7f67ba3e529d35759f2cb9697884abaa?_a=AQAEufR","isAccessibleForFree":true,"articleSection":"DEV","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"DEV","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/devto","url":"https://daily.dev/sources/devto"},"commentCount":25,"discussionUrl":"https://daily.dev/posts/use-notion-as-a-database-for-your-next-js-blog-0wpk1akhh","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":378},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":25}],"keywords":"webdev,javascript,nextjs,notion","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"DEV","item":"https://daily.dev/sources/devto"},{"@type":"ListItem","position":3,"name":"Use Notion as a database for your Next.JS Blog"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/use-notion-as-a-database-for-your-next-js-blog-0wpk1akhh","comment":[{"@type":"Comment","text":"awesome!!","datePublished":"2023-05-16T10:01:27.025Z","url":"https://daily.dev/posts/0wPk1AKHh#c-NwDclOoZg","author":{"@type":"Person","name":"Asta Nguyen","url":"https://daily.dev/asta_nguyen","image":"https://media.daily.dev/image/upload/s--g4bE79pX--/f_auto/v1719987944/avatars/avatar_8g3Q5YgUiLGqcgo6c5zFR"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"this is so cool pro thnks","datePublished":"2023-05-16T08:12:37.653Z","url":"https://daily.dev/posts/0wPk1AKHh#c-8sbCLtwRx","author":{"@type":"Person","name":"Abdikadir qulle","url":"https://daily.dev/daadaa","image":"https://avatars.githubusercontent.com/u/121563789?v=4"}},{"@type":"Comment","text":"Sounds cool, does it only work with next.js? (sry for the dumb question. beginner)","datePublished":"2023-05-24T15:44:32.257Z","url":"https://daily.dev/posts/0wPk1AKHh#c-PQqKV1g4g","author":{"@type":"Person","name":"lenn","url":"https://daily.dev/lenn_box","image":"https://lh3.googleusercontent.com/a/AGNmyxavAp9s7i0UJZOudQ-bsVGjW6W_ubuQsMrZCbPP=s96-c"}},{"@type":"Comment","text":"nice","datePublished":"2023-05-18T17:11:39.124Z","url":"https://daily.dev/posts/0wPk1AKHh#c-UDbooPvsi","author":{"@type":"Person","name":"Ryan Oliveira Carvalho","url":"https://daily.dev/ryanoliveira","image":"https://media.daily.dev/image/upload/s--icOh2sEx--/f_auto/v1715085986/avatars/avatar_wtFTNl9Nh1aakCKqI3MYk"}},{"@type":"Comment","text":"👍","datePublished":"2023-05-21T10:03:31.119Z","url":"https://daily.dev/posts/0wPk1AKHh#c-d8OjuBejf","author":{"@type":"Person","name":"Varol Maksutoğlu","url":"https://daily.dev/waroi","image":"https://avatars.githubusercontent.com/u/3173292?v=4"}}]}
```

