Salesforce REST API OAuth Setting for Integration Manager salesforce-service

  1. Create a connected application for Pricefx.

  2. In Salesforce Setup navigate to Application Manager and click View.

    Screenshot 2019-12-10 at 16.45.35.png
  3. On the view page, you can see the Consumer Key and the Consumer Secret.

    Screenshot 2019-12-10 at 16.45.54.png
  4. Whitelist Integration Manager IP or Relax IP Restriction:

    1. Go to the managed mode. Click the Manage button on the view page.

      Screenshot 2019-12-10 at 16.46.08.png
    2. On the manage page click Edit Policies and choose your IP Relaxation.

      Screenshot 2019-12-10 at 16.46.30.png

5. You can use the obtained key and the secret together with username and password to get an oauth2 token.
curl https://login.salesforce.com/services/oauth2/token -d "grant_type=password" -d "client_id=myclientid" -d "client_secret=myclientsecret"