Multifunction Calling using Microsoft Teams AI Agent > Using the Multifunction Calling using Microsoft Teams AI Agent recipe > Step 8. Configure and publish the Salesforce connection
  

Step 8. Configure and publish the Salesforce connection

Configure the user credentials, consumer key, and consumer secret to access the Salesforce instance, and then publish the SalesforceQueryConnection connection.
  1. 1Open the SalesforceQueryConnection connection.
  2. 2From the Type list, select Salesforce Query Connector from the recipe assets folder.
  3. 3From the Runtime Environment list, select Cloud Server or any Secure Agent.
  4. 4In the Connection Properties section, enter values for the following properties:
  5. Property
    Description
    User_Name
    Salesforce user name with API access for password authentication.
    Password
    Password associated with the user account.
    Consumer_Key
    The consumer key associated with the Salesforce user account for API access.
    This field is required to subscribe to Salesforce custom platform events, PushTopic queries, and change events, or publish messages to Salesforce custom platform events.
    To know the consumer key, perform the following steps:
    • - Log in to Salesforce.
    • - Click Create > Apps. The connected apps are displayed.
    • - Click the connected app. The API section displays the consumer key as shown in the following image:
    • The image shows the API section for the connected app from where you can get the consumer key.
    Consumer_Secret
    The consumer secret associated with the Salesforce user account for API access.
    This field is required to subscribe to Salesforce custom platform events, PushTopic queries, and change events, or publish messages to Salesforce custom platform events.
    To find the consumer secret, perform the following steps:
    • - Log in to Salesforce.
    • - Click Create > Apps. The connected apps are displayed.
    • - Click the connected app. The API section displays the consumer secret as shown in the following image:
    • The image shows the API section for the connected app from where you can get the consumer secret.
  6. 5Save and publish the connection.