AI Model Wiki

    Skip to main content
    15 min
    Lesson 1 of 4

    Bubble Fundamentals & AI Plugin Setup

    From the course Bubble AI App Builder

    Bubble is the most powerful no-code platform for building full web applications. Unlike simple website builders, Bubble gives you a complete backend with a database, user authentication, API integrations, and complex logic — all through a visual editor.

    Why Build AI Apps with Bubble?

    • Full-stack: Database, backend logic, and frontend in one platform
    • API Connector: Connect to any AI API (OpenAI, Anthropic, Google)
    • Real-time: Build streaming AI chat interfaces
    • Scalable: Deploy to production with Bubble's hosting
    • Marketplace: Thousands of plugins including AI-specific ones

    Setting Up AI Integration

    Method 1: API Connector (Recommended)

    1. Go to Plugins → Add Plugin → API Connector
    2. Create a new API called "OpenAI"
    3. Add authentication: Bearer Token with your API key
    4. Create API calls for completions, chat, embeddings

    Method 2: Community Plugins

    Search the Bubble plugin marketplace for pre-built AI plugins:

    • OpenAI / ChatGPT plugins
    • Anthropic Claude plugin
    • Whisper (speech-to-text) plugin
    • DALL-E image generation plugin

    Database Design for AI Apps

    Plan your database to store AI interactions:

    • Conversations: user, created_date, title
    • Messages: conversation, role (user/assistant), content, timestamp
    • Prompts: title, system_prompt, model, temperature
    • Generated Content: type, input, output, user, created_date

    Key Takeaways

    • •Bubble provides a complete full-stack platform for building AI web applications
    • •Use the API Connector plugin to integrate any AI API directly
    • •Plan your database schema to store conversations, messages, and generated content
    • •Community plugins offer pre-built integrations for popular AI providers
    0 of 4 lessons marked complete

    Progress is kept in this browser only.