To enable data exchange, the LitExtension Connector is used to establish a secure connection between your Source and Target carts. These files act as access gateways, secured by unique Security Tokens tied to your account.
For Magento Cloud migrations, uploading the LitExtension Connector requires a slightly different process due to the unique traits of Magento Cloud:
- Magento Cloud does not allow direct code uploads to production. Instead, all uploads must be done via git push.
- Authentication for SSH and git access to Magento Cloud is only possible through an SSH key.
Here’s how to upload the Connector step by step:
Step 1: First, set up your migration project on the LitExtension website. After filling in your Source/Target cart URL, you will need to download the Connector by clicking “Download LitExtension Connector”.
Step 2: Next, login to your Magento account. Here, navigate to the “Account Setting” section and click “Add public key”.
Fill in your Key and Title of your local machine to that account. When finished, click “Save”.
Step 3: Enter the “Projects (Cloud)” section and click “View Project Page”.
Step 4: Click on the “Production” branch and copy the git clone command.
Step 5: Run the command that you’ve copied in the localhost to clone the production code.
Step 6: In the local code repository, add “le_connector” folder to magento_cloud_code/pub folder
Step 7: Run the following command to push the code
- cd magento_cloud_code/pub
- git add –all
- git commit -m “add LitExtension connector”
- git push
(Note: pushing code will also trigger production site to rebuild in about 15 minutes, wait for this to finish, and it will be done )
Above is the process you can follow to upload LitExtension Connector in your Magento Cloud Project page. In case you need any help from LitExtension team, please contact us. Note that you need to give your Magento Cloud account to LitExtension support team or add your Magento account as a shared account. Both accounts will be able to access the Magento Cloud Project page.
In case you have any other questions, please reach out to us via:
- Ticket system (highly recommended)
- Email us at [email protected]