Find the information you need for your import

This topic discusses how to find the information necessary to import Magento EE into Magento Commerce (Cloud).

You must enter all Magento Commerce (Cloud) commands on the machine on which your Cloud SSH keys are stored. For more information, see Step 4, Enable Secure Shell (SSH).


To transfer the database dump and files to Magento Commerce (Cloud), you must know its SSH URL.

You can find it using:

  • The command line:

    magento-cloud environment:ssh --pipe
  • The project Web Interface.

Magento EE database login information

You must know the name of the Magento EE database as well as the database user’s user name and password.

Cloud database login information

To import the Magento EE database dump into Magento Commerce (Cloud), you must know the Cloud database login information.

The name of the database can be found in the $MAGENTO_CLOUD_RELATIONSHIPS environment variable. Display the variable with the following command. The database name is stored under databases->path. The password is found under databases->password.

To find database access information:

  1. SSH to your integration system:

    magento-cloud environment:ssh
  2. At the command prompt, enter the following command:

    echo $MAGENTO_CLOUD_RELATIONSHIPS | base64 -d | json_pp

The database connection information is displayed:

database" : [
         "username" : "user",
         "query" : {
            "is_master" : true
         "path" : "main",
         "port" : 3306,
         "host" : "database.internal",
         "password" : "",
         "scheme" : "mysql",
         "ip" : ""

In the preceding example, the database name is main, its listen port is 3306, its host name is database.internal, its root user name is user and the user has no password.

Cloud integration system’s unsecure base URL

After you import the Magento EE database into Magento Commerce (Cloud), you must change the base URL so you can access the Magento Admin and storefront.

You can find it using:

Next step

Prepare your existing Magento EE system