This document outlines the steps required to establish the integration between Centra and Triggerbee. By following these instructions, you can seamlessly connect the two platforms to enable efficient data exchange.
The integration process consists of four steps. Please go through them all to set up the integration fully.
Step One: Create an API key in Triggerbee
Go to My Triggerbee> Account and customizations > Developer
Scroll down to the bottom of the page, click on Create API key. Select Webhook and Read/Write as scope:
Copy the key and save it for adding to Centra.
Step Two: Set Up in Centra
Go to System > API Tokens and create an API token (you need permission to read orders). Save the API token, as it won't be visible later, and you will need it in the Triggerbee Setup.
Collect the Endpoint URL from the same page (This is your API URL that you will add in Triggerbee later).
Create a Checkout API Plugin by navigating to Stores Management > {Your store} to create a Checkout API plugin.
Save the Absolute API Endpoint which you will need in the Triggerbee setup.
Then, Create a Centra Webhook Plugin with the setting "Order > Yes" and these settings:
Webhook URL: https://api-gw.triggerbee.com/webhooks/{YOUR_SITEID}/orders/Centra
You can find your Triggerbee Site ID under Account settings. Each account in Triggerbee has its unique Site ID.
Endpoint secret: Enter the API key that you created in Triggerbee.
Now that you're done in Centra, move on to your Triggerbee Account.
Step Three: Activate the integration in Triggerbee
Go to My Triggerbee > Apps and integrations
Click on Browse Apps > Select Centra
Enter API URL and API Token from Centra.
The Checkout API URL is optional but required for member registration.
Step Four: Identifying Customers Post-Purchase
On the "Thank you" page, you need to identify the customer using an email address. Read more how to do that here.
And you're done!