How to get consumer key and consumer secret for automating Salesforce?

June 8, 2018
 / 
by 
Iffat Ara Khanam

Table of contents

To configure a Salesforce OAuth2 connection you will need to register your Auth0 tenant on their Administer panel.

1. Register a New App.

Log into Salesforce. Click on Settings > Setup in the upper right, next to your account name.

https://cdn2.auth0.com/docs/media/articles/connections/social/salesforce/salesforce-register-1a.png

Navigate to Platform Tools > Apps. Under App Manager, click New Connected App:

https://cdn2.auth0.com/docs/media/articles/connections/social/salesforce/salesforce-register-1b.png

2. Complete the New Connected App form.

(1) Enter the required basic information (Connected App NameAPI Name and Contact Email).

(2) Select Enable OAuth Settings under API (Enable OAuth Settings).

(3) Enter your callback URL: https://YOUR_AUTH0_DOMAIN/login/callback.

(4) Access your basic information to the Selected OAuth Scopes.

(5) Click Save.

C:Usersradheshyam.prajapatiDesktop15.jpg

3. Get your Consumer Key and Consumer Secret.

Once your app is registered, the page will display your Consumer Key and Consumer Secret:

https://cdn2.auth0.com/docs/media/articles/connections/social/salesforce/salesforce-register-3.png

4. Copy your Consumer Key and Consumer Secret.

  1. Open OpKey AddOn. Login with your credentials>>Select Project>>Select TC/FL (Existing or New)>>Select OR.
  2. On the recording screen, select Salesforce Recording from the dropdown present at the top.
  3. You will then see a popup screen asking for Consumer Key and Consumer Secret.

This will help OpKey to connect to Salesforce APIs for automation.

Author

Radhe Shyam Prajapati

No items found.
Get started with no-code test automation today
Book demo