Guide Salesforce, security and AI agents
How to use AI in Salesforce: the five kinds of AI tool and how to choose
Short answer: This guide sorts the ways to use AI in Salesforce into five kinds, which differ in what they can read, what they can write and who approves a change. As of October 17, 2026, they are Salesforce's own AI (Einstein features and Agentforce), apps from Salesforce's marketplace that add AI, a general assistant connected through a connector or MCP, a custom build on Salesforce's APIs, and a purpose-built agent for one job. Choose by the job and by who must approve a change, not by the name, and try it in a sandbox first.
The five kinds at a glance
| Kind | What it is | Where to read more |
|---|---|---|
| 1. Salesforce's own AI | Einstein features and Agentforce, configured inside Salesforce | Salesforce Einstein, Agentforce |
| 2. Marketplace apps with AI | Agents, actions and apps installed from Salesforce's marketplace | Section 2 below |
| 3. A general assistant, connected | ChatGPT, Claude or Copilot reaching Salesforce through a connector or an MCP server | The Salesforce MCP server, and the guides for Claude, ChatGPT and Copilot |
| 4. A custom build | Your own code on Salesforce's APIs or Apex, with an AI service you choose | Build or buy an AI invoice reader, Certinia API guide |
| 5. A purpose-built agent | A finished agent for one job, such as vendor invoices into Payable Invoices | Agentforce and purpose-built agents compared |
Some tools sit between two kinds, and a team can use more than one. The map is there so that you ask the same questions of each.
1. Salesforce's own AI: Einstein features and Agentforce
Salesforce Help documents its AI under one heading, "Agentforce and Einstein Generative AI". Agentforce is the platform for building and running AI agents, and Einstein is the name for AI built into the platform's features. The names have moved over the years, so what Salesforce Einstein is and what Agentforce is set them out as Salesforce's pages state them.
Three things to know, from the Salesforce pages we read on October 17, 2026:
- The Trust Layer. Salesforce's Einstein Trust Layer page says the data used to ground a prompt is retrieved with the permissions of the user running it, that sensitive data can be masked before it goes to a model, and that prompts and responses are logged.
- Licenses. Help lists the editions Agentforce is available in and says required add-on licenses vary by agent type. This page states no price. Ask Salesforce what your org holds.
- Testing. Salesforce's developer guide lists a Testing Center, Agentforce DX tests and a Testing API for agents.
Right answer when the work sits inside Salesforce's standard processes, you have admins or developers to configure and test it, and you want the governance to stay in Salesforce.
2. Marketplace apps that add AI
Salesforce's marketplace has been called AppExchange. On October 17, 2026, the page at appexchange.salesforce.com carried the title "Salesforce AppExchange is now AgentExchange" and described itself as a marketplace for agents, apps and capabilities. It says you can browse, install and deploy agents, actions and apps into your environment, and it offers skills and plugins from Salesforce and third-party MCP servers that can connect into Agentforce or Slack.
This page names no listing. An app is a vendor's product, and it should be judged by the questions at the end of this page: what it reads and writes, whose permissions it uses, whether it runs in your org or calls a service the vendor runs, and what happens when it fails.
Right answer when a vendor has already built the job you need, you can try it in a sandbox, and the vendor answers the questions in writing.
3. A general assistant connected through a connector or MCP
Here you talk to an assistant you already use, and Salesforce is a source and a target. As of October 17, 2026, Salesforce documents hosted MCP servers for outside AI clients. Each person signs in, and Salesforce's pages say the client acts within that person's existing permissions and that actions are attributed to the named user. Salesforce's security guidance tells teams to start from the most restrictive setup and expand as needed. Its general guidance advises using the hosted server rather than a custom proxy around the REST API, which it says undermines the platform's controls. Its overview says the hosted servers are intended for customers with Flex Credits and that usage may be billed.
Salesforce is also packaging this route. Its AIforce page lists "Salesforce in Claude" among ready-made experiences, and a separate marketplace page lists "Sales Cloud in Claude" with a sign-up for a beta. Check what Salesforce's announcement says about availability in the Claude guide. We have not tested either. Our guides cover the documented routes and checks for Claude, ChatGPT and Microsoft Copilot, and the Salesforce MCP server explains the pieces.
Right answer when analysts or admins already work in that assistant and want to question the org, you can start read-only in a sandbox, and you have checked how the assistant behaves before it writes.
4. A custom build on the API or Apex
Your developers write code that calls Salesforce (the REST API, Apex or Flows) and an AI service of your choice. You decide what it reads, what it writes, where a person approves, how it logs and how it fails, and you maintain it. Salesforce's advice to use the hosted server instead of a custom proxy shows what you take on: authentication, authorization and request logs become your design. Salesforce's own developer tools sit here too. The Agentforce developer guide lists an Agent API for chatting with an agent from code, and Agentforce DX for building with Salesforce CLI and VS Code.
If Certinia is involved, the Certinia API guide says which of its APIs to use, and Salesforce API limits and AI agents covers the limits an agent can hit. For invoices, build or buy an AI invoice reader compares the two routes.
Right answer when your process is unusual, no finished tool covers it, and you have developers to build, test and maintain it.
5. A purpose-built agent for one job
A purpose-built agent is a finished tool for a defined job. You connect it and review its results instead of designing the logic. BAFO, made by Cross Cloud Partners and independent of Salesforce, is one example. It has these parts:
- The Accounts Payable Agent. On its page you upload vendor invoices and review what was extracted on a card for each invoice. The page creates the invoices in Salesforce when you press Create All, as the Salesforce user who signed in.
- The Billing Contract Agent. From a signed contract you have reviewed, it creates a Billing Central contract and its lines with the status Draft. Activation is left to Certinia.
- The BAFO assistant, whose free trial and plans are on the BAFO Assistant page. It is a chat inside Salesforce. It works with the permissions of the person using it, shows each proposed change on a card and applies it only after the person confirms.
BAFO is a separate product: it is not part of Agentforce and not a connector for ChatGPT, Claude or Copilot. Other vendors build purpose-built agents too, and the questions below apply to them equally.
Right answer when the job has a well-known shape, such as a vendor invoice becoming a Payable Invoice, and you would rather review results than build and test the logic.
How the five compare
These tables are about the kinds, not about any one product. Where a cell says "depends", the answer is in the product's own documentation, so ask for it.
What it can touch
| Kind | Can read | Can write | Who approves a change | Whose permissions |
|---|---|---|---|---|
| 1. Salesforce's own AI | What the feature or agent is set up to use. The Trust Layer page says grounding follows the running user's permissions | What the agent's actions are built to do | Set by the agent's design. Agent Script lets a builder fix rules in code | Depends on the agent. The pages we read give no single rule |
| 2. Marketplace apps | Depends on the app and what you grant it | Depends on the app | Depends on the app | Depends on the identity the app runs as |
| 3. Connected assistant | What the enabled server or connector exposes, as the signed-in person | What the enabled tools allow | Decided in the assistant, so do not assume it asks | The signed-in person's, per Salesforce's MCP pages |
| 4. Custom build | What your code reads | What your code writes | Whatever you build | The identity your code uses |
| 5. Purpose-built agent | What the job needs | What the job needs. In BAFO, the web agents create invoices or Draft contracts and the assistant proposes changes on cards | Built in by the vendor. In BAFO you press Create All for invoices, Create Draft Billing Contract for a contract, or Confirm on a card | In BAFO, the signed-in person's own Salesforce permissions |
How it behaves
| Kind | Where data goes | How you test it | How it fails |
|---|---|---|---|
| 1. Salesforce's own AI | Salesforce's Trust Layer page describes masking before a prompt goes to a model and a zero-data-retention policy that Salesforce says it enforces with its outside model providers | Testing Center, Agentforce DX tests or the Testing API, in a sandbox | Generated content can be wrong. Salesforce's page says to check key details before sharing it |
| 2. Marketplace apps | Depends: in your org, or to a service the vendor runs | Install in a sandbox if the vendor allows | Depends on the app. Ask |
| 3. Connected assistant | What Salesforce returns becomes part of the conversation, and that assistant's terms apply | A sandbox, the read-only server, an ordinary user | Sign-in or scope errors. Text in a record can try to steer the assistant |
| 4. Custom build | Wherever your code sends it | Your own tests, plus a sandbox | You own retries, timeouts, limits and duplicates |
| 5. Purpose-built agent | To the vendor's service. Ask where it is processed and how long it is kept | A sandbox with real documents, comparing each result with its source | A wrong reading, a duplicate, a timeout in the middle of a write. Ask what the vendor does about each |
Which kind fits which job
- Questions about your data, from people who already work in an assistant: kind 3, read-only and in a sandbox first.
- Agents of your own design across service, sales or internal work: kind 1.
- A job a vendor has already built, in a form you can try: kind 2 or kind 5.
- A process only you have: kind 4, or kind 1 if you want it to stay inside Salesforce.
- A well-known finance job, such as vendor invoices into Payable Invoices or signed contracts into billing contracts: kind 5, checked against the AI invoice processing controls checklist.
The kinds are not exclusive. A team can use Agentforce for service, an assistant for analysts and a purpose-built agent for accounts payable. Agentforce and purpose-built agents compared and a general chat assistant compared with a purpose-built finance agent set out the trade-offs for finance work.
Questions to ask any vendor
- What can it read, and which Salesforce user's permissions does it use? Test it with an ordinary user, not the admin who set it up. See Salesforce permissions for AI agents.
- What can it write, and can writing be switched off?
- Who approves a change, and is that enforced by the tool itself or only by a prompt or a screen?
- Where does my data go, who can see it, how long is it kept and is it used for training? Ask for the answer in writing.
- How do I see what it did, and under which user?
- How do I test it in a sandbox first? See test AI agents in a Salesforce sandbox.
- What happens when a request fails halfway or times out? Ask what you are told, and what the tool does next.
- What does it do with text in a record that tries to give it instructions? See prompt injection in Salesforce: how to limit the damage and the AI agent security checklist.
- How do I turn it off, and what do I lose?
- What changed in the last release, and how will I be told? Read the vendor's pages again before each rollout, because names, licenses and connection settings move.
Frequently asked questions
Does Salesforce have AI capabilities?
Yes. As of October 17, 2026, Salesforce Help documents Agentforce for building AI agents and Einstein features for predictions and generated content, and Salesforce's marketplace lists agents, actions and apps. Help says required add-on licenses vary by agent type, so ask Salesforce what your org has. See Salesforce Einstein and Agentforce.
Do I need Agentforce to use AI with Salesforce?
No. Connecting an outside assistant, building your own tool or using a purpose-built agent does not require it, although each route has its own requirements. Some marketplace listings are built to extend Agentforce, so check each listing.
Can I use ChatGPT, Claude or Copilot with Salesforce?
Yes, if an admin allows a route. Salesforce has setup pages for Claude and ChatGPT in its hosted MCP servers guide. Our guides cover the routes and checks for Claude, ChatGPT and Microsoft Copilot, including Microsoft's own Salesforce connectors.
Is it safe to let an AI write to Salesforce?
That depends on the controls, not on the brand. Check whose permissions it uses, which objects it can change, who approves each change and where the change is recorded. Start read-only, in a sandbox. See the AI agent security checklist.
Is BAFO made by Salesforce?
No. BAFO is made by Cross Cloud Partners and is independent of Salesforce. Its Salesforce assistant works inside your Salesforce org, and its web agents work as the signed-in person.
Sources and further reading
Where this page leans on someone else's documentation or standard, it is listed here. Check the release or edition your org runs: official pages change.
- Agentforce and Einstein Generative AI (Salesforce Help) - help.salesforce.com
- Design and Implement Agents (Salesforce Help) - help.salesforce.com
- Einstein Trust Layer (Salesforce Help) - help.salesforce.com
- Trust Layer (Agentforce Developer Guide) - developer.salesforce.com
- Get Started with Agentforce APIs and SDKs (Agentforce Developer Guide) - developer.salesforce.com
- Salesforce AppExchange is now AgentExchange (Salesforce marketplace) - appexchange.salesforce.com
- AIforce, Salesforce AI wherever you already work (Salesforce) - salesforce.com
- Salesforce Hosted MCP Servers overview (Salesforce Developers) - developer.salesforce.com
- Hosted MCP Servers security guidance (Salesforce Developers) - developer.salesforce.com
- Hosted MCP Servers general guidance (Salesforce Developers) - developer.salesforce.com
Keep reading
How to connect Claude to Salesforce, and what to check first
The route Salesforce documents for connecting Claude to an org, who approves each side, what Claude can read and change once connected, and what to check before you allow it.
How to connect ChatGPT to Salesforce, and what to check first
The route Salesforce documents for connecting ChatGPT to an org, what ChatGPT's own pages say and what we could not read, and what to check before you allow it.
How to connect Microsoft Copilot to Salesforce, and what to check first
The ways Microsoft documents for Copilot Studio and Microsoft 365 Copilot to reach Salesforce, who approves each, whose Salesforce login it runs under, and what to check first.
What is the Salesforce MCP server?
The Salesforce MCP server is Salesforce's hosted doorway for AI clients that speak the Model Context Protocol. An admin turns a server on, and each person signs in with their own login.
Agentforce vs purpose-built AI agents for finance work
Agentforce is a platform for building agents on Salesforce; a purpose-built agent is a finished one for a specific job. When each makes sense.
Can a general AI chatbot do accounts payable in Salesforce? Chat assistant vs purpose-built agent
What a general AI chat assistant can and cannot do for invoices and contracts in Salesforce and Certinia, how a purpose-built agent differs, and where each is the right tool.
AI agent security checklist for Salesforce: what to ask before you connect one
A checklist for judging an AI agent that connects to Salesforce or Certinia, built on the published guidance on excessive agency, with a note of how BAFO approaches each point.
Build or buy an AI invoice reader for Salesforce and Certinia?
What it takes to read invoices with AI and write them into Certinia safely, the surprises teams meet building one, and an honest view of when to build and when to buy.
How to use AI in accounts payable: where it helps, where a person must stay
Where AI fits in the accounts payable process, stage by stage, with what it can read, match and propose, what a person must approve, post and pay, and how to adopt it in phases.
What is an AI agent?
An AI agent is software that uses AI to pursue a goal and take actions with tools, instead of only answering questions.
AI governance for Salesforce teams: six practices in plain English
How to apply Australia's six essential AI practices, and NIST's Govern, Map, Measure and Manage functions, to AI agents and assistants that work in Salesforce and Certinia.
What is Salesforce AIforce?
AIforce is Salesforce's September 2026 name for a live interface layer that brings Salesforce data, workflows and permissions to the AI tools and interfaces where people already work, launching with Claudeforce, Slackforce and Agentforce Coworker.
AI in CRM: what it does, where it goes wrong and what to control
What AI does in a CRM such as Salesforce (ask, summarise, draft, update, act), where it goes wrong, and the permissions, approval, data handling and rollout order to set before you rely on it.