The Salesforce Provisioning Plugin provisions Contacts to Salesforce via the Force.com REST API.
Operations
Registry CO Person Transaction | Changelog Action |
---|---|
Add | Synchronize the CO Person with Salesforce |
Edit | Synchronize the CO Person with Salesforce |
Enter Grace Period | No changes (unless attributes change as part of grace period) |
Expiration / Becomes Inactive | Synchronize the CO Person with Salesforce |
Unexpire / Becomes Active | Synchronize the CO Person with Salesforce |
Delete | No changes |
Manual Provision | Synchronize the CO Person with Salesforce |
Registry CO Group Transaction | Changelog Action |
---|---|
Add | No changes |
Edit | No changes |
Delete | No changes |
Manual Provision | No changes |
Registry CO Email List Transaction | Changelog Action |
---|---|
Add | No changes |
Edit | No changes |
Delete | No changes |
Manual Provision | No changes |
Configuration
- This is a non-core plugin, see Installing and Enabling Registry Plugins for more information.
- If you already have a Salesforce Server defined with the appropriate configuration (perhaps for use with the Salesforce Source) you can reuse it instead of defining a new one. Skip to step 6.
- Add a new Server, via Servers > Add a New Server
- Set the server type to OAuth2.
- After the configuration has been saved, a Redirect URI will be available via the server configuration page. Keep this handy for the next step.
- In another browser tab or window, login to Salesforce. Add a new Connected App via Setup > Quick Links > Manage Apps. Click the New button in the Connected Apps section.
- Set the Connected App Name and Contact Email.
- Under API, tick Enable OAuth Settings.
- Set the Callback URL to the URI provided in step 1, above.
- Added at least these two OAuth Scopes:
- Access and manage your data (api)
- Perform requests on your behalf at anytime (refresh_token, offline_access)
- Click Save. (You may need to scroll up to see the confirmation message.)
- On the next page, a Consumer Key and Consumer Secret will be made available. Keep these handy for the next step.
- Return to the OAuth2 Server configuration and complete the configuration.
- Server URL: The base URL of your Salesforce instance with
/services/oauth2
appended, eg https://test.salesforce.com/services/oauth2- The plugin will work with either the generic service name (test.salesforce.com) or a specific instance (cs123.salesforce.com), but note that Salesforce periodically migrates customers to new instances (in Salesforce terms, an instance refresh). In such an event, when configured with the generic service name the plugin should detect the new instance automatically, though it may be necessary to obtain a new token (described below).
- Client ID: The Consumer Key obtained in step 2.
- Client Secret: The Consumer Secret obtained in step 2.
- Access Token Grant Type: Authorization Code
- Scope: (Leave blank)
- Click Save.
- Click Obtain New Token on the configuration page to initiate the token authorization process.
- Server URL: The base URL of your Salesforce instance with
- Define a new CO Provisioning Target using the SalesforceProvisioner plugin. On the configuration page, select the Server set up above and click Save.