Skip to content

Latest commit

 

History

History
79 lines (40 loc) · 2.63 KB

CONNECTED_APP.md

File metadata and controls

79 lines (40 loc) · 2.63 KB

Set up a connected app in Salesforce

To be able to access SalesForce Data Cloud via the connector, you'll first need a connected app in Salesforce. Here's how to create that.

1. Go to Salesforce setup

Log in to Salesforce and go to setup

image

2. Open up App Manager

Search for App Manager

image

When you open it, it should look like this

image

3. Create Connected App

Click on New Connected App

image

  1. Give the app a name
  2. Enter email
  3. Check Enable OAuth settings
  4. Put "https://login.salesforce.com/services/oauth2/success" in the callback url
  5. Ensure that the following are selected in the scopes
    1. Manage user data via APIs (api)
    2. Access all datacloud resources
    3. Perform ANSI SQL queries on DataCloud

image

Click on Save.

image

4. Update policies

In set up go to Manage Connected App

image

Click on the newly created connected app and then click on Edit Policies.

image

Make sure that under oauth policies we have "Relax IP restrictions" and "Allow all users to self authorize" and then click Save.

image

5. Set up customer keys (optional)

Click on Manage Customer Keys and provide validation code if applicable.

image

Copy the keys.

image

6. Ensure Oauth and OpenId are enabled

In setup, go to Oauth and OpenId settings. Ensure all the options are turned on.

image

Note: If you want to restrict IP's, you can set it up in the connected app. See the article Restrict Access to Trusted IP Ranges for a Connected App for more details.