You are here:
Set Up the Connected App for Salesforce Service Cloud
Provide Point of Sale access to a Salesforce Connected App using whichever Salesforce APIs can be invoked for Clienteling purposes.
Point of Sale also needs credentials to be able to login to the Salesforce portal in dev or testing to explore how merchant uses Salesforce objects.
- URL: Salesforce instance IRL
- Username
- Password
- Client_id of the Connected App
- Client_secret of the Connected App
Refer to POS Access List - URLs and IP Addresses for a list of URLs and IP addresses to be allowlist. This is to enable the necessary communication.
See New connected apps can no longer be created in Spring ‘26 for more details.
-
Work with your Salesforce admin team to create a Connected App which supports Username and Password OAuth flow.
Note Refer to Connected App
-
Create a Connected App Steps:
Note Review the steps and exact permissions with a Salesforce admin.
- Login to Salesforce and go to Click New Connected App.
- Enter your app details and enable OAuth with the appropriate scopes.
- Copy the Consumer Key and Secret
- In the (on left) search for and select and Settings. Make sure is turned on.
- Create a new Salesforce user to give access to your Connected App. Share the username, password of the user along with your key, and secret of the Connected App with Point of Sale.
- Point of Sale uses the below curl call to get the access token to be able to query and update various Salesforce objects like Account, SNOTE, etc.
- Point of Sale needs a username and password to be able to login to the portal and explore various objects used by Merchant and how they are linked to each other for Clienteling purposes.
-
Below curl for reference. Point of Sale uses this call to get an access token.
curl -i -L -X POST \ -H "Content-Type:application/x-www-form-urlencoded" \ -d "grant_type=password" \ -d "client_id=3MVG9Kip4IKAZQEUsd61xEim4D2qvCNJjxNUmOOQbFFLG_YQGl.AJItFUQW7XgqhdGIdQOfDzMXYqjORrbA6f" \ -d "client_secret=8A8C6543C7151032FA620AF7B046C795FC14509A3CD8224CEE8C3831B118CE21" \ -d "username=user@predictspring.com" \ -d "password=***" \ 'https://na111.salesforce.com/services/oauth2/token'

