Backend & Data

Backend Agents, Insights
& Data Connectors

Guide to Backend Agents, Data Insights, and Data Connectors for building powerful server-side features.

GenMB provides three backend capabilities: autonomous Backend Agents that run on schedules, natural language Data Insights for querying your database, and secure Data Connectors for integrating external APIs and services.

Getting Started with Backend Features

Set up and use GenMB backend features in four steps.

1

Choose your backend feature

GenMB offers three backend capabilities: Backend Agents for autonomous server tasks, Data Insights for natural language queries, and Data Connectors for external data sources.

2

Set up your feature

For Backend Agents, describe the task and deploy. For Data Insights, enable it on your app. For Connectors, configure the external data source with credentials.

3

Configure and test

Backend Agents can be scheduled or triggered. Data Insights queries can be tested live. Connectors can be verified with sample requests.

4

Monitor and iterate

Track agent run history, review query results, and monitor connector health from the dashboard.

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.

  • Describe your agent's behavior in natural language. For example: 'Check inventory levels every hour and send an email alert when any product drops below 10 units.'
  • Choose a schedule — run every minute, hour, day, or week. Or set up a webhook trigger to run on-demand when called from your app or external service.
  • Monitor every run in the Agent History panel. View logs, outputs, execution time, and status (success, failure, running) for each execution.
  • Backend Agents support stateful operations. They can read and write to your app's database, call external APIs, and maintain state between runs.
  • Backend Agents are a Business plan feature. Teams can share agents across workspaces and assign monitoring responsibilities.

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.

  • 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). It understands your schema and generates appropriate queries.
  • Data Insights is a Pro feature. Free-tier users have access to the basic database browser for manual data exploration.

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.

  • Configure a connector by specifying the external API endpoint, authentication method, and any required headers or credentials.
  • 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. Cached schemas reduce latency for repeated queries.
  • Rate limiting protects both your app and external services. Each app is limited to 60 requests per minute per connector.
  • Use connectors to pull data from CRMs, payment processors, analytics platforms, or any REST API into your GenMB app.

Best Practices

Follow these guidelines to get the most out of GenMB's backend features.

  • Start with simple agent tasks before building complex multi-step automations. Verify each capability works independently.
  • Use Data Insights for ad-hoc exploration, then add the most useful visualizations permanently to your app's dashboard.
  • 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.

Frequently Asked Questions

What are Backend Agents?
Backend Agents are AI-powered server-side processes. Describe what the agent should do, and GenMB generates the code, deploys it, and runs it on a schedule or webhook trigger. Available on the Business plan.
How does Data Insights work?
Type a question in plain English about your app's data. GenMB translates it into a database query, executes it, and returns results with visualization suggestions. Pro feature.
What are Data Connectors?
Data Connectors provide a secure backend proxy for connecting to external APIs and data sources. Your credentials are protected with HMAC authentication and never exposed in client code.
Can Backend Agents access external APIs?
Yes. Backend Agents can make HTTP requests to any external API, read and write to your database, and process data with AI — all on a configurable schedule.
Is my external data secure with Connectors?
Yes. All external requests flow through GenMB's backend proxy with HMAC authentication, schema caching, and rate limiting. API keys are stored securely and never exposed in browser code.

Ready to build backend features?

Create an app and start using Backend Agents, Data Insights, and Connectors.

View All Docs