BuouNext
  • Features
  • DocumentsNew
  • BrutalUINew
  • ShowcaseHot
  • Pricing
  • Blog

    Getting Started

    Introduction

    BuouNext Instruction

    InstallationRun BuouNextProject StructureComponentsAuthenticationEmailAPI CallsDatabasePaymentSEO OptimizationHeadless CMSContact

    AI Instruction

    AI ImageNewAI ChatbotNewAI SearchNewAI NotionNew

    Components

    Super ClockNewFloating DockNewAI Image CompareNewAvatar ListNewClockNewDarkModeNewStepperNewRotation AvatarNewButton with TrailNewDotNewGridNewCounter CardNewMarquee CardNewProfile CardNewBento gridNewBorder Trail CardNewBuouNext FeaturesNewColor CardNewMouse FollowingNewColor GridNewAnimotion In View CardNewLevitate CardNewReorder CardNewGenerate TextNewSmooth Fliping NumberNewSmooth Fliping TextNewSmooth Typing TextNewTyping TextNewWindow Typing TextNewFade In OutNewText DropNewScalingNew
    Docs
    How to Use AI Search in BuouNext

    How to Use AI Search in BuouNext

    Learn how to enable and use AI Search powered by Google Gemini 2.0 Flash in BuouNext, providing a Perplexity-like search experience.

    Gemini is Google’s cutting-edge generative language model.
    In BuouNext, we integrate Gemini 2.0 Flash to power AI Search, offering users an intelligent, fast, and context-aware search experience similar to Perplexity.ai. This feature allows you to ask complex questions and receive synthesized answers from across the web with citation and real-time knowledge.

    🔧 Prerequisites

    Before using AI Search, ensure the following:

    • You have a Google Developer account.
    • You’ve applied for and received access to the Gemini API key.
    • You are using BuouNext v1.2.0 or later.
    • Your project has internet access and appropriate serverless functions or API routes enabled.

    How to Apply for a Gemini API Key

    1. Visit the Google AI Platform:
      Go to Google AI Studio and sign in with your Google account.

    2. Create a New Project:
      If you don’t have an existing project, create a new one via the Google Cloud Console.

    3. Enable the Gemini API:
      Navigate to the API Library and search for the Gemini API. Click "Enable" to add it to your project.

    4. 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.

    5. 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 search

    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

    AI ChatbotAI Notion