Authenticate to Your Trailhead Playground Org

This authentication method provides a secure connection without requiring you to create a connected app.

  1. Ensure the only org you’re logged in to is your Subscription Management Trailhead Playground org.

  2. In Postman, ensure the Subscription Management environment is selected.

  3. Select the Collections tab then select the Salesforce Platform APIs folder.

  4. Open the Authorization tab.

  5. Ensure the Type is OAuth 2.0

  6. Click Get New Access Token.

  7. Ensure that you’re authenticating to the correct org, then click Allow. A success message appears briefly, and then you’re redirected to the Manage Access Tokens dialog.

    Allow

  8. Verify that the instance_url points to your Trailhead Playground.

    instance

  9. Copy the instance_url to use later. Be sure to copy only the URL with no extra characters.

  10. Click Use Token.

  11. Open the Subscription Management Postman environment, then open the Variables tab.

  12. In the _endpoint row, CURRENT VALUE column, paste the instance_url value that you copied in a previous step.

  13. Click Save.

Your Postman collection is now authenticated to the demo Subscription Management org.

Test Your Connection 

Let’s verify that the connection is working.

  1. In Collections, select the Subscription Management folder to expand it.
  2. Select Products to expand it.
  3. Select GET Products to open the request in the main panel.
  4. Click Send.

Postman queries the active products in the demo org. Verify the success response.

You may need to turn the Follow Authorization header configuration ON to retain an authorization header when a redirect happens to a different hostname.

Note

You’ve successfully authenticated with your Trailhead Playground. To make further requests against this org, populate the environment variables with object IDs using the Postman Collection Runner.

Release Preview

This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.