cd $MAGENTO_ROOT_DIR
bin/composer require streamx/magento-connectorNote: if the command asks you for a github access token - just press ENTER
cd $MAGENTO_ROOT_DIR
bin/magento module:enable StreamX_ConnectorCore
bin/magento module:enable StreamX_ConnectorCatalog
bin/magento cache:clean
bin/magento cache:flush
bin/magento setup:upgrade
bin/magento setup:di:compilestreamx run -f path-to-your-mesh-fileYou can find a basic mesh file at src/catalog/test/resources/mesh.yaml
- Click on
STORESon the left panel - Click
Configurationin theSettingsarea - Expand
STREAMXsection, click onConnectoritem, then expandGeneral Settingssection on the right - Select
Yesfor theEnable StreamX Connectorsetting and click theSave Configbutton - Switch Scope to website and select stores on the
List of stores to reindex - Expand
StreamX Ingestion Settingssection below - Edit the settings you need, or leave the default values
- Click the
Save Configbutton - You can also provide separate values for
StreamX Ingestion Settingsfor each store
cd $MAGENTO_ROOT_DIR
bin/magento indexer:reindex streamx_category_indexerIf you used the src/catalog/test/resources/mesh.yaml to set up your local StreamX instance,
you can verify if the categories were successfully published to StreamX.
To do so, open your StreamX instance's Web Delivery Service endpoint in a web browser and verify the JSON output at a category URL. Sample URL for Category with ID 6 is: http://localhost:8081/cat:6 Note: if you used a different Mesh Yaml file, the URL will be different.