> ## Documentation Index
> Fetch the complete documentation index at: https://docs.prod.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Building Apps

> Build, iterate, and publish governed internal apps connected to your company data and APIs

## From prompt to production internal apps

Anyone at your company can build full-stack internal apps, dashboards, portals, and approval queues in the Prod AI web app, with no local coding agent or developer setup required.

Every app is React and TypeScript code running in **DevBox**, an IT-controlled cloud sandbox connected to your company's systems through the [Prod AI Integrations Gateway](https://docs.prod.ai/integrations/overview.md) and governed by IT from the first prompt.

## How building apps works

### 1. Describe the app and tag your data

In the Prod AI editor, pick any coding agent your IT team has enabled, describe what you want to build, and `@`-mention the databases, REST or GraphQL APIs, SaaS tools, or MCP servers it should connect to.

```text theme={null}
"Build a refund approval console using @Postgres and @Stripe. Let support reps
search orders by customer email, view recent tickets from @Zendesk, and submit
refunds over $100 to a manager approval queue."
```

### 2. Plan before you build

Start in **Plan** mode so the coding agent can inspect live schemas, run read-only sample queries, ask clarifying questions, and propose an architecture before writing code. Switch to **Build** mode when you are ready to generate and test the app.

### 3. Add storage and access control

Add production capabilities by describing what you need:

* **Databases and files:** Provision an isolated [Prod AI Database](https://docs.prod.ai/admin/prod-ai-on-aws/database.md) or [Prod AI File Store](https://docs.prod.ai/admin/prod-ai-on-aws/file-store.md) within IT-approved Infrastructure Policies, without managing cloud credentials.
* **Role-based access control:** Describe which groups should see or act on specific data and the coding agent adds server-side `ctx.user` enforcement alongside matching UI checks. See [Access control (RBAC)](https://docs.prod.ai/coding-agents/rbac.md).

### 4. Preview, scan, and publish

Every completed build saves a restorable [checkpoint](https://docs.prod.ai/coding-agents/checkpoints.md):

* **Shareable previews:** Build a preview link so stakeholders can test changes without touching production.
* **Pre-publish CodeGuard:** Every publish runs static analysis, the security agent, and dependency CVE scans automatically. See [CodeGuard](https://docs.prod.ai/admin/code-security/index.md).
* **One-click deploy or Git PRs:** Publish straight from a checkpoint, or connect the app to your repository for branch and pull-request workflows in [Connect to Git](https://docs.prod.ai/development-lifecycle/version-control/connect-to-git.md).

## Example use cases

* **Support and ops consoles:** Give teams a unified interface across Postgres, Salesforce, Stripe, and Zendesk with audit trails and granular permissions.
* **Approval queues and human-in-the-loop reviews:** Pair internal apps with [Building Agents](https://docs.prod.ai/coding-agents/agents.md) so agents escalate high-risk actions to a human review queue backed by a shared database.
* **Executive and finance dashboards:** Combine warehouse queries and live SaaS data into interactive views with role-scoped access.
* **Customer portals and embedded apps:** Bring governed Prod AI apps directly into your existing web products (contact your Prod AI team for embedding options).

## Related

* [Skills](https://docs.prod.ai/coding-agents/skills/index.md)
* [Checkpoints & publishing](https://docs.prod.ai/coding-agents/checkpoints.md)
* [Building Agents](https://docs.prod.ai/coding-agents/agents.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.