...
Go to the setup page of your instance as admin
- Navigate to Setup → BuildApp Manager → Create → Apps → Connected AppsNew Connected App
- Click on New and fill in the Connected App Name, for example 'XPLG Integration'.
Fill the other details on the form.
- Check the Enable for Device Flow to fill callback URL.
Enable the OAuth Settings and grant full access. Uncheck the “Require Secret for web server overflow” checkbox and save.
Click Save. The Connected App will be created. Click Continue to view the Consumer Key and Consumer Secret.
- Copy the Consumer Key and Consumer Secret to a safe location.
- Navigate to Setup → Administer → Manage Apps → Connected Apps.
- Click on the newly created Connected App. Select Relax IP restrictions under OAuth Policies > IP Relaxation. Save.
Navigate to Setup → Administer → Manage Apps → Connected Apps, edit the App.
You will find the consumer key and consumer secret there. These are the details required for OAuth authentication for token retrieval.
- For XPLG integration you'll need - username, password, instance (****.salesforce.com), client ID (consumer ID) and client secret (consumer secret).
...