MemberPress native and third-party add-ons are out-of-the-box solutions for extending MemberPress capabilities. Alternatively, you can create MemberPress Zero Code integrations or develop custom integrations.
This document explains how Zero Code and custom integrations for MemberPress work and how you can create them.
MemberPress Outils du développeur
To create custom or some of the Zero Code integrations, you must activate the MemberPress Developer Tools add-on sur votre site web.
The Developer Tools add-on allows your MemberPress plugin to communicate with other platforms and plugins. Thus, third-party platforms that require access to your website's MemberPress plugin (e.g., Zapier) will require an activated Developer Tools add-on.
Intégrations sans code
Zero Code integrations allow you to integrate MemberPress with 3rd-party platforms and plugins through automation tools that act as intermediaries. Here, you can choose between the following automation tools:
MemberPress integrations for these automation tools are available to MemberPress Plus and Pro plan members.
En outre, le MailOptin plugin only allows integrations between MemberPress and marketing platforms. This plugin is available to members of MemberPress Basic, Plus and Pro plans.
When choosing an automation tool, make sure that it supports integrations with the third-party plugin or platform you need.
Connecting Automation Tools
Before creating Zero Code integrations, you must go through several processes:
- Connect the MemberPress plugin on your website with the automation tool you choose.
- Connect the automation tool with the 3rd-party plugin or platform you wish to integrate with MemberPress.
To connect an automation tool with MemberPress, you can use the automation tool plugin or the MemberPress Developer Tools add-on. This will depend on your choice of automation tool.
Par exemple, Uncanny Automator has its own WordPress plugin, which you must install on your website. In contrast, to connect Zapier to MemberPress, you will need a REST API key, which is available through Developer Tools.
In addition, you’ll need to open an account for your chosen automation tool to connect it with other plugins and platforms.
When connecting 3rd-party plugins and platforms with automation tools, please consult their support and documentation for information and assistance.
Automation Workflow
Zero Code integrations are automations you can create using pre-defined triggers and actions for each platform and plugin.
A déclencher is an event happening on one side of the integration that initiates and runs an automation workflow.
Un action is an event that runs on the other side of the same integration after the automation workflow starts.
To illustrate, we could create an integration to send a custom email when users register through MemberPress. Here, the déclencher would be a user registering for a MemberPress membership. Les action in this workflow would be for the website to send an email.
Though you don’t need any coding knowledge, you’ll need to build these integrations yourself, following the general guidelines:
- A déclencher must start the automation workflow
- The automation workflow must contain at least one action.
- Vous pouvez ajouter logique conditionnelle to your automation workflow. This means you can combine multiple triggers or add conditions to your triggers. In some cases, you can also add multiple actions.
It’s important to mention that each automation tool has specific features and capabilities. Also, available triggers and actions differ for every plugin and platform on each automation tool. Thus, ensure the automation tool and available integration triggers and actions meet your requirements before creating integrations.
Developing Custom Integrations
Furthermore, you can write your own code and create almost any custom integration with MemberPress.
As with Zero Code integrations, custom integrations use MemberPress Event Triggers to run actions in a third-party plugin or platform. Likewise, MemberPress Actions allows you to trigger actions in MemberPress following events from a third-party plugin or platform.
Once you activate the MemberPress Outils du développeur add-on, you can navigate to Dashboard > MemberPress > Developer. Here, you will find the following options required for developing custom integrations:
- Crochets Web: you can find your automatically generated Webhook Key under this option and configure Webhook URLs. The Webhook Key is unique to your website and required to authenticate webhook POST requests. If needed, you can also generate a new Webhook key here;
- Evénements: Here, you can view and test all MemberPress webhook events. Each event has a description and a sample JSON response.
- API REST: Your API Key is available under this option. You should use this API Key for REST API authentication. In addition, you can view all available API routes. Each API route has a description, definition, list of arguments, and examples of the request and response. If needed, you can also generate a new API key here.