Skip to main content
Requires a modernized AEM as a Cloud Service environment on AEM Release 2024.10.18459.20241031T210302Z or later, and access to Cloud Manager and to the AEM project’s Git repository.

Create the OAuth Web App credential

The credential is created in an Adobe Developer Console project in the same organization as your AEM program.

1

Create the project

Sign in to the Adobe Developer Console, then under Quick Start, click Create new project.

  • Click Edit project, enter a name, then click Save.
2

Add the AEM API

On the project page, click Add API.

  • In the Add API dialog, filter by Experience Cloud.
  • Select the AEM API this integration calls, such as AEM Assets Author API.
  • Click Next.
  • A card marked License required needs a modernized AEM as a Cloud Service environment.
3

Configure the credential

In the Configure API dialog, select User Authentication, then OAuth Web App.

  • Default redirect URI: the Callback URL StackOne shows you when you connect
  • Redirect URI pattern: the Callback URL StackOne shows you when you connect
  • Click Save configured API.
4

Confirm the credential permissions

Enables actions: Bind Metadata Schema, Create Asset Relations, Create Batch Request, Create Content Fragment, Create Content Fragment Model, Create Folders, Delete Asset, Delete Content Fragment, Delete Content Fragment Model, Delete Folder, Delete Folders By Path, Find And Replace In Content Fragments, Get Asset, Get Asset (Delivery), Get Asset Metadata, Get Asset Metadata (Delivery), Get Asset Renditions, Get Asset Renditions (Delivery), Get Content Fragment, Get Content Fragment Model, Get Content Fragment Models Scheduled Publication Status, Get Content Fragments Scheduled Publication Status, Get Delivery Content Fragment, Get Delivery Content Fragment By Path, Get Delivery Content Fragment Model, Get Delivery Content Fragment References, Get Fragments Domain, Get Fragments Languages, Get Fragments Permissions, Get Fragments Referenced By, Get Fragments Translations, GraphQL Query (GET), GraphQL Query (POST), List Asset Relations, List Batch Requests, List Content Fragment Models, List Content Fragments, List Delivery Content Fragment Referenced By, List Delivery Content Fragment Variations, List Delivery Content Fragments, List Launch Jobs, List Workflows, Promote Launch, Publish Content Fragment Models, Publish Content Fragments, Rebase Launch, Search Assets, Search Content Fragment Models, Search Content Fragments, Start Workflow, Update Content Fragment, Update Content Fragment Model

In the Configure OAuth Web App dialog, Review the available scopes and confirm the credential covers the permissions this integration needs, plus offline_access, which Adobe requires before it issues a refresh token:

5

Copy the credentials

Copy the Client ID and Client Secret from the OAuth Web App credential across.

Allow-list the client ID in AEM

An AEM as a Cloud Service environment accepts calls only from the client IDs listed in its API configuration. In the config folder of your AEM project, create or open api.yaml and add the Client ID under each tier this integration calls.

  • Commit the file and push it to the Git repository connected to Cloud Manager.
  • Deploy it with a Config Pipeline in Cloud Manager. Full Stack and Web Tier pipelines do not deploy the file.
  • Repeat for every AEM environment an account will connect to.

Find your AEM Hostname

Your AEM Hostname is the host of the AEM as a Cloud Service environment this account connects to. The author tier always uses an Adobe-managed host, built from your Program ID and Environment ID.

  • Format: author-p{Program ID}-e{Environment ID}.adobeaemcloud.com
  • Example: author-p1234-e5678.adobeaemcloud.com
  • For an account that calls the delivery-tier actions, use the publish or preview host of the same environment, such as publish-p1234-e5678.adobeaemcloud.com.
  • Sign in to Cloud Manager and open your program, then from the left side menu, under Services, click Environments to list the environments in the program.
  • Copy the AEM Hostname across, with no https:// and no trailing slash.
1

Connect

  • Click Connect.
  • If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
  • Once authorization is successful, you will see a confirmation popup.
2

Use Actions

Connect an AI platform to the linked account’s actions. See AI Platforms.Other ways to call actions are listed in Protocols & SDKs.