Guide Salesforce, security and AI agents
AI agent security checklist for Salesforce: what to ask before you connect one
Short answer: The security question for an AI agent that writes to Salesforce is mostly how much it can do and who decides. The published guidance calls the failure excessive agency and names three causes: too many functions, too many permissions and too much autonomy. Ask about each, then about where your data goes, what is recorded, how you disconnect, and what evidence the vendor will put in writing. This checklist has the questions, what a good answer looks like, and how BAFO approaches them.
How to use this list
Put the same questions to every vendor, including a tool you build yourself, and ask for answers in writing. Treat a certification logo as the start of a question, not the end of one: ask for the report. Where an answer on this page is "see the privacy policy", that is deliberate: the policy is the written source, and a sales call is not.
1. Functions: what can the agent do?
Ask: what operations can it perform in Salesforce - read, create, update, delete, post, approve, send email, change configuration? A good answer is a short list, and the list is as small as the job needs.
How BAFO answers. The Accounts Payable and Billing Contract agents are built to create records only: a draft payable invoice with its lines, or a Draft billing contract with its lines. They do not post an invoice, activate a contract, or update or delete a record. The assistant inside Salesforce can propose updates, deletes and emails, and each one waits for a person to confirm it on a card.
2. Permissions: as whom?
Ask: which Salesforce user does the agent act as, which OAuth scopes does it request, and what does the user's own profile and permission set allow? A good answer is "as the person who connected it, with those permissions", not "as an integration user with broad rights".
How BAFO answers. The agents work as the signed-in person, within what that person is allowed to see and change. The person needs API access, their own rights on the objects involved, and, for Certinia, access to the company. See Salesforce permissions for AI agents.
3. Autonomy: who approves?
Ask: is a person's approval required before anything is created or changed? Can that be turned off, and by whom? A good answer is that approval is part of the design, not a setting; see human in the loop.
How BAFO answers. The invoice and contract agents create a record only when a person has looked at it and pressed the button, and the assistant applies a change only when a person confirms its card.
4. Mediation: where is it enforced?
Ask: is authorization decided by the AI, or enforced in the system that holds the data? The guidance is plain: do not leave it to the AI. A good answer is that Salesforce's own permissions apply to every call, whatever the AI says.
How BAFO answers. The agents work as the signed-in person, so Salesforce's own object and field permissions and sharing apply.
5. Data: where does it go?
Ask: which providers read your documents and data? What is stored, where and for how long? Is anything encrypted? Is any of it used to train a model, by the vendor or by its providers? Can you delete it? A good answer is a written policy, with names.
How BAFO answers. The privacy policy is the written source: it states what is collected, who processes it, how long it is kept and how to ask for deletion. Ask BAFO about anything it does not say.
6. Audit: what is recorded?
Ask: can you see who did what, and when? What does the record contain, and how long is it kept? A good answer is specific and written down.
How BAFO answers. BAFO keeps a history of what was imported. How long assistant conversations are kept is stated in the privacy policy.
7. The connection: how do you end it?
Ask: how do you disconnect, and does disconnecting revoke the agent's access in Salesforce? What if a user leaves? A good answer is "disconnect revokes the token, and you can also revoke it from Salesforce".
How BAFO answers. Either the person or a Salesforce admin can end its access.
8. Limits: what happens when things go wrong?
Ask: what does the agent do at the API limit, on a timeout, on an error? Can it create the same record twice? A good answer is specific about each case and does not leave you to guess what happened.
9. Test: can you try it safely?
Ask: can you connect it to a Sandbox first, with the same controls? A good answer is yes. See how to test an AI agent in a Salesforce Sandbox first.
10. Evidence: what will the vendor put in writing?
Ask: which certifications and audits does it hold, and can you read the reports? Who has access to your data inside the vendor? Is there a data processing agreement, and where is the data held? A good answer is specific. How BAFO answers: the privacy policy and the terms are the written commitments.
Questions for an agent you build yourself
A custom agent needs the same answers: a short list of functions, the user's own permissions, a person's approval for anything with consequences, authorization enforced in Salesforce, an audit trail, a way to disconnect that revokes, and a safe write path. Build or buy an AI invoice reader lists the rest.
About External Client Apps
Salesforce now steers new inbound integrations to External Client Apps rather than connected apps: its help calls them the next generation, its Spring '26 release restricts the creation of new connected apps by default, and an External Client App does not exist in an org until it is installed there from a package. That default-closed behaviour is good for security: an integration works only in orgs that installed it. See connected apps and External Client Apps compared.
Frequently asked questions
Is read-only access enough to be safe?
Read access can still expose data, and many useful agents need to write. The question is not read versus write; it is what the agent can do, as whom, and who decides.
Should an agent use a shared integration user?
Prefer the person's own login, so the agent cannot do more than they can and every action is theirs. A shared account with broad rights is the pattern the guidance warns against.
What should I ask for in writing?
The functions the agent has, the permissions it needs, where your data goes and for how long, what is recorded, how to disconnect, and which audits the vendor holds.
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.
- LLM06:2025 Excessive Agency (OWASP Gen AI Security Project) - genai.owasp.org
- External Client Apps and Connected Apps (Salesforce Help) - help.salesforce.com
- Spring '26 Release Architect Highlights (Salesforce) - salesforce.com
Keep reading
AI invoice processing: the controls checklist
Twelve questions to ask any AI tool that writes invoices or contracts into your ERP, and the answers a finance team should expect.
Salesforce permissions for AI agents: a least-privilege plan
The layers of permission that decide what an AI agent can do in Salesforce, and a plan for giving it the least it needs.
What is excessive agency in an AI agent?
Excessive agency is the risk that an AI agent can take damaging actions because it has too many functions, too many permissions or too much autonomy.
What is human in the loop for AI agents?
Human in the loop means a person reviews and approves what an AI system proposes before it takes effect. The control only works when the person sees what will happen and can refuse.
Prompt injection in Salesforce: what it is and how to limit the damage
Text an AI assistant reads from your org or the web can carry instructions. What the risk is, why limiting what the assistant can do matters more than spotting the trick, and what to ask of any assistant that touches your org.
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.
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.
The OWASP Top 10 for LLM applications, read for finance and CRM agents
The ten risks in the OWASP Top 10 for LLM applications (2025) explained in plain English, with where each one shows up in an AI agent that works on finance or CRM data and the control that answers it.
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.