Skip to main content
Docs/Services & SDKs
DocsServices & SDKs
Free

Services & SDKs

12+ core built-in services with client SDKs that are auto-detected and injected into your generated apps: file storage, auth, AI chatbot, vector DB, voice agent, video AI, and more. 40+ specialized SDKs also available for deeper backend needs.

Overview

GenMB includes 12 core built-in services (documented below) plus 40+ specialized SDKs that add backend capabilities to your generated apps without any configuration. The AI analyzes your code, detects which services are needed, and automatically injects the corresponding client SDKs.

Services are detected automatically, no manual setup or API keys required. Each service has a client SDK injected as a script tag into your app's HTML. Services work both in preview (via Next.js proxy) and in deployed apps (via deploy-service proxy). All services are available on the Free plan unless noted otherwise.

Plan availability

Most built-in services are available on the Free plan. AI Voice Agent and AI Video Generation require Pro or Business. See their dedicated docs for runtime limits and implementation details.

Auto-Detection

You do not need to manually enable services. When the AI generates or refines your code, it scans for patterns (file upload forms, login buttons, chat interfaces, etc.) and automatically injects the matching SDKs. You can override the detection from the Services panel in the sidebar.

SDK Namespace

All SDKs are available on the window.genmb namespace. For example, use window.genmb.storage for file storage, window.genmb.auth for authentication, and window.genmb.ai for AI completions.

File Storage

Cloud file storage for your generated apps. Upload, list, and delete files via window.genmb.storage. Backed by Google Cloud Storage with plan-based quotas.

MethodDescription
upload(file, options)Upload a file with optional folder organization.
list(options)List all files or files in a specific folder.
delete(filename)Delete a file by name.
getUrl(filename)Get the public URL for a stored file.

No API keys needed, the SDK authenticates through GenMB's proxy automatically.

Google Auth

Google OAuth authentication for your generated apps. Users can sign in with their Google account via window.genmb.auth.

The service provides a complete Google OAuth flow - sign in, sign out, and session management. User profile data (name, email, avatar) is available after authentication, and session state persists across page reloads.

No Google Cloud Console setup required. GenMB handles the OAuth configuration behind the scenes so you can add authentication to your app without any external account setup.

AI Chatbot

AI completion proxy for building chatbot interfaces and text generation features. Available via window.genmb.ai. Routes through GenMB's backend so you never need to handle API keys.

Send prompts and receive AI-generated completions through a simple API. The service supports streaming responses for real-time chat interfaces. AI proxy credits are charged to the app owner, not end-users of the deployed app.

Rate limited to 100 requests per hour per app to prevent abuse. This limit applies across all AI services (chatbot, text, and image) combined.

Text AI

Text-focused AI completions for summarization, translation, transformation, and structured generation. Detected as a separate capability from chatbot, the AI auto-injects when your app needs one-shot text operations rather than turn-by-turn chat.

Uses the same proxy as the AI Chatbot SDK and shares the 100 requests/hour rate limit. Each completion deducts 1 credit from the app owner's balance.

Image AI

Generate images from text prompts inside your generated apps. Detected when your app references image generation, AI artwork, or thumbnail creation.

Routes through GenMB's AI proxy. 1 credit per image generation, charged to the app owner. Available on the Free plan with the standard 100 req/hour AI rate limit.

Video AI

Generate short videos from text prompts using Sora 2. API-only, no client SDK; integrate via the proxy endpoint your app calls server-side.

Requires the Pro or Business plan. Each generation costs 5 credits and is charged to the app owner. Rate limited to 5 generations per hour and 20 per day per app. See the dedicated Video Generation docs for prompt patterns and status polling.

Voice Agent

Realtime voice chat for your generated apps via window.genmb.voice. Backed by Azure OpenAI Realtime (gpt-realtime-1.5) - bidirectional audio over WebRTC with sub-second latency.

Add a voice button or always-on voice surface to your app and the SDK handles microphone capture, streaming, and playback. Each session costs 5 credits and is charged to the app owner. Rate limited to 20 sessions per hour per app. See the dedicated Voice Agent docs for setup.

Contact Form

A form submission handler for contact forms, feedback forms, and any user input that needs to be stored. Available via window.genmb.contact.

Submit form data with a single function call, no backend code needed. Submissions are stored in Firestore and accessible via the Database Browser. The service supports custom fields, so any form structure is accepted. Optional email notification is available when a new submission is received.

RBAC

Role-Based Access Control for managing user permissions in your generated apps. Available via window.genmb.rbac.

Define roles (admin, editor, viewer, etc.) and assign them to users. Check permissions before showing UI elements or executing actions. Roles are stored per-app and managed through the SDK.

Combine RBAC with Google Auth to create authenticated apps with different access levels, for example, an admin dashboard where only admin-role users can see management features.

Data Client

Client SDK for reading and writing data to your app's database. Available via window.genmb.data. Supports both Firestore and PostgreSQL via DataConnect.

Query, create, update, and delete records in your app's database. Works with Firestore collections for NoSQL data access and with PostgreSQL tables when using DataConnect for relational data.

The Data Connector SDK (window.genmb.connector) provides access to external data sources like Airtable, Google Sheets, and Notion. It is a separate SDK from the Data Client.

Vector DB

Semantic search and RAG (Retrieval-Augmented Generation) for your generated apps. Available via window.genmb.vectordb. Backed by pgvector with automatic text chunking and embedding.

Ingest documents, web pages, or any text content and search them semantically using natural language queries. The SDK handles chunking, embedding generation (Gemini native, 768 dimensions), and similarity search automatically. Ideal for building knowledge bases, FAQ systems, and AI-powered search features.

Rate limited to 20 ingestions and 100 searches per app per hour.

Assistant Widget

Embeddable AI assistant chat widget for your generated apps. Available via window.genmb.assistant. Connect to a GenMB Assistant to provide an interactive chatbot experience.

Add a floating chat widget that connects to your configured GenMB Assistant. Supports conversation history, knowledge base lookups, and scheduled tasks. The widget can be customized with your branding and positioned anywhere in the app.

How Services Are Detected

GenMB's AI automatically analyzes your generated code to detect which services are needed. Matching SDKs are injected into your app's HTML without manual configuration.

After code generation, the AI scans for patterns like file upload forms, login buttons, chat interfaces, and data operations. Each service has detection hints defined in its capability definition (e.g., "file upload", "sign in with Google", "send message").

Detected services are listed in the Services panel in the app editor sidebar. You can manually enable or disable services from the Services panel if the auto-detection is not what you want. SDKs are re-injected on every code save to stay in sync with your app's current functionality.

Quotas & Limits

Services have plan-based quotas to ensure fair usage. Here are the key limits for the most commonly used services.

ServiceFreePro
File Storage - Max file size10 MB100 MB
File Storage - Total storage/app100 MB100 GB
File Storage - Max files/app5050,000
AI Chatbot - Requests/hour100100
File uploads - Rate10/min per app10/min per app
Contact FormNo specific limitsNo specific limits
General API rate limiting applies at 200 requests per minute per IP across all endpoints. Contact Form submissions fall under this general limit.

FAQs

Do I need to configure anything to use services?
No. Services are auto-detected and SDKs are injected automatically. If your generated app includes a file upload form, the file storage SDK is added. If it has a login button, the auth SDK is added. No API keys or manual setup required.
Do services work in deployed apps?
Yes. Services work both in the GenMB editor preview (via the Next.js proxy) and in deployed apps on *.genmb.com or custom domains (via the deploy-service proxy). The SDKs use relative paths that are proxied transparently.
Can I use services in exported code?
Services depend on GenMB's backend proxy. If you export your code and deploy it outside GenMB, the service SDKs will not work because the proxy endpoints will not exist. You will need to replace them with your own backend implementations.
What if the AI detects the wrong services?
You can manually enable or disable services from the Services panel in the app editor sidebar. This overrides the auto-detection. The SDKs will be re-injected accordingly on the next code save.
Are there additional services beyond the core built-in ones?
Yes. Beyond the 12 headline services documented here, GenMB exposes 40+ specialized SDKs covering booking, billing, jobs, feature flags, audit, address validation, recommendations, and more. On top of that, 80+ plugins across 15 categories (Stripe, Supabase, Clerk, OpenAI, Anthropic, Shopify, etc.) provide third-party integrations. Plugins are configured in the Integrations panel and inject their own code and dependencies.

Ready to build?

Create your first app for free, no credit card required.