...
Get consumer key and consumer secret by connected app
Creating a new connected app and get Consumer Key (Client ID) and Consumer Secret (Client Secret) by connected app
Go to https://ap2.salesforce.com/ and sign in your Salesforce CRM account above, then click Setup in upper right panel. Select Built > Create > Apps. In connected apps section, click New to add new app.
...