> ## 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 (Multiple Companies) – StackOne Hub

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

> [!WARNING]
>
> You need a user who can create projects in the Adobe Developer Console for your organization, and a product profile admin in the Adobe Admin Console must have granted that user developer access to Customer Journey Analytics.

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

## Create the OAuth Web App credential

The project holds the OAuth app you sign in through. It is created inside your 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 Web App credential**

Choose the **OAuth Web App credential**, then fill in the credential form.

<ul>
  <li>**Credential Name**: `StackOne Integration`</li>
  <li>**Default Redirect URI**: the StackOne callback URL, `https://api.stackone.com/connect/oauth2/adobecustomerjourneyanalytics/callback`</li>
  <li>**redirect URI pattern**: a pattern that matches the same URL. Escape each period with a backslash.</li>
  <li>Click **Next**.</li>
</ul>

**3. Select the product profiles**

Select the desired product profiles for the credential. Make sure that it contains the right permissions to access the API.

<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 the **Scopes tab** lists the scopes this integration needs:

<ul>
  <li>
    openid
  </li>

  <li>
    AdobeID
  </li>

  <li>
    read\_organizations
  </li>

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

## Copy the credential values

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

<ul>
  <li>Copy the **Client ID**.</li>
  <li>Click **Retrieve client secret**, then copy the **Client Secret**.</li>
  <li>Copy the **Organization ID**, which ends in `@AdobeOrg`.</li>
  <li>Enter the three values, then sign in with your Adobe ID when StackOne opens the Adobe login page.</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.