SK SKYVVA Documentation

3. How to Connection Agent to Salesforce Using OAuth2 Client-Credential Authentication Type with API User ?

Introduction

Connecting an agent to Salesforce using OAuth2 Client-Credential Authentication with an API user through the SKYVVA Integration application involves several essential steps.

By utilizing OAuth2 Client-Credential Authentication, the SKYVVA Integration application ensures robust security while facilitating seamless data exchange between the agent and Salesforce. This method is particularly advantageous for scenarios where machine-to-machine communication is required, offering a scalable and secure solution for integrating various applications with Salesforce.

Pre-required

Create a Salesforce Connected App:

Navigate to Setup in Salesforce.

Once the connected app is created, Salesforce will generate a Client ID and Client Secret.

Login to Skyvva Integration Application:

Ensure you have access to the Skyvva Integration application.

Navigate to the OAuth2 settings within the Skyvva application.

Create an API User:

Ensure there is an API user in Salesforce with the necessary permissions to access the required data.

Ensure that the connected app permissions and security settings in Salesforce allow access to the API user

By following these pre-required steps, you will establish a secure and functional connection between the agent and Salesforce using OAuth2 Client-Credential Authentication within the Skyvva Integration application.

How to use agent connection with API User?

Destination -> New

Then click on the Continue button

Host URL -> Server address that installs agent

Then click on the Ping Agent Connection button

OAuth 2 Grant Type: client_credentials

Then click on the Ping Salesforce Connection button, after we ping successfully we can save the connection name.

Then click the Save button

Then click the Save button

Here is the result on Message Monitor

Summary

Now user learned by following these steps, the user can successfully connect an agent to Salesforce using OAuth2 Client-Credential Authentication with an API user. This involves creating a connected app to obtain a client ID and client secret, configuring OAuth2 credentials, and using this token for authenticated API requests.

Open this article in the interactive viewer →