Skip to content

Bubble.io | Plugin ProAbono - How to include the customer portal ?

The Customer Portal is a standalone application consisting of a set of interconnected web pages that you can integrate into your website to provide your users with all the information and actions related to their subscription.

In our use case, we will see how to add this customer portal to our Bubble application.

You have two installation options:

  • Using an Iframe

  • Using a JS widget (This will add a “Subscribe” button to allow logged-in users to subscribe)

  • Have created at least one offer in ProAbono.

  • Have a customer who has already subscribed to an offer.

  • Have correctly installed and configured the ProAbono plugin in Bubble (more info here).

  • Have a user management system, including a sign-up page and a login page.

From the “Design” section in the “Visual elements” sub-menu, you will find in addition to the basic elements those added by the Proabono plugin (prefixed by PA).

Option 1: Add the Customer Portal via an Iframe

Section titled “Option 1: Add the Customer Portal via an Iframe”
  • From the dropdown list at the top left, select the page where you want to integrate the customer portal.
  • Click on the main tab “Design” (left menu)

  • From the sub-menu “Visual elements”, select the element “PA: Customer Portal by Iframe”

  • Drag and drop it onto the selected page.

From the “Workflow” tab in the main menu:

  • Click on “Click here to add an event”.

  • From the context menu that just opened, click on “General” and then on “Page is loaded”.

Once this action is done, a bar for adding steps appears.

1.4 Add the action to retrieve the URL associated with the logged-in user

Section titled “1.4 Add the action to retrieve the URL associated with the logged-in user”
  • Click on the button “Click here to add an action”.

  • Click on the section “Plugin” and then on the action “PA: Get Customer Hosted page”.

  • In the same workflow, click on the button “Click here to add an action”.

  • Click on the section “Element Action” and then on the action “Refresh Customer Portal Iframe”.

  • In the “url” field, enter the information from the previous step: “Result of Step 1 (PA: Get Customer Hosted page) > url”.

Option 2: Add the Customer Portal via the Widget

Section titled “Option 2: Add the Customer Portal via the Widget”
  • From the dropdown list at the top left, select the page where you want to integrate the widget.
  • Click on the element “PA: Customer Portal by Widget”.

  • Drag and drop it onto the selected page.