Get the Salesforce client credentials
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
Create a new app like this:
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.