Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 2.66 KB

environment.md

File metadata and controls

46 lines (34 loc) · 2.66 KB

Create a Postman Environment file

In order to use the Reactor API (AEP Tags), you need to authenticate through Adobe IO using Adobe IMS. This will require creating an Adobe IO project, adding the launch API to the project, and then setting the appropriate Launch profile for permissions. Once these steps are completed, you can copy the required values into your postman environment file to use the Reactor API.

Create an IO project

  1. Go to https://console.adobe.io/home
  2. Create a new project. Name the project unique to this connection so that it's easy to understand what it's used for.
  3. Click Add to Project > API
  4. Under Adobe Experience Platform, select Experience Platform Launch API and Next
  5. Select Option 1 Generate a key pair
  6. Generate the keypair and download. This will download both a private.key file and certificate_pub.crt file.
  7. Next
  8. Select the appropriate Launch profile that will give full access to Launch. If you don't have a launch product profile setup, you can learn how to set one up here: https://experienceleague.adobe.com/docs/platform-learn/data-collection/tags/users-and-permissions.html?lang=en
  9. Finish

Create the postman environment JSON

Create the JSON

  1. Copy the docs/examples/example.postman_environment.json file in this folder.
  2. Rename it so it's unique to the org you're connecting to.

Add IMS values to the JSON

The steps below represent the minimum number of values needed to interact with the Launch API.

  1. In your Adobe IO project, go to the Credentials > Service Account (JWT), copy the following values into their respective values in the environment JSON:

    1. API_KEY (Client ID)
    2. CLIENT_SECRET (Client Secret)
    3. TECHNICAL_ACCOUNT_ID (Technical Account ID)
    4. ORG_ID (Organization ID)
    image-20211216113107047
  2. Next, open the private.key file you downloaded earlier in a text editor. Copy the entire text.

    1. In the environment JSON paste the private key value into the PRIVATE_KEY field.
  3. Save