-
Create a connected application for Pricefx.
-
In Salesforce Setup navigate to Application Manager and click View.
-
On the view page, you can see the Consumer Key and the Consumer Secret.
-
Whitelist Integration Manager IP or Relax IP Restriction:
-
Go to the managed mode. Click the Manage button on the view page.
-
On the manage page click Edit Policies and choose your IP Relaxation.
-
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"