Connecting to Salesforce
Salesforce is a leading cloud-based Customer Relationship Management (CRM) platform that empowers businesses to manage sales, marketing, customer service, and other customer-centric operations. Integrating Salesforce with IBM watsonx Orchestrate enables seamless data exchange, workflow automation, and improved customer engagement across your enterprise systems.
To enable this integration, you must establish a secure connection that facilitates communication between the two platforms. See Managing connectionsfor more details.
By default, Single sign-on (SSO) is disabled for your app. To enable it, refer to Configuring single sign-on for applications.
Connecting to Salesforce using OAuth2
To connect watsonx Orchestrate to Salesforce:
-
From the main menu, go to Manage > Connections.
-
Search for Salesforce and locate the connection ID:
salesforce_oauth2_auth_code_ibm_184bdbd3 -
Click edit next to the matching connection ID.
-
Select the environment where you want to create the connection:
- Draft: for testing and development
- Live: for production use
-
Select OAuth2 Authorization Code as the Authentication Type.
-
Provide the following keys and their respective values. Click Add new field to input each pair:
Key Description server_urlThe base URL of your Salesforce instance authorization_urlThe URL where users are redirected to log in and authorize access token_urlThe endpoint used to exchange the authorization code for an access token client_idThe client ID of your Salesforce connected app client_secretThe client secret associated with your Salesforce connected app scopeUse api offline_access. Use api offline_access. This is required because the agent currently supports only the OAuth 2.0 Refresh Token flow for now. To get these values, see the Salesforce API documentation.
-
Choose the appropriate credential type.
-
Click Save to complete the setup.
Connecting to Salesforce using Key Value Pair
To connect watsonx Orchestrate to Salesforce:
-
From the main menu, go to Manage > Connections.
-
Search for Salesforce and locate the connection ID:
salesforce_key_value_ibm_184bdbd3 -
Click edit next to the matching connection ID.
-
Select the environment where you want to create the connection:
- Draft: for testing and development
- Live: for production use
-
Set Authentication Type to Key Value Pair.
-
Add the following keys and their respective values. Click Add new field to input each pair:
Key Description base_urlThe base URL of your Salesforce instance (for example, https://yourInstance.salesforce.com)token_urlThe URL used to obtain the OAuth token (for example, https://login.salesforce.com/services/oauth2/token)client_idThe client ID of your Salesforce connected app client_secretThe client secret associated with your app domainThe Salesforce domain (for example, login, test, or a custom domain) To get these values, see the Salesforce API documentation.
-
Choose the credential type.
Note: Only the team credentials are supported when an app is connected using the Key Value Pair authentication type. -
Click Save to complete the setup.