# Say yes when IT asks if AI agents can use your app.

> Agents sign in through a consent screen, act as one user with scopes you set, and can be revoked. A customer's identity provider can approve them.

Page: https://www.buildbase.app/use-cases/agent-access-control

Agents sign in through a consent screen, act as one user with the scopes you define, and can be revoked. A customer's identity provider can approve the agents that act for its people.

**What it is:** BuildBase is one SDK and console for React apps: sign-in, teams, billing and roles, with sign-in for AI agents built in.

See how agent access works: https://docs.buildbase.app/sign-in-setup/agent-access

Start free: https://console.buildbase.app

For your coding agent: Add BuildBase agent sign-in to this app so AI agents act as one consenting user, with scoped tokens the user can revoke. Run: npx @buildbase/sdk init --claim --agent --yes

## The question in every security review now

Your customers' people already use AI agents. Their IT team wants to know what those agents can touch in your app, and how to stop them.

| Without it | Already covered |
| --- | --- |
| Shared API keys that act as nobody in particular | Agents sign in as one user and act only as that person |
| No consent step a user can see | A consent screen before any agent gets a token |
| All or nothing access | Scopes you define, so an agent gets only what it was granted |
| No way to take access back | A list of the agents each user allowed, with a Disconnect button |
| No say for the customer's IT team | Enterprise-managed authorization: the company's identity provider approves the agents |

## The questionnaire, answered

What an IT team asks about AI agents, and what your app can say.

| They ask | You answer |
| --- | --- |
| Can an agent act as more than one person? | No. Every tool call runs as the user who connected the agent, with that user's permissions. |
| Can an agent reach something the user did not grant? | No. A tool that needs a scope is hidden from an agent without it, and refused if called. |
| Can our IT team approve agents for everyone? | Yes. With enterprise-managed authorization, your identity provider approves agents once, and your list of allowed apps decides which may connect. It is built for Okta's Cross App Access. |
| Can access be taken back? | Yes. Each user sees the agents they allowed and disconnects one at any time. |
| Is there a record of what agents did? | Every tool call can be logged for your audit trail, without the values passed in. |
| Who holds the tokens? | BuildBase runs the sign-in, and the app signs every access token with its own secret. The user's session rides inside it, encrypted. |

## Control, at each step

- **Consent before any token.** A hosted consent screen names the agent and what it asks for, so nothing connects without a person saying yes. (Authentication: https://www.buildbase.app/auth)
- **Scopes in your own words.** Describe each permission once in the console, and mark the risky ones, which the consent screen flags as sensitive. (Authentication: https://www.buildbase.app/auth)
- **One user, never more.** Roles still apply to every tool call, so an agent never does more than its user could do in the app. (Access Control (RBAC): https://www.buildbase.app/permissions)
- **Workspace boundaries hold.** An agent works inside the user's workspaces, so one customer's agent never sees another customer's data. (Multi-Tenant Workspaces: https://www.buildbase.app/workspaces)
- **Company approval.** The customer's identity provider can approve agents for all its people, so nobody sees a consent screen they should not. (Authentication: https://www.buildbase.app/auth)
- **Agents that introduce themselves.** An agent can point to a public file on its own website instead of registering; it is marked unverified until your team checks it. (Authentication: https://www.buildbase.app/auth)

## Building agent sign-in and its controls yourself

Sign-in, consent, scopes and roles for agents, built with an AI coding agent and kept to the spec, against having them here.

|  | Build it yourself | BuildBase |
| --- | --- | --- |
| Hours | 50 | 6 |
| Time | about 1.7 weeks | about 1.0 days |
| First year | $5,250 | $550 (Launch, paid yearly) |

Modules: Authentication, Access Control (RBAC). At $60 an hour. Estimates for a senior developer working with an AI coding agent such as Claude Code or Cursor, tests included. Upkeep covers dependency upgrades, provider API changes, incidents and support. Not a quote. Last reviewed 17 November 2026. Calculator: https://www.buildbase.app/build-vs-buy

## Agent access in three steps

1. **Run init with --agent.** It writes the MCP route and the sign-in routes agents need, and creates a test backend you claim later.

```bash
npx @buildbase/sdk init --claim --agent --yes
```

2. **Set what agents may do.** Turn on agent sign-in, describe your scopes and mark the sensitive ones.

In the console (Console: Authentication, Agent readiness):

| Setting | Value |
| --- | --- |
| Let AI agents sign in | On |
| Scope | projects:read, in your words |
| Sensitive | Flagged on the consent screen |
| Company approval | Their identity provider |

3. **Check it like a client would.** The doctor connects the way Claude or ChatGPT would and checks that sign-in is asked for.

```bash
npx @buildbase/sdk agent doctor --url https://your-app.com/api/mcp
```


## Running in production

Running in production on six products today, all of them ours.

- [OnceBooks](https://www.oncebooks.com): Personalised children's books
- [PlugNode](https://plugnode.ai): Visual AI workflow builder
- [AgentCenter](https://www.agentcenter.cloud): Mission control for AI agents
- [Imejis](https://www.imejis.io): Template-based image generation API
- [RemoteWait](https://remotewait.com): Virtual queue system
- [LinkTracer](https://social-link-tracer.jagodana.com): Creator link analytics

## Agent access is plan-gated

Agent sign-in, consent and company approval are on the plans that include agent access, switched on per organization in the console.

| Plan | Monthly | Yearly | Monthly active users | Workspaces |
| --- | --- | --- | --- | --- |
| Free | $0 | $0 | 10,000 | 50 |
| Launch | $19 | $190 | 25,000 | 1,000 |
| Grow | $49 | $490 | 100,000 | 25,000 |
| Scale | $99 | $990 | 500,000 | 100,000 |

Paid plans start with a 7-day free trial, no credit card. Free stops at its allowance and never bills over. Enterprise: Custom, by conversation. Full pricing: https://www.buildbase.app/pricing

## Questions

### How does a customer company approve agents for its people?

Through its own identity provider. With enterprise-managed authorization, the company's IT team approves an agent once, its list of allowed apps decides which agents may connect, and its people skip the consent screen. It is built for Okta, which calls this Cross App Access.

### What does a user see before an agent gets in?

A consent screen that names the agent and lists what it asks for, in your words, with the sensitive scopes flagged. An agent that introduces itself by its own website is marked unverified until your team has checked it.

### How is access taken back?

The user opens the Connected agents screen in your app and disconnects the agent. Its access ends there.

### Which plans include agent access?

It is on the plans that include agent access, and each organization switches it on in the console under Authentication, then Agent readiness.

### When is agent access more than you need?

If every integration with your app is one server talking to another, scoped API tokens are simpler. Agent access matters when agents act for the people who use your app.


## Read more

- [Agent-ready apps: what your customers see](https://www.buildbase.app/ai-agents)
- [Enterprise sign-in and identity](https://www.buildbase.app/enterprise)
- [MCP server for your app](https://www.buildbase.app/use-cases/mcp-server-for-your-app)
- [Team accounts](https://www.buildbase.app/use-cases/team-accounts)
- [Set up with your agent](https://www.buildbase.app/use-cases/coding-agent-setup)
- [All use cases](https://www.buildbase.app/use-cases)
