---
schema_version: "1"
id: 6e11b321d76167466c59467c926a20a8b01176fe6c8839731b3e855952f6676a
title: Set Up the Connected App for Salesforce Service Cloud
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/rt_adv_config_sf_int_connect_app.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.rt_adv_config_sf_int_connect_app.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: fa9e13eb66193e612f6ec464c29156363d1e89d7ee4eaa50a215abf9c547077e
description: Provide Point of Sale access to a Salesforce Connected App using whichever Salesforce APIs can be invoked for Clienteling purposes.
products:
  - Commerce
release: "264"
---
# 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](https://help.salesforce.com/s/articleView?id=commerce.rt_adv_config_3p_int_erp_pos_access_list.htm&release=264.0.0&type=5 "To enable POS and cloud services to interact with external, third-party services, allowlist specific URLs and IP addresses within the merchant's firewall. Ensure necessary communication for Adyen Payments, Elavon Payments, and other connectors by allowlisting URLs configured on CMS and product or order systems. The in-store IT team handles store firewall and POS app URLs, while the corporate IT team manages backend outbound NAT gateway IPs for connectors.") for a list of URLs and IP addresses to be allowlist. This is to enable the necessary communication.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-commerce-retail-264-0-0-production-enus/17d647fb-8988-49fb-9add-c4f4cc79c9e4/images/icon_note.png)

Note Connected apps creation is restricted as of Spring ‘26. You can continue to use existing connected apps during and after Spring ‘26. However, we recommend using [external client apps](https://help.salesforce.com/s/articleView?id=xcloud.external_client_apps.htm&language=en_US) instead. If you must continue creating connected apps, contact Salesforce Support.

See [New connected apps can no longer be created in Spring ‘26](https://help.salesforce.com/s/articleView?id=005228017&type=1&language=en_US) for more details.

1. Work with your Salesforce admin team to create a Connected App which supports Username and Password OAuth flow.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-commerce-retail-264-0-0-production-enus/17d647fb-8988-49fb-9add-c4f4cc79c9e4/images/icon_note.png)
    
    Note Refer to [Connected App](https://help.salesforce.com/s/articleView?language=en_US&id=connected_app_overview.htm)
2. Create a Connected App Steps:
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-commerce-retail-264-0-0-production-enus/17d647fb-8988-49fb-9add-c4f4cc79c9e4/images/icon_note.png)
    
    Note Review the steps and exact permissions with a Salesforce admin.
3. Login to Salesforce and go to **Setup** | **Apps** | **External Client Apps** | **Settings.** Click New Connected App.
4. Enter your app details and enable OAuth with the appropriate scopes.
5. Copy the Consumer Key and Secret
6. In the **QuickFind bar** (on left) search for **OAuth** and select **OAuth** and **OpenID Connect** Settings. Make sure **Allow OAuth Username-Password Flows** is turned on.
7. 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.
8. 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.
9. 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.
10. 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'
    ```