Salesforce
Salesforce is a customer relationship management (CRM) platform that helps businesses manage their sales, marketing, service, and other customer-related activities. This document describes how to connect IBM watsonx Orchestrate to Salesforce and use its skills on Orchestrate.
Before you begin
-
If you don't have a Salesforce account, you can create a Developer account to try Salesforce for free. If you want to create a free Salesforce account to test with Orchestrate, make sure that you create a Developer account rather than a Trial account. If you connect to Orchestrate with a Trial account, the Salesforce skills do not work.
-
Your edition of Salesforce needs to be enabled for API access ("API enabled"). If you're using a free trial of Salesforce, it is not API enabled; sign up to the Developer edition instead.
By default, API access is only allowed on Standard, Developer, Unlimited, and Performance editions. The professional edition does not come with free API access, and you might need to pay to enable the API access or upgrade to a higher edition.
Ask your Salesforce administrator if your edition of Salesforce is API enabled, and if necessary request API enablement or upgrade to a higher edition that has API access.
Connecting to Salesforce
An app can be connected either through the skill catalog or through the Orchestrate chat. Use the method that suits you to connect to an app.
Connect to the app through the skill catalog when you add that skill to your skill set:
- On the Orchestrate chat page, click Add skills from the catalog.
- Search and click the app tile.
- Click Connect app.
- Configure the connection. For more information, see Configuring the connection.
- Click Connect app.
Otherwise, connect to that app through the Orchestrate chat when you use the skill:
- Open the Orchestrate chat.
- On the chat, start the skill.
- Click Connect app.
- Configure the connection. For more information, see Configuring the connection.
- Click Connect app.
Configuring the connection on Orchestrate SaaS
To connect Orchestrate to a standard Salesforce production environment:
-
Click Connect app.
-
Optional: In the Custom URL field, enter the custom URL to connect to a specific production, sandbox, or your company's personalized login page.
-
Click Connect app. Orchestrate offers your Salesforce account as the default choice to connect to.
-
Specify the Username and Password.
Username: The email address used to log in to Salesforce. Password: The password for the specified email address.
-
Click Log In > Allow to enable Orchestrate to access your Salesforce account.
Configuring the connection on Orchestrate in IBM Cloud Pak for Data
To connect Orchestrate to a standard Salesforce production environment:
- Click Connect app.
- In the Custom URL field, enter the custom URL to connect to a specific production, sandbox, or your company's personalized login page.
- In the Client ID field, enter the consumer key that is generated when you create a connected app for Orchestrate in Salesforce.
- In the Client secret field, enter the consumer secret that is generated when you create a connected app for Orchestrate in Salesforce.
- In the Access token field, enter the consumer key that is generated when you create a connected app for Orchestrate in Salesforce.
- In the Refresh token field, enter the refresh token generated from the application client ID and client secret.
Using a custom URL (optional)
Use the custom URL field to connect to a specific production, sandbox, or your company's personalized login page. The type of environment or subdomain you can connect to depend on your Salesforce edition. For example, sandboxes are available in some editions like Professional, Standard, Performance, and Unlimited, but aren’t available in the Developer Edition. See the following instructions for more information:
-
If you're connecting to a specific production instance, enter the login URL in the Custom URL field in the following format (without the
https://
prefix):<instance>.salesforce.com
where<instance>
represents the name of the production instance that you're connecting to; for example,na19
,eu11
, orap1
for the North America, EMEA, or Asia Pacific regions.
-
If you're connecting to a standard sandbox that's being used for development or testing, enter the login URL in the Custom URL field by using either of these values (without the
https://
prefix):test.salesforce.com
(the generic, non-instance-specific URL)<instance>.salesforce.com
where<instance>
represents the name of the sandbox instance that you're connecting to; for example,cs19
.
-
If you're connecting to your company's personalized login page (with a configured subdomain) in a production environment, specify the URL in the Custom URL field by using the following format (without the
https://
prefix): -
subdomain.my.salesforce.com
wheresubdomain
represents the name of a subdomain that is defined within your Salesforce org to replace the instance name; for example,myCompanyName
.
-dev-ed.my.salesforce.com
rather than the typical .my.salesforce.com
.- If you're connecting to your company's personalized login page (with a configured subdomain) in a sandbox environment, specify the URL in the Custom URL field by using the following format (without the
https://
prefix):subdomain--sandboxname.instance.my.salesforce.com
where:subdomain
represents the name of a subdomain that is defined within your Salesforce org to replace the instance name,sandboxname
is your assigned sandbox name, andinstance
is the name of the sandbox instance; for example,myCompanyName--mySandboxName.csN
(whereN
is a number).
Technical parameters
The following table contains the technical parameters that are required by some skills of this app, along with instructions on how to get these parameters.
Parameters | Details |
---|---|
accountName |
The ID that identifies your account, which is your email address. |
Case ID |
To get the Case ID, use the Retrieve case team members skill. |
Member ID |
To get the Member ID, use the Retrieve case team members skill. |
Team Role ID |
To get the Team Role ID, use the Retrieve case team members skill. |
What to do next
After you connect to the app, you can use the app’s skills. For more information see, Using skills. To know what skill you can use, see the skills and skill flow column of List of prebuilt apps, skills and skill flows.
Parent topic: