> For the complete documentation index, see [llms.txt](https://docs.appstrategy.com/apprules-r-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.appstrategy.com/apprules-r-documentation/platform/platform-features/system-settings/data-sources/connection-settings/analytics/adobeanalytics/customoauthapp.md).

# Adobe Custom oAuth App

### 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.

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

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
  * 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<br>
* Select one or more product profiles (in product profiles you can set permissions of the app.) and then click Save configured API.

Your client is now created. Notice your client has Client ID (API Key), Client Secret, Organization ID and Technical account ID. These will be needed to get JWT token and to generate access tokens.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.appstrategy.com/apprules-r-documentation/platform/platform-features/system-settings/data-sources/connection-settings/analytics/adobeanalytics/customoauthapp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
