App submission guidelines

This page provides a list of requirements and best practices for Adobe Commerce app developers to ensure your app is ready for submission. Following these guidelines will help reduce rejection rates and improve the quality of your app.

The Adobe Commerce App Builder review process evaluates submissions across multiple criteria including documentation quality, security practices, code structure, and functionality.

Review process

When you submit your Commerce App Builder extension, our review team will evaluate your submission against the criteria outlined on this page.

  • Requirements - Critical requirements that must be addressed before approval
  • Best practices - Recommended improvements that enhance quality but don't block approval

If your app is rejected

If your submission is rejected:

  1. Review the specific feedback provided by the review team.
  2. Address all requirements listed in the rejection notice.
  3. Consider implementing best practices to improve quality.
  4. Resubmit your updated extension.

Requirements

The following requirements must be met for your app to be accepted. If your app does not meet these requirements, it will be rejected.

Documentation

  • Installation guide clarity

    • Prerequisites: Add clear prerequisites (example: Admin UI SDK must be enabled).
    • Version requirements: Indicate the required module versions (example: Admin UI SDK minimum version 3.0.0).
    • Developer documentation: Include links to relevant Adobe developer documentation (example: App Builder getting started guide).
    • Environment setup: Provide a .env.dist file with all required environment variables, clearly labeled with guidance.
    • PaaS support: Documentation must include installation steps for PaaS merchants. This means if you are submitting an app for Adobe Commerce as a Cloud Service (SaaS), you also need to support Adobe Commerce on cloud infrastructure (PaaS) and Adobe Commerce on-premises (on-prem).
    • Action scoping: All runtime actions must be scoped and documented, if they are exposed as webhooks.
  • Security awareness

    • Screenshot security: Ensure no screenshots contain access tokens, secrets, or API keys.
    • Sensitive data: Do not expose credentials or sensitive information in the documentation.
  • README content quality

    • Project-specific language: Use project-specific language. Avoid generic references to "Adobe", "Magento" or "starter kit".
    • Configuration details: Clearly list the app configuration and any third-party service-specific setup steps.
    • Usage instructions: Add instructions on how to use the app post-installation.
    • Professional writing: Remove any placeholder content and fix any typos.

Security

  • Authentication and authorization

    • Action security: All runtime actions used by webhooks or admin apps must use require-adobe-auth: true in the action configuration.

      • This requires that PaaS apps use Admin UI SDK 3.0 or later. You can add the following to your composer.json file to avoid version restrictions:

        Copied to your clipboard
        "magento/commerce-backend-sdk": "3.0.0 as 2.0.0"
    • Webhook protection: For webhooks, actions need to be protected by signature verification or by enabling the use of IMS authentication in your configuration file.

      Copied to your clipboard
      inputs:
      COMMERCE_WEBHOOKS_PUBLIC_KEY: $COMMERCE_WEBHOOKS_PUBLIC_KEY
      annotations:
      raw-http: true
  • Credential management

    • Hardcoded secrets: No hardcoded secrets (account IDs or tokens) in the code or configuration files.
    • Encryption: Secrets or credentials provided in runtime must be encrypted before persisting in state/files.
    • See Best Practices for Credentials.
    • No logging of secrets: No logging of sensitive credentials or tokens in any runtime action.
  • Vulnerability assessment

    • Security audit: Run npm audit to ensure there are no critical or high vulnerabilities.
    • Dependency check: Review all dependencies for known security issues.

Project structure

  • Configuration files

    • Environment variables: Provide a clear .env.dist file containing all needed keys used by YAML files. Remove any unused keys.

    • Package metadata: Ensure package.json is updated with an app-specific name, version, and author.

    • YAML configuration: Review deploy.yaml and app.config.yaml for accurate app IDs, event configs, and scopes.

    • Commerce product: Define commerce as a required product in app.config.yaml. See required products for more information.

      Copied to your clipboard
      productDependencies:
      - code: COMMC
      minVersion: 2.4.5
    • Events configuration: Review events.config.yaml to verify event providers and registrations, document usage, and prefix events with your app's scope to avoid collisions. Remove this file if your app does not use events.

  • Project cleanup

    • Unused folders: Remove any unused or unnecessary folders.
    • Adobe compliance files: Do not include any Adobe compliance files, such as CODE_OF_CONDUCT or COPYRIGHT, that you copied from a starter kit.
    • Multi-environment support: Provide out-of-the-box support for SaaS and PaaS deployments by using configuration or different initialization scripts.

Code review

  • Code quality

    • state usage: Avoid inappropriate use of state. For example, when log forwarding instead of using state, use more modern solutions such as App Builder's log forwarding feature.
    • Hardcoded values: Look for hardcoded values that should be configurable
  • Commerce compatibility

  • Quality assurance

    • Test suite: Ensure tests all tests are passing. Run npm test to validate.

Dependency management

  • Version management
    • Direct dependencies: Check for missing dependencies using npx npm-check (PKG ERR label).
    • SDK migration: Fully migrate Admin UI SDK 1.x extension points to 3.x if applicable.

Best practices

The following best practices are not required for your app to be accepted, but they are recommended to improve the quality of your app and its integration with Adobe Commerce.

Project enhancement

  • Tracking and monitoring

  • Script management

    • Script validation: Execute everything in package.json scripts section and ensure there are no errors.
    • Script cleanup: Ensure there are no unused or non-working scripts.

Runtime and testing

  • Functional testing
    • Deployment testing: Deploy the project and conduct minimal functional testing.
    • End-to-end validation: Verify all major functionality works as documented.

To facilitate proper testing during review, ensure you provide:

  • Clear installation and setup instructions
  • Required environment configurations
  • Test credentials or demo environments (if applicable)
  • Documentation of any third-party service dependencies

Code review

  • Code cleanup

    • Development artifacts: Remove TODO comments and unused scripts or handlers.
    • Test scripts: Add or remove test scripts in package.json based on actual test coverage.
    • Development logs: Remove unused development logs and console outputs.
    • Handler cleanup: Clean up any unused handlers or unused code, such as empty preProcess or transformData functions.
  • Code quality

    • Action consistency: Ensure consistency and correctness in action names and routes.
    • Duplicated logic: Avoid duplicating SDK logic unnecessarily, such as OAuth or fetch wrappers.
  • Configuration best practices

    • Package-level inputs: Use package-level inputs in YAML files instead of repeating environment variables.
    • Environment variables: Avoid structured data in environment variables, unless necessary.

Dependency management

  • Version management
    • Package updates: Check for up-to-date package versions using npx npm-check (MAJOR UP label).
    • Unused dependency check: Check for unused dependencies using npx npm-check (NOTUSED? label).