# 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://a.sfdcstatic.com/developer-website/sfdocs/industries/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](/docs/industries/cme/guide/comms-t-set-up-postmanimport-the-filesand-get-the-token.md)
