How to Use AI Notion in BuouNext
Learn how to use the Notion-style WYSIWYG editor with AI-powered autocompletion in BuouNext. Built with Tiptap and Vercel AI SDK.
BuouNext Notion is a rich-text editor inspired by Notion.
It supports WYSIWYG editing, markdown shortcuts, and AI-powered autocompletion, making it ideal for writing notes, documentation, and even blog posts β all in a seamless and modern editing experience.
π§± Technology Stack
- Tiptap β ProseMirror-based modular editor framework
- Vercel AI SDK β Unified AI messaging framework supporting streaming
- BuouNext β Comes with built-in editor page and API handler
π Features
- Notion-style block editing and drag-to-reorder
- Markdown shortcuts (e.g.
#
for heading,-
for list) - Command menu (
/
) for inserting AI blocks, images, embeds, etc. - AI autocompletion for selected paragraphs or full page
- Light/dark mode support
How to Apply for a Gemini API Key
-
Visit the Google AI Platform:
Go to Google AI Studio and sign in with your Google account. -
Create a New Project:
If you donβt have an existing project, create a new one via the Google Cloud Console. -
Enable the Gemini API:
Navigate to the API Library and search for the Gemini API. Click "Enable" to add it to your project. -
Generate an API Key:
In the Cloud Console, go to the "Credentials" section and click "Create Credentials". Choose "API Key" and copy the generated key.Note: Keep your API key secure and restrict its usage via application restrictions and API restrictions.
-
Set Up Environment Variables:
Store your API key in a secure place (e.g., in a.env.local
file):
GOOGLE_GENERATIVE_AI_API_KEY=your_generated_api_key_here
How to use AI notion
You can test it in AI Image
and if you set up GOOGLE_GENERATIVE_AI_API_KEY,you can use it directly before you run BuouNext success