Cmdlets for Adobe Analytics

Build 24.0.9060

Creating a Custom OAuth App

You must create a custom OAuth app to connect to the Adobe Analytics.

Create an App for OAuth Integration

Follow the steps below to create a custom app and obtain the connection properties in a specific OAuth authentication flow.

  1. Navigate to the following URL: https://console.adobe.io/home.
  2. Click the Create new project button.
  3. Select the Add API option.
  4. Select Adobe Analytics, click Next, and then select OAuth and then click Next again.
  5. Select the Web option and fill out the redirect URIs. For a desktop application, you can use a localhost URL such as https://localhost:33333. For a web application, supply the URL of the page to redirect to on your website.
  6. Click Save configured API.
Your client is now created. Notice your client has an Client ID (API Key) and a Client Secret. These will be needed to get your auth code and to generate access tokens.

Create an App for Service Account Integration

Use the following steps to create a custom app and obtain the connection properties in a specific Service Account authentication flow.

  1. Navigate to the following URL: https://console.adobe.io/home.
  2. Click Create new project.
  3. Select Add API.

For JWT OAuth:

  1. Select Adobe Analytics, click Next, then select Service Account (JWT) and click Next again.
  2. Choose either Generate a key pair or Upload your public key. If generating a key pair, download the config.zip file and save it locally, as it contains the necessary certificate to complete the connection. Click Next after creating or uploading the key.
  3. Create your own Public Key Certificate:
    • MacOS and Linux:
      Open a terminal and execute the following command:

      openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 -keyout private.key -out certificate_pub.crt
    • Windows:
      Download an OpenSSL client such as OpenSSL Light to generate public certificates. Then follow these steps:
      1. Open a command line window and change to the appropriate directory:

        cd "C:\Program Files\OpenSSL-Win64\bin"
      2. Execute the command:

        .\openssl.exe req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 -keyout private.key -out certificate_pub.crt
  4. Select one or more product profiles (you can set app permissions in product profiles) and click Save configured API.

Your client is now created. You will have the Client ID (API Key), Client Secret, Organization ID, and Technical account ID, which are needed to generate JWT tokens and access tokens.

For Server-to-Server OAuth:

  1. Select Adobe Analytics, click Next, then select OAuth Server-to-Server and click Next again.
  2. Select one or more product profiles (you can set app permissions in product profiles) and click Save configured API.

Your client is now created. You will have the Client ID (API Key) and Client Secret, which are needed to generate access tokens.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060