Global Navigation

  • Products
  • Overview
  • Getting Started
  • Guides
  • Resources
  • Console

Table of Contents

  • Introduction
    • App Builder Overview
    • What is App Builder
    • Business Case
    • FAQ
    • Community
  • Quick Start
    • App Builder Getting Started
      • Setting Up
      • Creating your First App
      • Publishing Your App
      • Troubleshooting
    • Runtime Getting Started
      • Overview
      • Activations
      • Deploy
      • Entities
      • How Runtime Works
      • Resources
      • Setup
      • Understanding Runtime
  • Develop
    • References
    • App Builder Guides
      • Architecture Overview
        • App Hooks
        • Introduction to React Spectrum
        • Using SDKs
      • Application State
      • Application Logging
        • Azure Log Analytics
        • New Relic
        • Splunk Cloud
        • Splunk Enterprise
      • Configuration
        • Webpack Configuration
      • Deployment
        • CI/CD for App Builder Apps
        • Credential Rotation
        • Setting Response Headers
      • Development
      • Distribution
      • Events
        • Webhooks
      • Exc App
        • Interfaces
          • Modules
          • Page ObjectWithHref
          • Page ObjectWithPath
          • Page PageAPI
          • Page PageAPIProperties
          • Runtime
          • TopBar Callback
          • TopBar CustomFeedbackConfig
          • TopBar CustomSearchConfig
          • TopBar ExternalFeedbackConfig
          • TopBar HelpCenterFeedbackConfig
          • TopBar Solution
          • TopBar TopBarAPI
          • TopBar TopBarAPIProperties
          • User UserAPI
          • User UserInfo
        • Migrate App to Exp Cloud SPA
        • Modules
          • Page
          • TopBar
          • User
      • Extensions
        • Extension Migration Guide
      • Optimization
      • Security
        • Understanding Authentication
      • Telemetry
    • Runtime Guides
      • Contribution Guide
      • Asynchronous Calls
      • Creating Actions
      • Creating REST APIs
      • CI/CD Pipeline
      • Debugging
      • Logging & Monitoring
      • Reference Docs
        • API Reference
        • CLI Usage
        • Configuring Proxy
        • Environment Variables
        • Feeds
        • Multiple Regions
        • Packages
        • Prepackages
        • Runtimes
        • Sequences & Compositions
        • Triggers & Rules
        • WSK Usage
      • Security General
      • Securing Web Actions
      • System Settings
      • Throughput Tuning
      • Tools
        • CLI Install
      • Troubleshooting
      • Using Packages
      • Using Runtime
    • Contribution Guide
  • Learning
    • Asset Compute Worker PS API
      • Requirements
      • Lesson 1: Create an app from Asset Compute template
      • Lesson 2: Configure the app
      • Lesson 3: Develop worker calling Photoshop API
      • Lesson 4: Integrate worker in AEMaaCS
      • Well done
    • Barcode Reader
      • Requirements
      • Lesson 1: Bootstrap a Headless App
      • Lesson 2: Writing a Serverless Action
      • Lesson 3: Unit and E2E Tests
      • Well done
    • Blog Articles
      • Blog Articles
    • CI/CD
      • Requirements
      • Lesson 1: Setup CI/CD
      • Lesson 2: Monitoring CI/CD
      • Lesson 3: Custom CI/CD workflow
      • Well done
    • Cron Jobs
      • Requirements
      • Lesson 1: Bootstrap a Headless App
      • Lesson 2: Set up Alarm Feed with Trigger and Rule
      • Lesson 3: Types of Alarm Feed
      • Well done
    • Custom Asset Compute Worker
      • Requirements
      • How AEM as Cloud assets works
      • Architecture of our worker
      • Configure services
      • Local environment setup
      • Implement the worker
      • Test the worker
      • Setup AEM to use the worker
      • Well Done
    • Customer Dashboard
      • Requirements
      • Lesson 1: Create a New App Builder App from Campaign Standard Template
      • Lesson 2: Explore the App Builder App
      • Lesson 3: Run the App Builder App Locally
      • Lesson 4: List All Customer Profiles on the UI
      • Lesson 5: Add Personalized Promotion Emails Triggering
      • Well Done
    • Debugging
      • Requirements
      • Lesson 1: Getting familiar with Debugger
      • Lesson 2: Debugging Application Code
      • Lesson 3: Managing Application Logs
      • Well Done
    • Event Driven
      • Requirements
      • Lesson 1: Create a New App Builder App from Template
      • Lesson 2: Register the App as Event Provider
      • Lesson 3: Fire an Event
      • Lesson 4: Consume Events
      • Well Done
    • Events Runtime
      • Requirements
      • Lesson 1: Step by Step Guide
      • Lesson 2: Verify the result
      • Well done
    • Journaling Events
      • Requirements
      • Lesson 1: Create an Event Provider using App Builder
      • Lesson 2: Create the Event Consumer using Journaling API
      • Lesson 3: End to end test
      • Well done
    • Sample Apps
      • Code Snippets
        • Caching HTTP responses
        • App Builder Files SDK
        • App Builder State SDK
        • I/O Events handler
        • Real-time data from Adobe Analytics API 1.4
    • Spectrum Introduction
      • Lesson 1: What is Spectrum ?
      • Lesson 2: Using Spectrum CSS
      • Lesson 3: Using React Spectrum
      • Lesson 4: Using React Spectrum in App Builder
      • Well done
    • Todo App
      • Requirements
      • Lesson 1: Create a New App Builder App with the React Spectrum template
      • Lesson 2: Setup Runtime actions
      • Lesson 3: Setup the CreateTodoList component
      • Lesson 4: Setup the Todo component
      • Lesson 5: Setup the TodoList component
      • Lesson 6: Bringing the pieces together to build the App
      • Well done
    • Videos
      • Overview
        • Introducing App Builder
        • Getting Started
        • Architecture
        • A Full Security Overview
        • User Journey
      • Exploring
        • Projects and Workspaces
        • React Spectrum
        • Custom Events
        • CI/CD
        • Debugging
        • Learning Resources
        • Dashboard Case Study
        • ODE Case Study
        • Deep Dive Use Cases
        • Live Wired Sneak
        • Softcrylic Partner Showcase
      • Developers Live
        • App Builder Deep Dive
        • Asset Compute Service Extensibility
        • Extend Adobe Experience Cloud
  1. Products
  2. Overview
  3. Guides
  4. Develop
  5. App Builder Guides
  6. Distribution

Distribution Overview

Developers may distribute App Builder applications privately or publicly.

Private

Privately distributed apps are available only to users in the Developer's organization. They are submitted through the Developer Console, reviewed by an Administrator of the organization, and accessed through the App Builder Catalog.

See Publishing Your First App Builder Application for a thorough discussion of this topic and a hands-on sample project.

Note: Only Adobe Experience Cloud Shell extensions may appear in the App Builder Catalog.

Public

Publicly distributed apps are available for installation by anyone on Adobe Exchange.

Overview

Publicly distributed applications are available for any Adobe organization to install and distribute for access through Adobe Exchange. These apps are submitted through Adobe Developer Distribution and reviewed by Adobe. This section reviews configuration options and the steps required to prepare your app for public distribution.

Customer configuration

Developers of publicly distributable apps can define configuration options for customers to set during installation.

Defining customer configuration options

Customer configuration can be defined through the configSchema property.

app.config.yaml

application: <application config> extensions: <extension configs> configSchema: # This is a top-level property and is global to the app and all extensions title: 'the title' description: 'the description' properties: - title: 'Slack Webhook' type: 'string' description: 'Please provide the webhook used by this application. Configure in slack.com' envKey: 'SLACK_WEBHOOK'

Usage

The envKey property of a customer configuration option maps to the environment variable name in the app.

Runtime action

To use customer configuration in a Runtime action, map the envKey value for the desired variable to the inputs of the Runtime action, then access values via params.<envKey> in the action code.

app.config.yaml

configSchema: title: 'the title' description: 'the description' properties: - title: 'enable caching' type: 'boolean' envKey: 'IS_CACHING_ENABLED' <--- Environment variable name application: actions: actions web: web-src runtimeManifest: packages: dx-excshell-1: license: Apache-2.0 actions: generic: function: actions/generic/index.js web: 'yes' runtime: nodejs:16 inputs: LOG_LEVEL: debug IS_CACHING_ENABLED: $IS_CACHING_ENABLED <--- Mapped environment variable annotations: require-adobe-auth: true final: true code-download: true

Action code

async function main (params) { if (params.IS_CACHING_ENABLED) { enableCache() } } exports.main = main
Web application

To use customer configuration in a web application, access values directly through process.env.<envKey>.

app.config.yaml

configSchema: title: 'Configurable Web App' description: 'Web application that can be configured.' properties: - title: 'Frontend background color' type: string description: 'Please provide the background color for your frontend' enum: - blue-400 - celery-400 - indigo-400 envKey: FRONTEND_BACKGROUND_COLOR <--- Environment variable name application: web: web-src

Component.js

<View backgroundColor={process.env.FRONTEND_BACKGROUND_COLOR}></View>

Customer configuration types

Text field
configSchema: title: 'Configure your application' description: 'Set configurable variables for this Slack application' properties: - title: 'Slack Webhook' type: 'string' description: 'Please provide the webhook used by this application. Configure in slack.com' envKey: 'SLACK_WEBHOOK' default: 'https://slack.com/webhook'
Checkbox
configSchema: title: 'Configure your application' description: 'Customize this application to meet your needs.' properties: - title: 'Enable caching' description: 'Determines whether or not the app caches.' type: 'boolean' envKey: 'IS_CACHING_ENABLED'
Dropdown
configSchema: title: 'Configurable Web App' description: 'Web application that can be configured.' properties: - title: 'Frontend background color' type: string description: 'Please provide the background color for your frontend' enum: - blue-400 - celery-400 - indigo-400 envKey: FRONTEND_BACKGROUND_COLOR
Secret
configSchema: title: 'the title' description: 'the description' properties: - title: 'aws secret key' type: 'string' secret: true envKey: 'AWS_SECRET'

Note: This secret screenshot is pending a bug fix.

Multiple configuration options
configSchema: title: 'Configurable Web App' description: 'Web application that can be configured.' properties: - title: 'Frontend background color' type: string description: 'Please provide the background color for your frontend' enum: - blue-400 - celery-400 - indigo-400 envKey: FRONTEND_BACKGROUND_COLOR - title: 'Enable caching' description: 'Determines whether or not the app caches.' type: 'boolean' envKey: 'IS_CACHING_ENABLED' - title: 'Slack Webhook' type: 'string' description: 'Please provide the webhook used by this application. Configure in slack.com' envKey: 'SLACK_WEBHOOK' default: 'https://slack.com/webhook'

Required products

Developers of publicly distributable App Builder apps can define Adobe products that are required for their apps to work properly. The Discover and Acquire sections of the distribution documentation show how these options are surfaced to customers.

Defining required products

Required products can be defined using the productDependencies property.

app.config.yaml

application: <application config> extensions: <extension configs> configSchema: <customer configuration> productDependencies: - code: AEP minVersion: 0.0.0 maxVersion: 1.0.0
Valid products
  • AEM - Experience Manager
  • AAM - Audience Manager
  • ANLYTC - Analytics
  • CMPGN - Campaign
  • TRGT - Target
  • AEP - Experience Platform Services
  • COMMC - Commerce Cloud
  • MRKTO - Marketo Engage
  • WRKFRNT - Workfront
  • AAC - Advertising Cloud
  • RTCDP - Real-time Customer Data Platform
  • AJO - Journey Optimizer
  • CJA - Customer Journey Analytics
  • GPM - GenStudio for Performance Marketing

Product version information can be found on Adobe Experience League.

Packaging for developer distribution

Once an app is configured for public distribution, it can be packaged and uploaded to Adobe Developer Distribution.

The aio app pack command verifies and bundles applications for upload. In the root of your app folder, run:

aio app pack

When it completes, you will find the app package in your app folder as dist/app.zip. Continue to the Adobe Developer Distribution documentation for details on how to upload it.

Validation

When a Developer uploads a package to Adobe Developer Distribution, these validations are performed:

  1. app.config.yaml is checked for format validity, returning configuration errors to fix if necessary

  2. package.json version format must be X.Y.Z, where X, Y, and Z are non-negative integers

  3. files to be packaged - all files in your app folder will be packaged except:

    • files specified in .gitignore
    • files specified in .npmignore
    • any dist folders
    • any dot files (.env, .gitignore, etc)
    • any OS junk files (.DS_Store, thumbs.db, etc)
  4. event registrations, if any, for validity

Hooks

Two hooks are available to customize the packaging step:

  1. pre-pack - runs before packaging
  2. post-pack - runs after packaging

Hook-handler functions will be passed two items:

  1. appConfig (object) contains the configuration of the current application
  2. artifactsFolder (string) is the location of the folder that contains all the packaging artifacts to be bundled

Next step

Return to the Guides Index.