Get the Salesforce client credentials

image

There is an official documentation about how to get the Key and secret although it doesn't seem to be updated. Go to: Setup (tom right corner) / Build (bottom left corner) - Create / Apps / Connected Apps / New

image

Create a new app like this:

image

Make sure the Selcected OAuth Scopes are Access and manage your fata (api) and Perform requests on your behalf at

any time (refresh_token, offline_access). Copy the Consumer Key and Secret.

image