Availability
C1 only integrates with the Salesforce editions with API access: Salesforce Enterprise, Unlimited, Developer, and Performance editions. You cannot use this connector successfully with Group or Essentials editions, or with Professional edition without an API add-on. Learn more about which Salesforce editions support API access in the Salesforce documentation.Capabilities
| Resource | Sync | Provision |
|---|---|---|
| Accounts* | ||
| Groups | ||
| Roles | ||
| Permission sets | ||
| Permission set groups | ||
| Profiles | ||
| Connected apps |
Connector actions
Connector actions are custom capabilities that extend C1 automations with app-specific operations. You can use connector actions in the Perform connector action automation step.| Action name | Additional fields | Description |
|---|---|---|
| update_user_status | resource_id (string, required) is_active (Boolean, required) | Updates a Salesforce user’s status to active or inactive |
Gather Salesforce credentials
Configuring the connector requires you to pass in credentials generated in Salesforce. Gather these credentials before you move on.Enable API access and permissions for your Salesforce user
Before you begin, make sure that the Salesforce user who will set up the integration with C1 has the required system permissions. The recommended approach is to create a Permission Set and assign it to the connector user.Enable API Enabled and Manage Users. If syncing connected apps, also enable Customize Application. If using provisioning, also enable Manage Roles and Role Hierarchy and Manage Groups.
Locate your Salesforce domain
That’s it! Next, move on to the connector configuration instructions.Configure the Salesforce connector
- Cloud-hosted
- Self-hosted
Follow these instructions to use a built-in, no-code connector hosted by C1.That’s it! Your Salesforce connector is now pulling access data into C1.
Choose how to set up the new Salesforce connector:
- Add the connector to a currently unmanaged app (select from the list of apps that were discovered in your identity, SSO, or federation provider that aren’t yet managed with C1)
- Add the connector to a managed app (select from the list of existing managed apps)
- Create a new managed app
Set the owner for this connector. You can manage the connector yourself, or choose someone else from the list of C1 users. Setting multiple owners is allowed.If you choose someone else, C1 will notify the new connector owner by email that their help is needed to complete the setup process.
Select your method of authenticating to Salesforce and click either OAuth or Username and password.
If you chose OAuth:
- In the Domain field, enter your Salesforce domain.
-
Optional. Check the box to tell C1 to use Salesforce usernames as the email addresses for your organization’s accounts. This option is especially helpful if your organization uses multiple service accounts that all share a
noreply@salesforce.comemail address. - Optional. Check the box if you want the connector to sync connected apps.
- Optional. Uncheck the box if you do not want to sync deactivated users.
- Optional. Check the box if you want the connector to sync users on non-standard licenses, such as external users.
- Optional. Create a map of the Salesforce license types used by your organization and the profile associated with each license type that has the fewest permissions. C1 will use this information when deprovisioning user profiles to automatically reassign the user to the least-privilege profile associated with their license type.
- Click Save.
- Click Login with OAuth.
- Log in and authorize C1 with your Salesforce instance.
- You will then be redirected back to the Salesforce setup page in C1, where you’ll see an authorization message.
- Enter your Salesforce username and password in the top two fields.
- Enter your Salesforce security token in the Security token field. If trusted IP is configured on your user, entering this token is optional. If needed, refer to Reset Your Security Token in the Salesforce documentation.
- In the Domain field, enter your Salesforce domain.
-
Optional. Check the box to tell C1 to use Salesforce usernames as the email addresses for your organization’s accounts. This option is especially helpful if your organization uses multiple service accounts that all share a
noreply@salesforce.comemail address. - Optional. Check the box if you want the connector to sync connected apps.
- Optional. Uncheck the box if you do not want to sync deactivated users.
- Optional. Check the box if you want the connector to sync users on non-standard licenses, such as external users.
- Optional. Create a map of the Salesforce license types used by your organization and the profile associated with each license type that has the fewest permissions. C1 will use this information when deprovisioning user profiles to automatically reassign the user to the least-privilege profile associated with their license type.
- Click Save.
Troubleshooting the Salesforce integration
When I try to log in with OAuth, I see a “This feature is not currently enabled for this user” error
Salesforce returns this error if the user who is logging in with OAuth does not have permission to access the Salesforce APIs:When I try to sync, I see an “insufficient access rights on cross-reference id” error
Salesforce returns this error if the connector user does not have sufficient permissions:| Permission | Purpose |
|---|---|
| API Enabled | Access Salesforce APIs |
| Manage Users | Read users and setup objects |
| Customize Application | Required only if syncing connected apps |
| Permission | Purpose |
|---|---|
| Manage Roles and Role Hierarchy | Assign and revoke role assignments |
| Manage Groups | Add and remove users from public groups |