Magento Connector Configuration

Version 22.0.8473


Magento Connector Configuration


The Magento connector allows you to integrate Magento into your data flow by pushing or pulling data from Magento. Follow the steps below to connect CData Arc to Magento.

Establish a Connection

To allow Arc to use data from Magento, you must first establish a connection to Magento. There are two ways to establish this connection:

  • Add a Magento connector to your flow. Then, in the settings pane, click Create next to the Connection drop-down list.
  • Open the Arc Settings page, then open the Connections tab. Click Add, select Magento, and click Next.

Note:

  • The login process is only required the first time the connection is created.
  • Connections to Magento can be re-used across multiple Magento connectors.

Enter Connection Settings

After opening a new connection dialogue, follow these steps:

  1. Provide the requested information:

    • Name — The static name of the connection. Set this as desired.
    • Type — This is always set to Magento.
    • Auth Scheme — The authorization scheme (basic or token) to use for the connection.
    • URL — The Magento URL to connect to.
    • User — (Basic auth scheme only) The Magento username to use for logging in.
    • Password — (Basic auth scheme only) The password for the user entered above.
    • Access Token — (Token auth scheme only) The access token for establishing the connection.
  2. If needed, click Advanced to open the drop-down menu of advanced connection settings. These should not be needed in most cases.

  3. Click Test Connection to ensure that Arc can connect to Magento with the provided information. If an error occurs, check all fields and try again.

  4. Click Add Connection to finalize the connection.

  5. In the Connection drop-down list of the connector configuration pane, select the newly-created connection.

  6. Click Save Changes.

Select an Action

After establishing a connection to Magento, you must choose the action that the Magento connector will perform. The table below outlines each action and where it belongs in an Arc flow.

Action Description Position in Flow
Upsert Inserts or updates Magento data. By default, if a record already exists in Magento, an update is performed on the existing data in Magento using the values provided from the input. End
Lookup Retrieves a value from Magento and inserts that value into an already-existing Arc message in the flow.
The Lookup Query determines what value the connector will retrieve from Magento. It should be formatted as a SQL query against the Magento tables.
Middle
Select Retrieves data from Magento and brings it into Arc.
You can use the Filter panel to add filters to the Select. These filters function similarly to WHERE clauses in SQL.
Beginning
Execute Stored Procedures Treats data coming into the connector as input for a stored procedure, and then passes the result down the flow.
You can click the Show Sample Data button to provide sample inputs to the selected Stored Procedure and preview the results.
Middle