To make configuring Postman easier, Salesforce provides a template environment file and a preconfigured collection file that you can import into Postman.
-
To download the collection file, click here.
-
To download the environment file, click here.
-
Rename the environment file and open it in a text editor.
-
Change the
namevalue fromSalesforce Template Environmentto a more descriptive environment name. -
In the file, set the
urlvalue tohttps://login.salesforce.comorhttps://test.salesforce.comdepending on the org type. -
Set the
baseUrlto your org's hostname with/services/apexrest/vlocity_cmtappended. For examplehttps://demo.my.salesforce.com/services/apexrest/vlocity_cmt. -
Set the
usernameandpasswordvalues to your username and password. So far, the file looks something like this:{ "id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "name": "Cache API Test Environment", "values": [ { "key": "url", "value": "https://login.salesforce.com", "enabled": true }, { "key": "baseUrl", "value": "https://demo.my.salesforce.com/services/apexrest/vlocity_cmt", "enabled": true }, { "key": "version", "value": "48.0", "enabled": true }, { "key": "username", "value": "me@example.com", "enabled": true }, { "key": "password", "value": "p@s$w0rd", "enabled": true }, ... -
Save the file, but keep it open so you can add more values to it in the next task.