---
title: "Add AI to your app"
description: "Add AI to your app: summaries, drafts, classification and chat for your users, AI fields in your data, and your app as an MCP server for AI assistants."
canonical: "https://docs.softr.io/apps/add-ai"
updated: "2026-12-04"
---

# Add AI to your app

Your app can use AI for your users: summarize a record, draft a reply, sort incoming requests, read a document. Describe the feature to Softr AI and it builds it. AI can also work in your data and in your workflows, and your users can reach your app from their own AI assistant.

## What AI can do in your app

| Use       | Example                                                                  |
| --------- | ------------------------------------------------------------------------ |
| Summarize | A button on a project page that summarizes its last 20 updates           |
| Draft     | A first reply to a support request, which the agent edits before sending |
| Classify  | Sort each new request into Billing, Technical or Sales                   |
| Extract   | Read an uploaded invoice and fill in the amount, date and supplier       |
| Chat      | A chat that answers questions about the records the user can see         |

Ask for the result in the chat: "Add a Summarize button on each deal that writes a 3-line summary of its notes."

## Softr AI or your own AI provider

When a feature needs an AI model, Softr AI asks **Which AI should run this feature?**

- **Softr AI.** Select **Use Softr AI**. Softr runs the model and bills your workspace's AI credits. Nothing to connect.
- **Your own AI account.** Select **Use my API key**, then pick a connected key, or connect an OpenAI, Anthropic or Gemini key. Your provider bills you directly.

![The question Which AI should run this feature? in the chat, with the Use my API key menu open and outlined. It lists two connected keys and the options to connect an OpenAI, Anthropic or Gemini key](/apps/add-ai/ai-provider-question.2x.webp)

See [AI credits](/admin/ai-credits) for how credits work.

## AI in your data and in workflows

Some AI work belongs outside the app:

- **AI fields** fill a field in Softr Databases on their own: a summary, a category, a score. They run when a record is created or updated, whoever changed it. See [AI fields](/databases/ai-fields).
- **AI steps in workflows** write, summarize, categorize or decide as part of a process, such as a daily triage of new requests. See [AI in workflows](/workflows/ai).

For example, this workflow reads each new request, lets Softr AI pick its category, and sends it to the right team:

![A workflow with the steps When a request arrives and Categorize the request, then three branches: Billing posts in the #finance Slack channel, Technical assigns the request to support, and Sales emails the sales lead](/apps/add-ai/workflow-ai-triage.webp)

_An AI step in a workflow: Softr AI categorizes each request, then each branch handles one category_

## AI agents

[Softr Agents](/agents/overview) are AI assistants that use tools to read and change your data. App agents, which your users chat with inside an app, are available in Classic apps today.

![The editor of a scheduled agent: the agent type, its tools (read, update and create records, send email), its model and instructions. On the right, a test run where the agent uses its tools, counts new tickets by category and emails a digest](/apps/add-ai/agent-editor-and-test.webp)

_An agent in Softr Agents: its tools, its instructions and a test run_

> **Note**
>
> App agents are not available yet in apps built with Softr AI. To give users a chat in your app now, ask Softr AI for a chat feature.

## Use your app from Claude and ChatGPT (MCP)

Turn your app into an MCP server, and your users can work with it from Claude, ChatGPT or another AI assistant. Each user signs in as themselves and sees only what they see in the app.

Select **More** in the right rail, then **App as MCP**, and select **Enable MCP for users**.

![Settings, App as MCP, before MCP is on. The Enable MCP for users button is outlined](/apps/add-ai/enable-mcp-for-users.2x.webp)

Then finish the setup:

1. Under **Who can connect**, keep **All logged-in users**, or pick some user groups.
2. Copy the **Prompt for the chat** and send it to Softr AI. The prompt asks Softr AI to add the MCP endpoint to your app.
3. Ask Softr AI which actions to open to assistants, such as "Let assistants list and search my clients' projects." Start with read-only actions.
4. [Publish](/apps/publish) your app. MCP changes take effect after you publish.
5. Share the **Server URL** with your users.

![Settings, App as MCP, with MCP on. The page shows Who can connect, the Server URL (outlined) and the Prompt for the chat](/apps/add-ai/app-as-mcp-server-url.2x.webp)

Each action keeps its permissions in the assistant. Opening an action to assistants never gives a user access to records they cannot see in the app.

### How your users connect

For most assistants, your users only need the **Server URL**, for example `https://projects.acme.example/v1/mcp`. The URL follows your app's domain, custom domain included. The user pastes it in their assistant, and the assistant opens a browser window where they sign in to your app and approve the connection (OAuth). This is the way to prefer: nothing else to share, and each user connects as themselves.

Select **Setup guide for users** to get the steps for each assistant, ready to share:

**Claude**

In Claude (web or desktop), open **Customize**, then **Connectors**, select **+** and **Add custom connector**. Enter a name and paste the Server URL, then select **Add** and sign in.

**ChatGPT**

On the web, open [ChatGPT Plugins](https://chatgpt.com/plugins), select **+**, then **Add custom MCP server**. Enter a name, paste the Server URL under **Connection**, and set the authentication to **OAuth**. Select **Create as a plugin**, install the plugin, and sign in. See [OpenAI's guide](https://developers.openai.com/api/docs/guides/custom-mcp-server).

**Claude Code**

Run this command in a terminal, then sign in in the browser window that opens:

```bash
claude mcp add <name> <server URL> --transport http
```

**Other assistants**

Any assistant that supports MCP with OAuth works with the Server URL alone.

**Advanced settings** hold a **Client ID**, a **Client secret** and **Redirect URIs**. Only a few assistants need them, when they cannot register themselves. For example, Claude Code asks for the client secret in a Classic app. Keep the client secret private.

To build your app from your own assistant instead, see the [Softr MCP server](/mcp/overview).

## FAQ

**How does AI work in Classic apps?**

Classic apps are the older Softr apps, built from blocks before Softr AI. Classic apps have **Ask AI**, a chat that you add to a dynamic block. It answers questions about the data in that block. It only analyzes the data the user is allowed to see. To add it, open the **Actions** section of the block, select **Add Topbar**, then choose Ask AI. It is not available on static blocks or REST API sources. Each query uses AI credits. See [Ask AI](/classic/action-buttons#ask-ai).
