Instructions for Salesforce API
ReFocus AI has a robust integration with native Salesforce and 3rd party applications built on Salesforce.
- Veruna
- Neon
- Applied Epic for Salesforce
- Novidea
Step 1
To provide access to your Salesforce environment, start by provisioning API access (link to instructions). For the connected application name, provide something descriptive. This can be your organization's name, followed by additional details.
Example: [*Org name*]_ReFocusAI_API
Step 2
The next step is to create an API-only user and provide that user access to the API you just created (link to instructions). Please use support@refocusai.com for the user's email.
Once the user is created, you will need to send the security token manually.
- You can use the 'Login As' button to log into the API-only user you created for ReFocus AI.
- Go to My Settings from the User icon.
- Reset the Security Token, which will email support@refocusai.com with the security token.
- Log off.
This will send the token to the user's email address and is the final step of provisioning API access.
Step 3
Once you have completed these steps, forward your onboarding specialist the following:
- API URL (connection string)
- Consumer Key
- Consumer Secret
- Callback URL
Step 4
Now that data can be accessed through the API. There needs to be a place to put your insights back into Salesforce. This requires creating a custom object and specific fields.
To create custom objects, please look at this step-by-guide and follow the steps (link to instructions).
- Please call the custom object: Policy_Cancellation_Prediction_c
Once the object is created, please go to the guide's 'Steps to Create Salesforce Custom Fields' and create the following four fields. After the field name, you'll see the required data type to select:
- Policy_c: Text
- Predicted_Cancel_c: Checkbox
- Confidence_c: Number
- Prediction_Date_c: Datetime
Once the object and fields are created, please confirm that the API user you created can access these items.
Tip: Salesforce only allows single underscores. You will get an error message if the field name contains two consecutive underscores.
💡If you have any questions during this process, open a support ticket.