The goal of these instructions is to enable amberSearch to access Salesforce environment. For that purpose the administrator of Salesforce should create a so-called connected app in their environment. The connected app serves as a client which grants particular API permissions that enable amberSearch to access and index the contents from Salesforce.
Â
Step 1: Create the connected app
- Navigate to Setup
- Search for app manager in the Quick Find search box and navigate to the App Manager
- Press New Connected App and input the following basic data
- Connected App Name: amberSearch Connected App
- Contact Email: it@ambersearch.de
- Or use your own Email. Sometimes you receive verification codes
- Check Enable OAuth Settings
- Set Callback URL:Â Ask amberSearch Team for this value
- From Selected Oauth Scopes select the following scopes:
- Manage user data via APIs (API)
- Access the identity URL service (id, profile, email, address, phone)
- Access unique user identifiers (openid)
- Furthermore, set the following checks:
- Require Proof Key for Code Exchange (PKCE) Extension for Supported Authorization Flows
- Require Secret for Web Server Flow
- Require Secret for Refresh Token Flow
- Enable Client Credentials Flow
- Enable Authorization Code and Credentials Flow
- Enable Token Exchange Flow
- Require Secret for Token Exchange Flow
- Save
Step 2: Create a new user
Depending on the modules and contents that should be integrated in amberSearch, the new user, that should be created, has to have access to these contents. For instance, if Service Cloud is the relevant module from Salesforce, then the user should have access to the Cases.
- Navigate to Setup
- Search for users in the Quick Find search box and navigate to Users
- Press New User
- Name: amberSearch User
- Alias: amber
- Email: it@ambersearch.de
- Username: it@ambersearch.de
- Make sure to assign the necessary license/profile to the user
Â
Step 3: Further configuration of the connected app
- Navigate to Setup, search for connected apps in the Quick Find search box and navigate to Manage Connected Apps
- Press Edit for the connected application from Step 1
- OAuth Policies -> Permitted Users -> Select All users may self-authorize
- Client Credentials Flow -> Run as -> Set the user from Step 2
Â
Step 4: Retrieve the consumer details
In this step we retrieve the consumer details (client id and secret) which in Salesforce terminology are called consumer key and consumer secret.
- Navigate to Setup, search for app manager in the Quick Find search box and navigate to App Manager
- View the connected app from Step 1
- Press Manage consumer Details (within the API (Enable OAuth Settings) section)
- Provide the Consumer Key and Consumer Secret to amberSearch Team
Comments
0 comments
Article is closed for comments.