CommunityHire an ExpertSign Up
AppsAdd AI to your app
Build your app

Add AI to your app

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.

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

UseExample
SummarizeA button on a project page that summarizes its last 20 updates
DraftA first reply to a support request, which the agent edits before sending
ClassifySort each new request into Billing, Technical or Sales
ExtractRead an uploaded invoice and fill in the amount, date and supplier
ChatA 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

See 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.
  • 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.

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

An AI step in a workflow: Softr AI categorizes each request, then each branch handles one category

AI agents

Softr Agents 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

An agent in Softr Agents: its tools, its instructions and a test run

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

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 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

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:

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.

On the web, open ChatGPT 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.

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

Terminal
claude mcp add <name> <server URL> --transport http

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.

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.

Use these docs with your AI tools

An AI agent can read this documentation directly. You do not need an account or an API key. Everything here is public and read-only.

Query these docs via MCP

Recommended

Add this server to Claude, Claude Code, Cursor, Mistral, or any tool that supports MCP. Your agent can then search Softr Documentation documentation and read it in full, instead of answering from memory.

https://docs.softr.io/mcp
  • searchFind the passages that answer a question.
  • fetchRead one page in full, as Markdown.
  • list_pagesSee every page in this documentation.

Query these docs over HTTP

The same tools also work as plain web requests. Use this for scripts, or for any tool that does not support MCP. There is one endpoint per tool. Arguments go in the query string, and the answer comes back as JSON.

https://docs.softr.io/api/docs/search?query=custom+domain

Read the OpenAPI description. It is built from the same definitions as the tools, so it always matches what the endpoints do.

Read these docs as Markdown

Add .md to any page URL to get its Markdown source. You can also send the headerAccept: text/markdown to the page URL itself.

To read the whole documentation in one file, open llms-full.txt. For a short index of every page, open llms.txt.