Requirements
- ✓Magento 2.4.x or later
- ✓PHP 8.1 or later
- ✓Composer 2.x
- ✓A StreamCart account (free trial available)
Installation Guide
Connect StreamCart to Magento
Install via Composer
Run the Composer command in your Magento 2 root directory to download and register the StreamCart module.
Enable the module and upgrade
Run the following two commands to enable the module and apply the database schema upgrade.
Configure in Stores → Configuration
Go to Stores → Configuration → StreamCart in the Magento admin panel. Enter your Project ID (from StreamCart dashboard → Settings → Project) and save.
Script added via default_head_blocks.xml
The module adds the embed script to default_head_blocks.xml, which loads it on every storefront page without theme modifications.
Product sync via Magento REST API
StreamCart connects to your Magento REST API using an integration token with read-only catalog access. Products sync on activation and on a scheduled interval.
Quick Reference
All commands
Manual Installation
Edit the theme header template
If Composer is not available, you can add the script manually to your theme's header template at app/design/frontend/[Vendor]/[theme]/Magento_Theme/templates/html/header.phtml.
Troubleshooting
Common issues and fixes
Composer installation fails with a package not found error
Ensure your Magento Marketplace credentials are configured in ~/.composer/auth.json and that you have accepted the StreamCart module's terms on Magento Marketplace.
Module appears in the admin but script is not loading
Run bin/magento cache:clean and bin/magento static-content:deploy. Also verify that the StreamCart module is enabled via bin/magento module:status.
REST API integration returns 401
Go to System → Integrations in the Magento admin. Confirm the StreamCart integration is activated and has Catalog → Products read permissions.
Need help?
Our team can assist with Composer setup, module configuration, and REST API integration.
Contact Support →