I have the Production and Staging environments in my Magento Cloud, but I don't see any Integration environment.

Checking this link I see that it's supposed to exits.


Magento 2.4 Cloud Integration environment

2 Answers 2


Step 1 :- Checkout to Staging Branch

git checkout staging

Step 2 :- Create a Integration Brach

git checkout -b integration

Step 3 :-

git add . && git commit -m "Integration Environment Testing" && git push origin integration

Step 4 :- Create Integration under Staging Environment

magento-cloud environment:info -e integration parent staging

Step 5 :- Activate Integration Environment

magento-cloud environment:activate integration

magento-cloud environment:list

Step 6 :- After Integration Activation - Migrate your Staging Database in your Integration Environment. For more information follow this link :- https://devdocs.magento.com/cloud/live/stage-prod-migrate.html#cloud-live-migrate-db

Step 7 :- Sync Your Media Files from Staging to Integration. First Login to Staging SSH & Run

rsync -azvP pub/media/ <[email protected]>:pub/media/ 

Once Completed, Do an Git Push to Start Deploy Once more & Integration will be working.


Git Branch

enter image description here

After your Integration Environment has been Activated

enter image description here

From Magento Cloud WebUI - Check the Log for Success

enter image description here

  • Note: If the git push origin integration not works, Run the git push magento integration. Here magento is the replacement for origin text. To check, run the git remote -v to check the remote branch info. Commented Feb 5, 2023 at 10:15

You can run these commands to have your integration environment as a child of the Staging branch.

git checkout staging -f
git checkout -b integration
magento-cloud environment:info -e integration parent staging
magento-cloud environment:activate integration

Magento Cloud Integration environment

  • When I ran the magento-cloud environment:info -e integration parent staging it shows error [InvalidArgumentException] Specified environment not found: integration. Any Idea about it? Thanks. Commented Feb 2, 2023 at 6:57
  • @MilanChandro change the name integration to the name of your environment. In my example, my environment was called integration. Commented Feb 3, 2023 at 12:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.