> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect Adobe Customer Journey Analytics with OAuth 2.0 (Client Credentials) – StackOne Hub

> Link a Adobe Customer Journey Analytics account in the StackOne Hub using OAuth 2.0 (Client Credentials). End-user guide to authorize the integration and start using Adobe Customer Journey Analytics actions.

> [!WARNING]
>
> You need a product profile admin in the Adobe Admin Console to grant developer access, and a user who can create projects in the Adobe Developer Console.

Select Actions to adjust the guideSome actions may require additional configuration in the provider to be accessible. Choose the actions you need and the guide will be updated.

Select all
Clear

ActionScope(s)

Loading actions...No actions match your search.

Dynamic Guide URL

Copy URL

Scopes Selected

<pre role="textbox" aria-readonly="true" tabIndex="0" />

Separator

Copy scopes

## Grant developer access in the Admin Console

A developer can only add the Customer Journey Analytics API to a project once they have been added to a CJA product profile. A product profile admin does this in the Adobe Admin Console.

**1. Add the developer to a product profile**

Sign in to the [Adobe Admin Console](https://adminconsole.adobe.com), check the organization name in the top right, then click **Products** and click **Customer Journey Analytics**.

<ul>
  <li>Select the desired product profile, or create a new product profile.</li>
  <li>Under the Permissions tab, assign the desired permissions to the product profile.</li>
  <li>Click the Developers tab.</li>
  <li>Click **Add Developer**, and enter the desired user's name or email address.</li>
  <li>Click **Save**.</li>
</ul>

## Create the OAuth Server-to-Server credential

This credential authenticates as a technical account rather than a signed-in person, so it reads only what the product profiles you attach allow. A project is created inside one Adobe organization, and the credential only works with that organization.

**1. Create the project and add the CJA API**

Sign in to the [Adobe Developer Console](https://console.adobe.io), check the organization name in the top right, then click **Create new project**.

<ul>
  <li>Click **Add API**.</li>
  <li>Click **Customer Journey Analytics**, then click **Next**.</li>
</ul>

**2. Select the OAuth Server-to-Server credential**

Choose the **OAuth Server-to-Server credential**, then name it.

<ul>
  <li>**Credential Name**: `StackOne Integration`</li>
  <li>Click **Next**.</li>
</ul>

**3. Select the product profiles**

Select the product profiles the technical account should have. These decide which Customer Journey Analytics data the connection can read.

<ul>
  <li>Click **Save configured API**.</li>
</ul>

**4. Add the Adobe Experience Platform API**

Customer Journey Analytics requests fail with a 403 unless the same project also has the Adobe Experience Platform API. On the project's home page, click **Add to project** > **API**.

<ul>
  <li>Click **Adobe Experience Platform**, then click **Next**.</li>
  <li>Select the desired product profiles, then click **Save configured API**.</li>
</ul>

**5. Confirm the scopes**

Enables actions: Copy Data View, Create A Calculated Metric, Create An Annotation, Create Data View, Create Date Range, Create Project, Create Segment, Create Shares, Delete An Annotation, Delete Calculated Metric, Delete Date Range, Delete Project, Delete Segment, Delete Share, Delete Tag, Delete Tag Items, Find All Segments, Find All Shares For Current User, Find All Shares To Current User, Find All Tags For Company, Find Calculated Metrics, Find One Calculated Metric, Find One Segment, Get Asset Counts, Get Audit Logs, Get Backfills, Get Calculated Metric Function, Get Calculated Metric Functions, Get Components By Tag Name, Get Connection, Get Connections For Company, Get Current User, Get Data Source Types, Get Data View By Id, Get Data Views For Company, Get Date Range, Get Date Ranges, Get Dimension By Id, Get Dimensions For Dataview, Get Ims Users, Get Metric By Id, Get Metrics For Dataview, Get Project, Get Projects, Get Share, Get Tag By Id, Get Tag List By Component Id And Component Type, Get Top Items, Modify Shares, Remove Data View By Id, Retrieve A Single Annotation, Retrieve Multiple Annotations, Run Report, Save Tag Component List, Save Tag List, Search Audit Logs, Search Component Shares, Search Component Tags, Search Connections, Transfer Assets, Update An Annotation, Update Calculated Metric, Update Data View By Id, Update Date Range, Update Project, Update Segment, Validate Calculated Metric, Validate Data View, Validate Project, Validate Segment

Adobe grants a credential its scopes from the APIs added to the project. Open the credential and check it lists the scopes this integration needs:

<ul>
  <li>
    openid
  </li>

  <li>
    AdobeID
  </li>

  <li>
    read\_organizations
  </li>

  <li>
    additional\_info.projectedProductContext
  </li>
</ul>

**6. Copy the credential values**

Under **Credentials** in the left navigation, open the credential to see **Credential details**.

<ul>
  <li>Copy the **Client ID** across.</li>
  <li>Retrieve the client secret, then copy the **Client Secret** across.</li>
  <li>Copy the **Organization ID** across.</li>
</ul>

## Link the Account

**1. Connect**

<ul>
  <li>Click **Connect**.</li>
  <li>If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider's authorization flow.</li>
  <li>Once authorization is successful, you will see a confirmation popup.</li>
</ul>

**2. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.