Ask a question
Limited-Time Offer: 50% off IBM TechXchange Conference 2025
IBM’s largest technical learning event is back October 6-9 in Orlando, FL
This article describes the step-by-step process of creating the Integration for loading Magento Store details to Alibaba Object Storage Service using the Magento and Alibaba OSS Connectors in webMethods.io Integration.
The user needs to have an active Magento E-commerce and Alibaba OSS account.
Active webMethods.io Integration cloud tenant.
Section 1: Configure Magento E-commerce and Alibaba OSS accounts in webMethods.io Integration
Login to webMethods.io Integration tenant
Create a new project or choose an existing project if required.
Switch to Connectors tab.
Search and select Magento E-commerce platform connector.
Select Custom OAuth Type and proceed to next page.
Fill in Server URL, Consumer ID, Consumer Secret, Access Token and Access Token Secret and create the account.
To create account for Alibaba OSS connector, search and select Alibaba OSS.
Fill in Server URL, Access Key and Access Key Secret and create the account.
Section 2: Creating the integration for uploading store details to Alibaba OSS.
Switch to FlowServices Tab and create new Flow Service.
Search and select Magento eCommerce platform connector.
Click on Actions dropdown and click Add custom operation at the end.
a. Select Magento eCommerce platform account created in previous section. b. Fill in name of custom operation. c. Select Store functional area.
Select List resource and click Next.
Select Websites and click Next.
Select the fields and proceed to next page.
Review the details and click Done.
To convert the response from previous step to JSON stream, Click on add new step in Flow Service pane. Search and select DocumentToJSONStream service.
Click on Edit Mapping option for DocumentToJSONStream service and map response from the previous action to Document field.
To upload the JSON stream data to Alibaba OSS, add a new step in Flow Service. Search and select Alibaba OSS connector.
Select UplaodObject operation from Actions list. Select the pre-configured Alibaba OSS account and click on Edit Mapping.
Set value for Key (filename) and BucketName fields and map JSON stream from previous action response to input stream.
Integration is ready, you can load the Store related details to Alibaba OSS as JSON in three simple steps.