Skip to main content

Installation & Setup

This guide walks you through installing the SDLC Magento 2 Connector module in Odoo and connecting it to your Magento 2 store.

Prerequisites

Before you begin, ensure you have the following:

RequirementDetails
Odoo InstanceA running Odoo 17, 18, or 19 instance (Community or Enterprise)
Magento 2 StoreA Magento 2.3+ store with REST API enabled
Admin AccessAdministrator privileges on both Odoo and Magento
API TokenA Magento Integration Access Token (see below)
Network AccessOdoo server must be able to reach Magento's API endpoint

Step 1: Install the Module

  1. Download the SDLC Magento 2 Connector module from the Odoo App Store or your SDLC Corp delivery package.
  2. Place the module folder (sdlc_magento_connector) in your Odoo addons directory.
  3. Restart the Odoo server.
  4. Navigate to Apps in Odoo, click Update Apps List.
  5. Search for Magento and click Install.
tip

If you are using Odoo.sh, upload the module to your custom addons repository and trigger a rebuild.

Step 2: Generate a Magento API Access Token

The connector communicates with Magento via the REST API. You need an Integration Access Token:

  1. Log in to your Magento Admin Panel.
  2. Navigate to System > Extensions > Integrations.
  3. Click Add New Integration.
  4. Fill in the integration details:
    • Name: Odoo Connector
    • Email: Your admin email
    • Password: Your Magento admin password
  5. Go to the API tab and select the required resource access:
    • Resource Access: Set to All (or selectively grant Products, Customers, Orders, Sales, Catalog, and Inventory)
  6. Click Save and then Activate.
  7. Confirm activation to receive the Access Token.
Important

Copy and securely store the Access Token immediately. Magento only displays it once. If lost, you must create a new integration.

Step 3: Configure the Magento Instance in Odoo

  1. Open Odoo and navigate to Magento > Instances.
  2. Click New to create a new instance.
  3. Fill in the connection details:
FieldDescription
NameA descriptive name for this connection (e.g., My Magento Store)
Base URLYour Magento store URL (e.g., https://magento.example.com)
Access TokenThe integration token generated in Step 2
Magento User PasswordYour Magento admin password
Verify SSLEnable for production environments with valid SSL certificates
ActiveCheck to enable this instance
  1. Click Test Connection to verify the connection.

Instance configuration form

Step 4: Initial Sync

Once your connection is verified, perform the initial data sync:

  1. Click Sync Products to pull your Magento product catalog into Odoo.
  2. Click Sync Categories to import your category hierarchy.
  3. Click Sync Customers to import customer records.
  4. Click Sync Orders to pull existing orders.
info

The initial sync may take several minutes depending on the size of your Magento catalog. You can monitor progress in Reports > Sync Reports.

Next Steps