If you need some example data when developing your store, you can install 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.
As a best practice, install sample data in development and integration environments. If you use sample data in Staging or Production, then you must remove the information and products before going live.
To install sample data:
On your local workstation, change to your project directory.
At the root, enter the following command to add sample data:
Wait for components to update.
Commit and push the changes:
git add -A && git commit -m "Install sample data"
git push origin <branch-name>
Wait for the project to deploy.
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.
Take a snapshot of your environment:
magento-cloud snapshot:create -e <environment-ID>
You can start testing your development with live data!
You can reset or remove sample data following the same procedure used to install the sample data: