An integration that runs as a human administrator inherits far more access than it usually needs. It also becomes difficult to tell whether a change came from the application or the person. Salesforce recommends a separate integration user for each calling system, domain, use case, or API resource. That design narrows the blast radius and makes API activity easier to trace.
Concrete example: a fulfillment update
Assume a fictional warehouse application reads an Account's name and external customer ID, then creates or updates Delivery_Update__c records with a carrier, tracking number, and status. It does not need Contacts, Opportunities, reports, Setup, or interactive Salesforce access. Write that contract down before configuring the user:
- Read:
Account.NameandAccount.External_Customer_ID__c. - Create and update: the approved fields on
Delivery_Update__c. - Never: delete records, view unrelated objects, export reports, or sign in through the user interface.
Substitute your actual objects and fields. A permission list copied from another integration is not evidence that this application needs the same access.
1. Give the application its own user
In supported Enterprise, Unlimited, Performance, and Developer editions, create a user with the Salesforce Integration license and the Minimum Access – API Only Integrations profile. Salesforce says the profile both enables API access and restricts the user to API-only access. Do not use this account for a person who must open Salesforce in a browser.
Use a clear username and description such as warehouse.fulfillment@example.invalid and “Owned by Operations Integration; creates delivery updates.” Record a business owner, technical owner, vendor contact, data classification, and decommission date or review cadence.
2. Separate license entitlement from granted access
Assign the Salesforce API Integration permission set license when the integration needs permissions that the base license can support. The permission set license makes permissions available; it does not grant them to the user by itself. Create a dedicated permission set, for example Warehouse Fulfillment API, and grant only the required object, field, and system permissions.
For the example, give Account Read access and field-level read access to only the two required fields. Give Delivery_Update__c Read, Create, and Edit, then expose only the carrier, tracking, status, external key, and relationship fields the payload uses. Do not grant Modify All Data, View All Data, object delete access, or broad field access merely to make an error disappear.
3. Use an OAuth flow designed for server-to-server work
For a REST-based server integration, configure an external client app and an appropriate OAuth 2.0 flow. Salesforce recommends external client apps for new work; creation of new connected apps is restricted as of Spring ’26, although existing connected apps can continue to work.
The OAuth client credentials flow is intended for server-to-server connections. Configure the dedicated integration user as the run-as or execution user. The application exchanges its client ID and secret for an access token on behalf of that user. This flow doesn't issue a refresh token, so the application requests a new access token when the current one expires.
Store the secret in the calling system's managed secret store, not in source code, a spreadsheet, a Flow variable, or an admin's notes. Limit who can read or rotate it. Review IP restrictions deliberately; do not relax them simply to get the first test call working.
4. Prove both allowed and denied behavior
Test in a sandbox with representative records and the actual integration identity. A useful test matrix includes:
- The user can read the two approved Account fields but not an unapproved sensitive field.
- The user can create and update the approved delivery fields.
- A delete request is rejected.
- A request for Contact or Opportunity data is rejected.
- An interactive UI login is rejected for the API-only user.
- An invalid or rotated secret cannot obtain an access token.
- Automation triggered by the update completes under the intended user context and does not require hidden administrator access.
Capture the expected HTTP status and response for each test. “The sync succeeded” is not enough: a least-privilege test must also show that forbidden operations fail.
5. Cut over without losing accountability
- Create and validate the new user, permission set, and client app in a sandbox.
- Run a small production canary through the new identity and reconcile the resulting records.
- Switch the calling application during a monitored window.
- Watch authentication failures, API usage, record errors, and downstream automation.
- After the rollback window, revoke the old application's authorization or secret and remove its unneeded permissions.
- If the former identity belongs to a human, do not deactivate it until you confirm that no other process still depends on it.
Keep the old and new identities distinct during the cutover. Reusing one username for several systems preserves the same audit and compromise problems you are trying to remove.
Limits to check before deployment
Salesforce Integration licenses are available only in the editions Salesforce lists. Current Salesforce documentation says Enterprise, Unlimited, and Performance orgs include five, while Developer Edition includes one; verify your org's Company Information page and contract before planning around that quantity. Additional licenses may require purchase.
The license is designed for system-to-system API access and does not automatically cover every Industry Cloud feature or permission set license. Confirm object and permission compatibility in your org. OAuth authentication also does not replace authorization: the integration can still access only what the running user and assigned permission sets allow. Deactivating that user or changing its access can stop the integration, so treat those changes as production changes.
Related reading
Permission set groups: organize access around the job · Salesforce record visibility troubleshooting
Official Salesforce references
- Give Integration Users API Only Access
- Invoke REST APIs with the integration user and OAuth client credentials
- REST API authorization with external client apps and OAuth 2.0
- Standard user licenses
Published October 11, 2026. Official Salesforce references checked on this date. The objects, fields, username, and cutover scenario are examples; verify licenses, policies, and API behavior in your own org.