Paragon
Search…
Magento
Connect to your users' Magento accounts

Setup Guide

You'll need the following information to set up your Magento App with Paragon Connect:
  • Magento Store Domain
  • Username
  • Password
This is an API-only integration - workflow actions for this integration are still in development. You can still connect user accounts, build workflows, and access the API for this integration.

Add your Magento app to Paragon

Under Integrations > Connected Integrations > {YOUR_APP} > Settings, fill out your credentials from your store in their respective sections:
  • Magento Store Domain
  • Username
  • Password

Connecting to Magento

Once your users have connected their Magento account, you can use the Paragon SDK to access the Magento API on behalf of connected users.
See the Magento REST API documentation for their full API reference.
Any Magento API endpoints can be accessed with the Paragon SDK as shown in this example.
1
// You can find your project ID in the Overview tab of any Integration
2
3
// Authenticate the user
4
paragon.authenticate(<ProjectId>, <UserToken>);
5
6
// Fetch all products
7
paragon.request("magento", "/V1/products?searchCriteria=", {
8
method: "GET"
9
});
10
11
// Create a customer
12
paragon.request("magento", "/V1/customers", {
13
method: "POST",
14
body: {
15
"customer": {
16
"email": "[email protected]",
17
"firstname": "John",
18
"lastname": "Appleseed",
19
}
20
}
21
});
22
23
// Get order by ID
24
paragon.request("magento", "/V1/orders/{id}", {
25
method: "GET"
26
});
27

Building Magento workflows

Once your Magento account is connected, you use the Magento Request step to access any of Magento's API endpoints without the authentication piece.
When creating or updating records in Magento, you can reference data from previous steps by typing {{ to invoke the variable menu.
Last modified 27d ago
Copy link
On this page
Setup Guide
Add your Magento app to Paragon
Building Magento workflows