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.
# for heading, - for list)/) for inserting AI blocks, images, embeds, etc.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_hereYou 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