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.
- Navigate to the following URL: https://console.adobe.io/home.
- Click the Create new project button.
- Select the Add API option.
- Select Adobe Analytics, click Next, and then select OAuth and then click Next again.
- 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.
- Click Save configured API.
Create an App for Service Account Integration
Follow the steps below to create a custom app and obtain the connection properties in a specific Service Account authentication flow.
- Navigate to the following URL: https://console.adobe.io/home.
- Click the Create new project button.
- Select the Add API option.
- Select Adobe Analytics, click Next, and then select Service Account (JWT) and then click Next again.
- Choose either to Generate a key pair or Upload your public key. If you choose to Generate a key pair, save the config.zip file locally as this contains the certificate you'll need to complete the connection. Click Next after the key is created or uploaded.
- Creating 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. The following steps will be for OpenSSL Light
Open a command line window and execute the following commands:
1) cd "C:\Program Files\OpenSSL-Win64\bin"
2) .\openssl.exe req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 -keyout private.key -out certificate_pub.crt
- MacOS and Linux
- Select one or more product profiles (in product profiles you can set permissions of the app.) and then click Save configured API.