Connection & Authentication

Updated on February 9, 2026

This section covers everything you need to connect your WooCommerce store to your Mautic instance. The plugin supports two authentication methods: Basic Authentication and OAuth2.

Choosing an Authentication Method

Before you begin, you will need to decide which authentication method works best for your setup. Both methods require the Mautic API to be enabled in your Mautic instance.

Basic Authentication

Basic Authentication is the simplest way to connect. You enter your Mautic URL, username, and password directly in the plugin settings. This is ideal for most store owners who want a quick setup. Your password is encrypted at rest using AES-256-CBC encryption, so it is never stored in plain text.

OAuth2

OAuth2 is the more secure option and is recommended for production environments. Instead of sharing your Mautic login credentials with the plugin, you create a set of API credentials in Mautic and authorize the plugin through a redirect flow. Access tokens are automatically refreshed when they expire.

What You Will Need

  • A running Mautic instance with the API enabled
  • Admin access to your Mautic instance
  • Admin access to your WordPress site with WooCommerce active

Where to Find the Settings

Navigate to WooCommerce > Mautic Integration in your WordPress admin. The Connection tab is the first tab and contains all authentication settings, the connection test button, and the debug mode toggle.

In This Section

  • Basic Authentication – How to connect using your Mautic username and password
  • OAuth2 Authentication – How to connect using OAuth2 API credentials
  • Test Connection – How to verify your connection is working
  • Debug Mode – How to enable detailed logging for troubleshooting

In Connection & Authentication

Next