Backend & Data
Guide to Backend Agents, Data Insights, and Data Connectors for building powerful server-side features.
Backend Agents require a Business plan. Data Insights requires Pro. Data Connectors are available on all plans.
Backend Agents
Backend Agents are AI-powered server-side processes that run autonomously. Describe what the agent should do, and GenMB generates the code, deploys it, and runs it on a schedule or on-demand.
Business plan required
Backend Agents are a Business plan feature. Teams can share agents across workspaces and assign monitoring responsibilities.Backend Agents support stateful operations. They can read and write to your app's database, call external APIs, and maintain state between runs. Monitor every run in the Agent History panel with detailed logs, outputs, execution time, and status.
Execution limits
Each agent run has a 5-minute timeout (300 seconds). Design your agents to complete within this window. For longer tasks, break them into smaller agents that chain together or use webhook triggers to coordinate multi-step processes.Setting Up a Backend Agent
Creating a Backend Agent is a straightforward process. Describe what the agent should do, configure its schedule, and GenMB handles the rest.
Describe your agent's behavior
Choose a schedule
Review and deploy
Monitor execution
Data Insights
Data Insights lets you query your app's data using natural language. Ask questions in plain English and get answers with visualization suggestions — no SQL or database knowledge required.
Pro plan required
Data Insights is a Pro feature. Free-tier users have access to the basic database browser for manual data exploration.Ask questions like "What were our top 5 products last month?" or "Show me daily signups for the past 30 days." GenMB translates your question into a database query automatically.
After each query, GenMB suggests the best visualization — bar chart, line graph, pie chart, or table. Click to add the visualization to your app. Data Insights works with your app's database (Firestore or PostgreSQL) and understands your schema to generate appropriate queries.
Data Connectors
Data Connectors provide a secure backend proxy for connecting your app to external data sources. REST APIs, databases, and third-party services are accessed through an authenticated proxy so your credentials are never exposed.
All requests flow through GenMB's backend proxy with HMAC token authentication. Your API keys and credentials are never exposed in client-side code. Schema caching improves performance by storing API response schemas, reducing latency for repeated queries.
Use connectors to pull data from CRMs, payment processors, analytics platforms, or any REST API into your GenMB app.
Rate limits
Each app is limited to 60 requests per minute per connector. Design your app to cache connector responses when possible and avoid unnecessary repeated calls.Configuring a Connector
Setting up a Data Connector is straightforward. Specify the external API, authentication, and GenMB handles the secure proxying.
Specify the external API endpoint
Configure authentication and headers
Test with a sample request
Use in your app
Best Practices
Follow these guidelines to get the most out of GenMB's backend features.
Start simple
Start with simple agent tasks before building complex multi-step automations. Verify each capability works independently before chaining them together.Set up alerts for Backend Agent failures so you can respond quickly when something goes wrong. Test connector configurations with sample requests before deploying to production — verify authentication and response formats.
Combine features for powerful workflows
Backend Agents can use Data Connectors to pull external data, process it with AI, and store results in your database for Data Insights queries. This combination creates a powerful end-to-end data pipeline.FAQs
What are Backend Agents?▾
How does Data Insights work?▾
What are Data Connectors?▾
Can Backend Agents access external APIs?▾
Is my external data secure with Connectors?▾
Ready to build?
Create your first app for free — no credit card required.