Creating a Salesforce connection
Create the connection by using one of the following methods:Using OAuth
Creating your connection
- In the Blink platform, navigate to the Connections page > Add connection. A New Connection dialog box opens displaying icons of external service providers available.
- Select the Salesforce icon. A dialog box with name of the connection and connection methods appear.
- (Optional) Edit the name of the connection. At a later stage you cannot edit the name.
- Click Salesforce to authenticate using OAuth.
- Sign in using your credentials.
Using Client Secret
To create the connection you:- Salesforce instance URL (e.g.
https\://\<my_instance_name>.my.salesforce.com). - To create an app in Salesforce and get Consumer ID and Secret.
Obtaining the credentials
- In your Salesforce account, in the upper right corner next to user icon, click Setup.
- In the left panel, navigate to Apps > App Manager.
- In the upper-right corner, click New External Client App.
-
In the Basic Information fill the following fields:
- External Client App Name
- API Name
- Contact Email
- Distribution State to Local
- In the API (Enable OAuth Settings) select Enable OAuth.
- In the App Settings add a Callback URL(You can use https://example.com since this field is not relevant for this type of OAuth but it’s still required).
-
In the same category add the scopes:
- Perform requests at any time (refresh_token, offline_access)
- Manage user data via APIs (API)
-
In the Flow Enablement select:
- Enable Client Credentials Flow
- Click Create
- Click on Policies, then click on Edit.
- In OAuth Policies select Enable Client Credentials Flow, then fill Run As (Username), then Save.
- Click on Settings, then under OAuth Settings click on Consumer Key and Secret.
- Copy your credentials and use them to create a connection on Blink.
Creating your connection
- In the Blink platform, navigate to the Connections page > Add connection. A New Connection dialog box opens displaying icons of external service providers available.
- Select the Salesforce icon. A dialog box with name of the connection and connection methods appears.
- (Optional) Edit the name of the connection. At a later stage you cannot edit the name.
- Select Client Secret as the method to create the connection.
-
Fill in the parameters:
- The API address
- The consumer ID and secret
- (Optional) Click Test Connection to test it.
- Click Create connection. The new connection appears on the Connections page.