Engineering Analytics
Marketing Analytics

How to load data from Magento to Streamr

Learn how to use Airbyte to synchronize your Magento data into Streamr within minutes.


This can be done by building a data pipeline manually, usually a Python script (you can leverage a tool as Apache Airflow for this). This process can take more than a full week of development. Or it can be done in minutes on Airbyte in three easy steps:

  1. set up Magento as a source connector (using Auth, or usually an API key)
  2. set up Streamr as a destination connector
  3. define which data you want to transfer and how frequently

You can choose to self-host the pipeline using Airbyte Open Source or have it managed for you with Airbyte Cloud.

This tutorial’s purpose is to show you how.

What is Magento

Magento is an open-source, cloud-based commerce platform that expedites the online shopping experience for business-to-consumer (B2C), business-to-business (B2B), and hybrid businesses. Services include both in-store and marketplaces, mobile, email, and shipping. Magento integrates physical and digital shopping, making it possible for businesses to customize their content more easily and simplifying the business end while making the shopping experience more pleasurable for customers.

What is Streamr

Streamr is a layer zero protocol for real-time data which powers the decentralised Streamr pub/sub network. Above it, blockchains are used for identity, security and payments, currently Ethereum and xDai. On top is the application layer, including the Data Union framework, Marketplace and Core, and all third party applications.


  1. A Magento account to transfer your customer data automatically from.
  2. A Streamr account.
  3. An active Airbyte Cloud account, or you can also choose to use Airbyte Open Source locally. You can follow the instructions to set up Airbyte on your system using docker-compose.

Airbyte is an open-source data integration platform that consolidates and streamlines the process of extracting and loading data from multiple data sources to data warehouses. It offers pre-built connectors, including Magento and Streamr, for seamless data migration.

When using Airbyte to move data from Magento to Streamr, it extracts data from Magento using the source connector, converts it into a format Streamr can ingest using the provided schema, and then loads it into Streamr via the destination connector. This allows businesses to leverage their Magento data for advanced analytics and insights within Streamr, simplifying the ETL process and saving significant time and resources.

Step 1: Set up Magento as a source connector

1. First, you need to obtain the credentials for your Magento source. This includes the URL of your Magento store, your username, and your API key. You can find these credentials in your Magento account under the API section.  
2. Once you have your credentials, go to the Airbyte dashboard and click on "Sources" on the left-hand side of the screen.  
3. Click on the "New Source" button and select "Magento" from the list of available sources.  
4. Enter the URL of your Magento store in the "Host" field.  
5. Enter your username and API key in the "Username" and "API Key" fields, respectively.  
6. Click on the "Test" button to ensure that your credentials are correct and that Airbyte can connect to your Magento store.  
7. If the test is successful, click on the "Save" button to save your Magento source.  
8. You can now use your Magento source to create a new Airbyte pipeline or add it to an existing pipeline.
9. To create a new pipeline, click on "Pipelines" on the left-hand side of the screen and then click on the "New Pipeline" button.  
10. Select your Magento source from the list of available sources and follow the prompts to configure your pipeline.  
11. Once your pipeline is configured, you can run it to start syncing data from your Magento store to your destination.

Step 2: Set up Streamr as a destination connector

1. First, navigate to the Streamr destination connector on Airbyte's website.
2. Click on the "Get Started" button to begin the setup process.
3. Enter your Streamr API key and Streamr stream ID in the appropriate fields.
4. Choose the data format you want to use for your data transfer (e.g. JSON, CSV).
5. Select the frequency at which you want your data to be transferred (e.g. hourly, daily).
6. Choose the data mapping options that best suit your needs.
7. Test the connection to ensure that your data is being transferred correctly.
8. Once you have confirmed that the connection is working properly, save your settings and begin using the Streamr destination connector to transfer your data.

Step 3: Set up a connection to sync your Magento data to Streamr

Once you've successfully connected Magento as a data source and Streamr as a destination in Airbyte, you can set up a data pipeline between them with the following steps:

  1. Create a new connection: On the Airbyte dashboard, navigate to the 'Connections' tab and click the '+ New Connection' button.
  2. Choose your source: Select Magento from the dropdown list of your configured sources.
  3. Select your destination: Choose Streamr from the dropdown list of your configured destinations.
  4. Configure your sync: Define the frequency of your data syncs based on your business needs. Airbyte allows both manual and automatic scheduling for your data refreshes.
  5. Select the data to sync: Choose the specific Magento objects you want to import data from towards Streamr. You can sync all data or select specific tables and fields.
  6. Select the sync mode for your streams: Choose between full refreshes or incremental syncs (with deduplication if you want), and this for all streams or at the stream level. Incremental is only available for streams that have a primary cursor.
  7. Test your connection: Click the 'Test Connection' button to make sure that your setup works. If the connection test is successful, save your configuration.
  8. Start the sync: If the test passes, click 'Set Up Connection'. Airbyte will start moving data from Magento to Streamr according to your settings.

Remember, Airbyte keeps your data in sync at the frequency you determine, ensuring your Streamr data warehouse is always up-to-date with your Magento data.

Use Cases to transfer your Magento data to Streamr

Integrating data from Magento to Streamr provides several benefits. Here are a few use cases:

  1. Advanced Analytics: Streamr’s powerful data processing capabilities enable you to perform complex queries and data analysis on your Magento data, extracting insights that wouldn't be possible within Magento alone.
  2. Data Consolidation: If you're using multiple other sources along with Magento, syncing to Streamr allows you to centralize your data for a holistic view of your operations
  3. Historical Data Analysis: Magento has limits on historical data. Syncing data to Streamr allows for long-term data retention and analysis of historical trends over time.
  4. Data Security and Compliance: Streamr provides robust data security features. Syncing Magento data to Streamr ensures your data is secured and allows for advanced data governance and compliance management.
  5. Scalability: Streamr can handle large volumes of data without affecting performance, providing an ideal solution for growing businesses with expanding Magento data.
  6. Data Science and Machine Learning: By having Magento data in Streamr, you can apply machine learning models to your data for predictive analytics, customer segmentation, and more.
  7. Reporting and Visualization: While Magento provides reporting tools, data visualization tools like Tableau, PowerBI, Looker (Google Data Studio) can connect to Streamr, providing more advanced business intelligence options.

Wrapping Up

To summarize, this tutorial has shown you how to:

  1. Configure a Magento account as an Airbyte data source connector.
  2. Configure Streamr as a data destination connector.
  3. Create an Airbyte data pipeline that will automatically be moving data directly from Magento to Streamr after you set a schedule

With Airbyte, creating data pipelines take minutes, and the data integration possibilities are endless. Airbyte supports the largest catalog of API tools, databases, and files, among other sources. Airbyte's connectors are open-source, so you can add any custom objects to the connector, or even build a new connector from scratch without any local dev environment or any data engineer within 10 minutes with the no-code connector builder.

We look forward to seeing you make use of it! We invite you to join the conversation on our community Slack Channel, or sign up for our newsletter. You should also check out other Airbyte tutorials, and Airbyte’s content hub!

Frequently Asked Questions

What is ETL?

ETL, an acronym for Extract, Transform, Load, is a vital data integration process. It involves extracting data from diverse sources, transforming it into a usable format, and loading it into a database, data warehouse or data lake. This process enables meaningful data analysis, enhancing business intelligence.

What data can you extract from Magento?

Magento's API provides access to a wide range of data related to e-commerce websites. The following are the categories of data that can be accessed through Magento's API:  

1. Products: Information about products such as name, description, price, stock availability, and images.  
2. Customers: Data related to customers such as name, email address, shipping and billing addresses, and order history.  
3. Orders: Details about orders such as order number, customer information, product information, and payment details.  
4. Categories: Information about product categories such as name, description, and parent category.  
5. Reviews: Customer reviews and ratings for products.  
6. Store information: Data related to the store such as store name, address, and contact information.  
7. Shipping and payment methods: Information about available shipping and payment methods.  
8. Sales rules: Rules related to discounts, promotions, and coupons.  
9. CMS pages and blocks: Content management system pages and blocks such as home page, about us, and contact us.  10. Reports: Sales, customer, and product reports.

What data can you transfer to Streamr?

You can transfer a wide variety of data to Streamr. This usually includes structured, semi-structured, and unstructured data like transaction records, log files, JSON data, CSV files, and more, allowing robust, scalable data integration and analysis.

What are top ETL tools to transfer data from Magento to Streamr?

The most prominent ETL tools to transfer data from Magento to Streamr include:

  • Airbyte
  • Fivetran
  • Stitch
  • Matillion
  • Talend Data Integration

These tools help in extracting data from Magento and various sources (APIs, databases, and more), transforming it efficiently, and loading it into Streamr and other databases, data warehouses and data lakes, enhancing data management capabilities.

What is ELT?

ELT, standing for Extract, Load, Transform, is a modern take on the traditional ETL data integration process. In ELT, data is first extracted from various sources, loaded directly into a data warehouse, and then transformed. This approach enhances data processing speed, analytical flexibility and autonomy.

Difference between ETL and ELT?

ETL and ELT are critical data integration strategies with key differences. ETL (Extract, Transform, Load) transforms data before loading, ideal for structured data. In contrast, ELT (Extract, Load, Transform) loads data before transformation, perfect for processing large, diverse data sets in modern data warehouses. ELT is becoming the new standard as it offers a lot more flexibility and autonomy to data analysts.