Sample data

If you need some example data when developing your store, you can install our sample data. This data simulates an active Adobe Commerce store with customers, products, and other data. This sample data works best with a new Adobe Commerce on cloud infrastructure template installation.

We recommend installing sample data in your local Integration branches and environments. If you use this data in Staging or Production, you need to remove the information and products before going live.

Install sample data

To install sample data:

  1. On your local workstation, change to your project directory.

  2. At the root, enter the following command to add sample data:

    ./bin/magento sampledata:deploy
  3. Wait for components to update.

  4. Commit and push the changes:

    git add -A && git commit -m "Install sample data"
    git push origin <branch-name>
  5. Wait for the project to deploy.

  6. Verify that the installation was successful by going to your storefront page in the Integration environment. You can locate the URL link to the storefront through the Project Web Interface.

  7. Take a snapshot of your environment:

    magento-cloud snapshot:create -e <environment-ID>

You can start testing your development with live data!

On this page