Explore Courses Blog Tutorials Interview Questions
0 votes
in Salesforce by (11.9k points)

I've been following a tutorial from:

But, I'm stuck with the part where you need to supply the keys:

host:        # Use for sandbox

client_secret: 1234567890         # This is the Consumer Secret from Salesforce

client_id: somebigidthinghere     # This is the Consumer Key from Salesforce

sobject_module: SFDC_Models       # See below for details on using modules

debugging: true                   # Can be useful while developing

username: [email protected]

password: mypasswordplusmysecuritytoken

Where can I get the client_secret and client_id. The tutorial from the official API site of Salesforce is kind of outdated.

And some other tutorials didn't even mention where to exactly get it.

I already created an account in

And even created a custom app, correct me if I'm wrong.

Then don't know where to find the keys that I need.

Any workarounds will be appreciated.

1 Answer

0 votes
by (32.1k points)

When you log in to, in the left navigation, you'll see the following options. 

Build -> 

  Create ->


At the bottom of the page, you'll see "Connected Apps". Click "New" and add the app you just created. You have to then set your callback URL, description etc. Once you hit save you'll see your consumer id and secret.

Browse Categories