Sub topic 1
Why an Integration Needs Its Own User
Prerequisites
Assume you understand Salesforce users, profiles, permission sets, objects, fields, sharing, SOQL, and OAuth 2.0. You also need access to a sandbox or Developer Edition org with administrator rights.
Why an Integration Needs Its Own User
An integration user is a dedicated Salesforce user account used by an external system. Do not use a human administrator or a shared employee account for system-to-system traffic.
A dedicated identity gives every API request a clear owner. Login history, field changes, and setup audit records can then be traced to the integration. You can revoke or restrict the integration without interrupting a person’s work. Credential rotation and incident response also become safer.
Least Privilege Applied to Salesforce Access
Least privilege means granting only the access required for a defined job. Start with no assumed access, then add permissions based on documented integration actions.
Salesforce evaluates access in layers:
| Layer | Question |
|---|---|
| License and profile | Can this user use the required Salesforce features and API? |
| Permission sets | Which additional system and object permissions are granted? |
| Field-level security | Which fields can the user read or edit? |
| Sharing and record access | Which records can the user see or change? |
A permission that looks harmless can still expose sensitive data. Avoid View All, Modify All, broad administrative permissions, and unnecessary write access. Remember that object permission does not automatically define record visibility, and record visibility does not grant field access.
List What the Integration Actually Needs
Write an access matrix before creating the user. For each operation, record the object, fields, action, record scope, and reason. Separate reads from creates, updates, and deletes. Include API authentication requirements and identify fields that contain sensitive data.
Test every required action and at least one forbidden action. A successful read of Account does not prove that the user should read Contact, update records, or access every account.
Choosing a License and a Minimal Profile
Choose the least expensive license that supports the required API, objects, and features. Salesforce orgs can offer dedicated integration-user licenses, but availability and object coverage vary. Confirm the license limits in the target org.
Use the smallest suitable base profile. Grant integration-specific access through permission sets rather than modifying a broad profile. Enable API access only when required, then add the exact object, field, and record permissions that the matrix justifies.
Exercise
Why should a human administrator profile not be reused for an integration?
Show answer
It grants excessive access, weakens audit attribution, and makes credential revocation affect the wrong identity.