Skip to main content

Instance Configuration

The Instance form is the central hub for managing your Magento 2 connection. It stores all connection credentials, sync preferences, payment settings, and auto-sync configuration.

Accessing Instances

Navigate to Magento > Instances to view all configured Magento store connections. Click on an instance to open the configuration form.

Instance configuration form

Connection Fields

FieldTypeDescription
NameTextA descriptive name for this Magento instance
Base URLURLThe base URL of your Magento store (e.g., https://magento.example.com:8443)
Access TokenTextThe Magento Integration Access Token for API authentication
Magento User PasswordPasswordThe Magento admin user password
Verify SSLCheckboxEnable SSL certificate verification for API calls
ActiveCheckboxEnable or disable this instance connection
warning

Always use HTTPS for production environments. Disabling SSL verification is acceptable only for local development or testing setups.

Test Connection

Click the Test Connection button to verify that Odoo can successfully communicate with your Magento store's REST API. The connector will:

  1. Attempt to authenticate using the provided Access Token
  2. Query the Magento API for store information
  3. Display a success or error message
tip

If the test fails, verify your Base URL includes the correct port (if non-standard) and that your server's firewall allows outbound connections to the Magento host.

Sync Buttons

The instance form provides quick-action buttons for manual synchronization:

ButtonAction
Test ConnectionValidates the API connection to Magento
Sync ProductsPulls all products from Magento into Odoo
Sync CategoriesImports the Magento category tree into Odoo
Sync CustomersImports customer records from Magento
Sync OrdersPulls orders from Magento into Odoo
Sync Attribute SetsImports Magento product attribute sets

Payment Sync Settings

Configure how payment data is handled during order synchronization:

SettingDescription
Auto Register Magento PaymentsAutomatically register payment entries in Odoo when orders are pulled from Magento
Update Magento Status When PaidPush payment status updates back to Magento when an invoice is paid in Odoo

Auto Sync Configuration

Configure automated synchronization schedules directly from the instance form:

FieldDescription
Auto Sync EnabledEnable or disable automatic cron-based synchronization
Auto Sync FrequencySet the frequency interval (e.g., Hourly)
Hourly IntervalDefine the exact interval (e.g., Every 1 hour(s))
Auto Sync ScopeSelect which data types to include in auto-sync (Products, Customers, Categories, Orders)
info

Auto-sync uses Odoo's built-in cron scheduler. See Auto Sync Cron Jobs for detailed configuration.

Multi-Instance Support

You can configure multiple Magento instances to connect different Magento stores or environments (production, staging) to a single Odoo database. Each instance operates independently with its own:

  • Connection credentials
  • Sync schedules
  • Payment settings
  • Field mappings

Next Steps