---
schema_version: "1"
id: fc2332c9357b67ab0e7e55d9a6dabbfb6718c0f8a8580c021d852f32ec6e8a48
title: Set Up a Connected App for Postman
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/industries/cme/guides/comms-t-set-up-a-connected-app-for-postman.md
canonical_url: https://developer.salesforce.com/docs/industries/cme/guide/comms-t-set-up-a-connected-app-for-postman.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 8fc5f4fa18bb2dc19f903f7161c0d796019697ada4f41fadc3aa2929d896aa99
products:
  - Communications, Media, Energy and Utilities APIs (Managed Package)
  - Industries Developer Documentation
---
# Set Up a Connected App for Postman

Configuring a connected app for Postman lets you use Postman to get the current session token from the org.

1.  In Setup, in **Quick Find**, type `manager`, then click **App Manager**.

2.  Click **New Connected App**.

3.  Fill in a **Connected App Name**, **API Name**, and **Contact email**.

4.  Under **API (Enable OAuth Settings)**, select **Enable OAuth Settings**.

5.  [Set up authorization through the connected app and OAuth2.0.](https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_oauth_and_connected_apps.htm)

6.  Under **Callback URL**, enter the following:

    ```nolang
    https://www.getpostman.com/oauth2/callback
    ```

    Your screen looks something like this:

    ![Connected App Name - Postman](https://developer.salesforce.com/docs/media/postman_connectedapp.png)

7.  Click **Save**.

    The following message displays:

    ```nolang
    Changes can take up to 10 minutes to take effect. Deleting a parent org also deletes all connected apps with OAuth settings enabled.
    ```

8.  Click **Continue**.

9.  Under **Consumer Key**, click **Copy**, and paste the value into the `clientId` setting in the environment file you created in the previous task.

10. Under **Consumer Secret**, click the **Click to reveal** link, click **Copy**, and paste the value into the `clientSecret` setting in the environment file.

11. Under **Initial Access Token for Dynamic Client Registration**, click **Generate**, then click **OK** in the pop-up. Click the **Click to reveal** link, click **Copy**, and paste the value into the `initAccessToken` setting in the environment file.

12. Make sure the values in your environment file look something like this, then save the file:

    ```nolang
    ...
    {
      "key": "clientId",
      "value": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "enabled": true
    },
    {
      "key": "clientSecret",
      "value": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "enabled": true
    },
    {
      "key": "initAccessToken",
      "value": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "enabled": true
    },
    ...
    ```

13. To return to the connected app later, in **Quick Find**, type `manager`, and click **App Manager**. Find the app in the list, click the down arrow at the right end of the row, and select **View** or **Edit**.

    Don't go to **Manage Connected Apps** in Setup. That page doesn't display the **Consumer Key**, **Consumer Secret**, or **Initial Access Token Value**.

[Set Up Postman, Import the Files, and Get the Token](https://developer.salesforce.com/docs/industries/cme/guide/comms-t-set-up-postmanimport-the-filesand-get-the-token.md)
