Configure Agent Workspace for Salesforce Voice Presence Mapping Authentication

Salesforce is retiring the legacy connected-app authentication approach (username and password credentials) across Salesforce Voice and Salesforce Cloud Voice integrations. To enhance security and align with Salesforce OAuth security standards, CXone now uses an Integration Hub (IHF) Connector paired with a Salesforce External Client App for presence mapping authentication.

Customer Experience by Account Type

New Customers: Automatically onboard using the new Integration Hub connector authentication flow. Legacy connected-app credential fields are not displayed.

Existing Customers: Continue using legacy authentication until ready to migrate. A migration toggle is available in CXone Presence Mapping administration to transition to the new connector-based flow.

Shared Prerequisites

The connector-based authentication architecture for Presence Mapping shares identical prerequisite components with Salesforce Digital External Routing. If you have already configured these components in your environment, you can reuse them:

Prerequisites

Before configuring presence mapping or enabling the migration toggle, complete the following prerequisites in CXone Tenant Management, Salesforce Setup, and CXone Integration Hub.

Enable Integration Hub (IHF) Licenses in CXone

Ensure that your business unit has the required Integration Hub licenses enabled.

  1. Log in to CXone Tenant Management as a Tenant Administrator.

  2. Search for your business unit by name or BU ID, and then click to open it.

  3. In the business unit details page, expand Applications & Features.

  4. Select the Automation & AI/Connections Hub tab.

  5. Select the Connect Auth and Connect Request checkboxes.

  6. Click Save.

Create a Salesforce External Client App

Create an External Client App in Salesforce to issue OAuth credentials for CXone Integration Hub.

  1. Sign in to Salesforce with administrator credentials.

  2. In the Quick Find box, enter App Manager, and then select App Manager.

  3. Click New External Client App.

  4. Configure basic app settings:

    • External Client App Name: Enter a descriptive name (for example, CXone_Presence_Mapping_Auth).

    • API Name: Enter a unique API name. The API name must begin with a letter and contain only alphanumeric characters or underscores.

    • Contact Email: Enter an administrative contact email address.

    • Distribution State: Select Local.

  5. Under OAuth Settings, select Enable OAuth Settings and configure the following:

    • Callback URL: Enter your secure OAuth redirect URL (must begin with https://).

    • Selected OAuth Scopes: Add the following 10 required scopes:

      1. Access the identity URL service (id, profile, email, address, phone)

      2. Manage user data via APIs (api)

      3. Full access (full)

      4. Manage user data via Web browsers (web)

      5. Access Connect REST API resources (chatter_api)

      6. Access Visualforce applications (visualforce)

      7. Perform requests at any time (refresh_token, offline_access)

      8. Access unique user identifiers (openid)

      9. Access custom permissions (custom_permissions)

      10. Access the Salesforce API Platform (sfap_api)

  6. Under Flow Enablement, select Enable Client Credentials Flow. Then, under Security, select Require secret for Web Server Flow and Require secret for Refresh Token Flow.

  7. Click Create and then click Save.

  8. Navigate to the Policies tab, click Edit, and verify that Enable Client Credentials Flow is selected and assigned to the execution user. When you have finished making the policy changes, click Save.

  9. Navigate to the Settings tab, click Consumer Key and Secret, and securely copy the generated Consumer Key (Client ID) and Consumer Secret (Client Secret). When you have finished, click Save.

Create an Integration Hub Connector and Request in CXone

Configure an Integration Hub connector template and request in CXone to manage token exchange and endpoint requests with Salesforce.

Create the Connector Template

  1. Log in to CXone with an administrative account for your target business unit.

  2. From the application menu, select Automation & AI/Connections Hub, and then select Integration Hub.

  3. Click Add Template to create a new connector.

  4. On the Details tab, enter the connector parameters:

    • Name: Enter a name that follows the required Salesforce Voice naming convention, such as Salesforce Voice Presence Connector.

      The Presence Mapping interface displays only connectors whose names begin with the required Salesforce Voice prefix.

    • Application: Type Salesforce in the field. You cannot select it from a list.

    • Integration Method: Select REST.

    • Authentication Type: Select OAuth 2.0.

    • Logo: Select an icon for the connector.

  5. On the Configuration tab, select all of the following HTTP methods, which Presence Sync requires: GET, PUT, POST, DELETE, TRACE, PATCH, HEAD, and OPTIONS.

  6. Click Save.

    The URL field does not appear on the Configuration tab until the template has been saved. You must save the template first, and then enter the Salesforce token endpoint URL in the next step.

  7. In the Integration Hub templates list, locate and select the template you just saved. On the Configuration tab, enter the Salesforce token endpoint URL in the URL field, and then click Save.

  8. Click + My Connection.

  9. In the My Connection Name field, enter a name that follows the required Salesforce Voice naming convention.

  10. Click Save.

Configure the Salesforce Voice Connector

  1. After you create the connector, you are navigated to the connector configuration page.

  2. On the Authentication tab:

    • In URL, enter: {instance_url}/services/oauth2/token

    • Select POST as the HTTP method.

    • Set Media Type to FormURLEncoded.

    • Add the following form parameters:

      • grant_type = {{grant_type}}

      • client_id = {{client_id}}

      • client_secret = {{client_secret}}

  3. On the Variables tab, add the following variables:

    • client_id = Salesforce Consumer Key
    • client_secret = Salesforce Consumer Secret

    • grant_type = client_credentials

    • instance_url = Salesforce instance URL

    To find your Salesforce instance URL, go to Setup > Company Settings > My Domain and copy the value in Current My Domain URL. Your instance URL is https:// followed by that value, for example https://yourcompany.my.salesforce.com.

  4. Click Save.

  5. On the Authentication tab, click Test Authentication to verify the connector configuration. If the response returns Status Code: 200 and Description: OK, the connector is configured correctly and can successfully authenticate with Salesforce.

Configuring Presence Mapping for New Customers

New business units automatically use connector-based authentication when configuring Presence Mapping.

  1. Click the App Selector icon and select Adapters.

  2. Click Account Mapping.

  3. Under SALESFORCE, click Map Accounts.

  4. In the ACD BU Details section, under Adapter Versions, select the required adapter version from the Select Adapter Version dropdown list.

  5. Scroll down and select a user from the Select User dropdown list.

  6. Click Next.

  7. In the Salesforce Account Details section, enter the following information:

    • Salesforce Environment

    • Organization ID

    • Connector Name (select from the Connector Name dropdown list)

  8. Click Next.

  9. In the Email Notification section, enter the email address that should receive status and notification updates.

  10. Click Add.

  11. Click Map & Register.

  12. You are redirected to the Salesforce page.

Mapping Multiple Salesforce Accounts to One Business Unit

Complete this procedure only if more than one Salesforce account maps to the same business unit. If you have a single Salesforce account, you do not need these steps.

  1. On the Salesforce page, under Salesforce Environment, click ADD NEW next to the Salesforce Environment dropdown list.

  2. In the Add New Environment window, enter the following details:

    • Environment Name

    • Organization ID

    • Connector Name (select from the Salesforce Voice New Connector dropdown list)

    • Email Address

  3. Click Add.

  4. Click Map & Register.

Migrating Presence Mapping Authentication (Existing Customers)

Existing customers currently using legacy connected-app credentials must perform this one-time migration.

Presence mapping migration is a one-time, non-reversible action.

  • Once you save the migration configuration, legacy credential fields are permanently removed from the UI.

  • The system cannot roll back to username/password connected-app authentication.

  • Mandatory Verification: Always test and validate the Integration Hub connector and Salesforce External Client App in lower environments (sandbox/staging) before executing the migration in production.

Migration Procedure

  1. Click the App Selector icon and select Adapters.

  2. Click Account Mapping.

  3. Locate the Switch to External client app migration toggle switch and set it to Enabled.

    Enabling the toggle hides legacy credential fields and displays connector selection controls.

  4. From the Connector Name dropdown list, select the required connector.

  5. Click Save.

  6. To add a new Salesforce environment, click ADD NEW under Salesforce Environment.

    The Add New Environment window opens.

    • Enter the following details:

      • Environment Name

      • Organization ID

      • Connector Name

      • Email Address

  7. Click Add.

  8. Click Map & Register.