Categories
Blog

How to add Google Calendar integration in your Bubble app

Looking to add Google Calendar integration in your Bubble.io app? Here is a detailed step by guide on how you can activate oauth for Google Calendar and make the relevant API call using the Bubble API Connector.

Integration page sample:

Enable OAuth

As the first step to adding Google Calendar, you need to get your users to connect their Google Calendar account to your app. This is the OAuth process through which your users will give your app authorization to access their Google Calendar account and access their data.

The OAuth process is the most secure way for you to get access to your users data. The largest part of the build involves a token system that allows for tokens to be shared between your app and the provider (Google Calendar in this case) to check the validity of the access as well as permission levels that were granted by the user. Once the relevant tokens have been validated, you will be able to access the user data and pull this into your app.

Building a token system alone is a large framework to build if you are building this yourself. However, the entire OAuth process is handled by the Pathfix OAuth platform for all your connected users.

Enable OAuth in Google

You will need a Google Console account in order to build out your developer app. Access your Project on GCP.

Note: If you already have a GCP account with an app built out, edit the app and add the Pathfix Redirect URI https://labs.pathfix.com/integrate/command to the app and save the setting. Copy the ClientID and Secret for use in Pathfix (skip to next section)

  • Select your Project and click on the menu options
  • Click on APIs & Services and select OAuth consent screen
  • Select the type of User as External and click on Create
  • The app will be available in test mode and will need to be submitted to Google for review (this can be done later as well)
  • Add the name of your app (this is what your users will see once you app is approved by Google, make sure you add your app name that will be recognized by your users)
  • Fill in the rest of the App domain info
  • Save and continue
  • In the following page, search for scopes of Google Calendar that you wish to access
  • Click on Credentials from the left nav bar, click on Create Credentials and select OAuth client ID
  • Add the name of your OAuth 2.0 client
  • Under Authorized redirect URIs, add the Pathfix URI: https://labs.pathfix.com/integrate/command
  • Once saved, you will receive your Google Client ID and Client Secret
  • Copy this info for use in Pathfix

Enable Google Calendar API

You will need to enable the Google Calendar API in Google Console in order to start using the API. To do this:

  • Click on the hamburger menu on the top left and choose API & Services and select Enable API and Services
  • In the search bar, search for Google Calendar API and select the API
  • If not Enabled, click on Enable to activate the API

Setup in Pathfix

  • Login to your Pathfix account and click on Add Application
  • Add the name of your SaaS and hit Save
  • From the list, select Google Calendar from the list of providers to integrate with
  • Enter the Client ID and Client Secret copied over from Google Console. You can edit the scopes to include scopes you want to access
  • You can change the Display Name and Description from the General tab of this window and hit Save
  • Click on Test Connection and Connect an account to test the setup

Add Integration in Your Bubble App

Now that we have setup the Google Console window and completed the configuration of your OAuth process, lets go ahead and setup your Bubble app.

We have released a Google Calendar plugin thats available for free to install from the Bubble plugin store. The plugin has a few Actions and Data calls pre-configured making it easier for you to add the functionality to your app.

There are 2 plugins you will need to install in order to get the Connect button and have access to the Data/Action calls.

  1. Pathfix OAuth Connector
  2. Google Calendar (OAuth)

Once you install both plugins, you will need your Pathfix Keys from your account to link Pathfix to your Bubble app:

  • In Pathfix, click on Keys on the left nav bar
  • Copy the Public Key and paste it in the Pathfix OAuth Connector plugin
  • Copy the x-partner-key and paste it in the Google Calendar (OAuth) plugin
  • In your Bubble Design page, add the Pathfix Connector element to an Integration page (or any page you would like to have your users click-to-connect their Google Calendar accounts)
  • On the properties window, you can click on ‘All providers configured in my Pathfix app’
  • Or, if you have multiple integrations in the same app in Pathfix and only want to show Google Calendar, enter the internal provider name googlecalendar under the ‘List of providers’
  • Click on Preview
  • You will be able to view the Google Calendar Connect button now available for your users to be able to use
  • Below are some of the pre-configured Actions and Data calls available for you to use
  • You can add workflows or repeating group to List events and calendars of the connected users

Call Additional APIs using the Bubble API Connector

If you are trying to call an API that is not available in the Google Calendar (OAuth) plugin, you can use the Bubble API Connector and configure the API directly.

Here is the best way to do this:

  • We recommend testing out any APIs in Pathfix Test Connection page first before confguring this in your Bubble API Connector
  • Click on Test Connection and make sure you have connected an account by clicking on Connect
  • You can choose to pick one of the sample APIs listed in the dropdown menu on the left
  • Once your call is successful, you can easily replicate this in your Bubble API Connector
  • Below is a sample setup using the Bubble API Connector with further detailed instructions:
  1. Key Value and Development Key Value is the Pathfix private_key
  2. Add the POST URL as https://labs.pathfix.com/oauth/method/googlecalendar/call
  3. Key name should be public_key the value of key can be found at
    – Check Private
    Check Queryst.
  4. Key name should be user_id. Enter your Pathfix account login email ID over here (Note: Ensure that you have tested the connection after configuring your integration in Pathfix)
    – Uncheck Private
    Check Queryst.

You can click on Initialize Call and on successful response, save the API for use in your app.

When using the API, you will be asked to enter the user_id, always add this as the Current User’s Unique Id in order to make sure the data is shown for the user that is currently logged in and connected:

This will complete your Google Calendar integration in your Bubble app.

We have detailed Bubble setup documentation available in our dedicated space for Bubble developers that can be access here: https://docs.pathfix.com/bubble

Do reach out to our team is you have any questions on your setup or need assistance with an integration.

Categories
Blog

How to enable Quickbooks webhooks for your SaaS integrations

Integrations allows data to be shared between systems and enables users to access information from a single source. Integration is key for businesses that are looking to streamline their processes and increase efficiency.

Integrations can be accomplished through APIs or webhooks. APIs allow you to send requests to an external system in order to retrieve data or make changes.

Webhooks, on the other hand, allow you to receive a notification from the provider if something has changed in the user's account. This is the best approach to SaaS integrations if you are looking to keep your software in sync with your users' data almost instantly.

Let’s take a look at how you can enable Quickbooks webhooks in your SaaS for your connected users.

TL;DR: Want to look at the step by step guide and enable Quickbooks webhook in your app rightaway? Find it here.

The Required Elements + Build vs. Buy Argument

In order to enable webhooks in your application, you will need the build and setup the following framework/elements:

  1. OAuth Process: This is the authentication layer that handles the auth between your application and your users account
  2. Webhook Process: Each provider has their own requirement for webhooks and how they expect the request to come through. The webhook process will need to handle the authentication, app credentials and most importantly, a callback URL that listens for incoming events
  3. Data Processing/Injestion: After the provider sends the notification to the callback URL, you need to capture the data sent and process it to either fit your requirement or like in some cases, make an API call to the provider to get additional information.

So, can this be built? Absolutely!

But building a solution like this would take time and resources. More importantly, for every provider you wish to add webhook integrations for, the process would need to be repeated since all providers do not follow the same format. Which means – longer time to go live.

This is where Pathfix’s integration products would help save you time and get your webhook integrations go-live faster.

The OAuth Process

Before proceeding with setting up your webhooks, you need to get your authentication in place. This is done using Pathfix’s OAuth platform.

Once you have created your app in Quickbooks developer, the only step you will need to do is add your ClientID and ClientSecret in Pathfix OAuth to enable your platforms authentication to Quickbooks. This entire oauth setup process is done in less than 2 minutes.

Your SaaS integration page will look like this, allowing your users to click-to-connect their Quickbooks account:

The Quickbooks Setup

The webhooks setup in Quickbooks developer is pretty straightforward.

Once you have setup your Quickbooks developer app and have enabled your OAuth process, you will need to go to the Webhooks section and add the Endpoint URL. This URL is where Quickbooks will send a notification if there is any change or update to the connected Quickbooks account.

An Endpoint URL is generated using the Webhooks module in Pathfix Automation.

The Webhooks Process

Pathfix Automation’s webhook module, along with it’s workflow based API integration module, handles the entire webhooks process as well as data collection and processing.

The webhook setup requires no coding, the entire configuration is done in less than a few minutes:

A workflow created will handle incoming data from the webhook and process it as per your apps needs for each connected user:

Now, every user that clicks-to-connect their Quickbooks account will automatically be subscribed to the webhook. Any new data point triggered by Quickbooks webhook, will now be processed and sent back to you – almost instantly.

Allowing you to call any API, including the API for your app:

Step by Step Guide

Ready to build out your Quickbooks webhook integration in your app? Here is the link to our step-by-step guide on how you can add the OAuth, configure the Quickbooks webhook and enable webhook listening – Get Started

If at any point you need any assistance, reach out to us at support@pathfix.com or ping us on our live chat through your Pathfix dashboard.

Categories
Integrations

Yelp

OAuth Integration With Yelp

thin

Works with:

  • All scopes
  • All endpoints
  • All Methods

Pathfix Resources

Documentation

Integrations > Yelp

Pathfix offers the easiest way for you to add Yelp OAuth integration to your app. Setup your OAuth connection in just a few minutes, we manage the OAuth servers, token management system, and provide pass-through connectivity to all of Yelp’s endpoints.

API and Endpoints

Pathfix supports all publicly available Yelp APIs. You can find all their documentation and endpoints right here: https://www.yelp.com/developers

Adding Yelp OAuth Integration To Your App

  • Login/Create your Pathfix account here
  • Add your application
  • Add the ClientID and ClientSecret received by the provider in Pathfix
  • Specify the scopes you want to access and Save
  • Get your code from Pathfix and insert in your app

Yelp Developer Screenshot

Start Your Build With Pathfix OAuth

thin

Categories
Integrations Accounting Productivity

Workday

OAuth Integration With Workday

thin

Works with:

  • All scopes
  • All endpoints
  • All Methods

Pathfix Resources

Documentation

Integrations > Workday

Pathfix offers the easiest way for you to add Workday OAuth integration to your app. Setup your OAuth connection in just a few minutes, we manage the OAuth servers, token management system, and provide pass-through connectivity to all of Workday’s endpoints.

API and Endpoints

Pathfix supports all publicly available Workday APIs. You can find all their documentation and endpoints right here: https://developer.workday.com/about

Adding Workday OAuth Integration To Your App

  • Login/Create your Pathfix account here
  • Add your application
  • Add the ClientID and ClientSecret received by the provider in Pathfix
  • Specify the scopes you want to access and Save
  • Get your code from Pathfix and insert in your app

Workday Developer Screenshot

Similar Integrations

Start Your Build With Pathfix OAuth

thin

Categories
Integrations CMS/Web Design Commerce

WooCommerce

OAuth Integration With WooCommerce

thin

Works with:

  • All scopes
  • All endpoints
  • All Methods

Pathfix Resources

Documentation

Integrations > WooCommerce

Pathfix offers the easiest way for you to add WooCommerce OAuth integration to your app. Setup your OAuth connection in just a few minutes, we manage the OAuth servers, token management system, and provide pass-through connectivity to all of WooCommerce’s endpoints.

API and Endpoints

Pathfix supports all publicly available WooCommerce APIs. You can find all their documentation and endpoints right here: https://developer.woocommerce.com/

Adding WooCommerce OAuth Integration To Your App

  • Login/Create your Pathfix account here
  • Add your application
  • Add the ClientID and ClientSecret received by the provider in Pathfix
  • Specify the scopes you want to access and Save
  • Get your code from Pathfix and insert in your app

WooCommerce Developer Screenshot

Similar Integrations

Start Your Build With Pathfix OAuth

thin

Categories
Integrations Productivity

Smartsheet

OAuth Integration With Smartsheet

thin

Works with:

  • All scopes
  • All endpoints
  • All Methods

Pathfix Resources

Documentation

Integrations > Smartsheet

Pathfix offers the easiest way for you to add Smartsheet OAuth integration to your app. Setup your OAuth connection in just a few minutes, we manage the OAuth servers, token management system, and provide pass-through connectivity to all of Smartsheet’s endpoints.

API and Endpoints

Pathfix supports all publicly available Smartsheet APIs. You can find all their documentation and endpoints right here: https://developers.smartsheet.com/

Adding Smartsheet OAuth Integration To Your App

  • Login/Create your Pathfix account here
  • Add your application
  • Add the ClientID and ClientSecret received by the provider in Pathfix
  • Specify the scopes you want to access and Save
  • Get your code from Pathfix and insert in your app

Smartsheet Developer Screenshot

Similar Integrations

Start Your Build With Pathfix OAuth

thin

Categories
Integrations Productivity

Servicem8

OAuth Integration With Servicem8

thin

Works with:

  • All scopes
  • All endpoints
  • All Methods

Pathfix Resources

Documentation

Integrations > Servicem8

Pathfix offers the easiest way for you to add Servicem8 OAuth integration to your app. Setup your OAuth connection in just a few minutes, we manage the OAuth servers, token management system, and provide pass-through connectivity to all of Servicem8’s endpoints.

API and Endpoints

Pathfix supports all publicly available Servicem8 APIs. You can find all their documentation and endpoints right here: https://developer.servicem8.com/

Adding Servicem8 OAuth Integration To Your App

  • Login/Create your Pathfix account here
  • Add your application
  • Add the ClientID and ClientSecret received by the provider in Pathfix
  • Specify the scopes you want to access and Save
  • Get your code from Pathfix and insert in your app

Servicem8 Developer Screenshot

Similar Integrations

Start Your Build With Pathfix OAuth

thin

Categories
Integrations Others

Schoology

OAuth Integration With Schoology

thin

Works with:

  • All scopes
  • All endpoints
  • All Methods

Pathfix Resources

Documentation

Integrations > Schoology

Pathfix offers the easiest way for you to add Schoology OAuth integration to your app. Setup your OAuth connection in just a few minutes, we manage the OAuth servers, token management system, and provide pass-through connectivity to all of Schoology’s endpoints.

API and Endpoints

Pathfix supports all publicly available Schoology APIs. You can find all their documentation and endpoints right here: https://developers.schoology.com/

Adding Schoology OAuth Integration To Your App

  • Login/Create your Pathfix account here
  • Add your application
  • Add the ClientID and ClientSecret received by the provider in Pathfix
  • Specify the scopes you want to access and Save
  • Get your code from Pathfix and insert in your app

Schoology Developer Screenshot

Similar Integrations

Start Your Build With Pathfix OAuth

thin

Categories
Integrations Marketing

Salesloft

OAuth Integration With Salesloft

thin

Works with:

  • All scopes
  • All endpoints
  • All Methods

Pathfix Resources

Documentation

Integrations > Salesloft

Pathfix offers the easiest way for you to add Salesloft OAuth integration to your app. Setup your OAuth connection in just a few minutes, we manage the OAuth servers, token management system, and provide pass-through connectivity to all of Salesloft’s endpoints.

API and Endpoints

Pathfix supports all publicly available Salesloft APIs. You can find all their documentation and endpoints right here: https://developers.salesloft.com/

Adding Salesloft OAuth Integration To Your App

  • Login/Create your Pathfix account here
  • Add your application
  • Add the ClientID and ClientSecret received by the provider in Pathfix
  • Specify the scopes you want to access and Save
  • Get your code from Pathfix and insert in your app

Salesloft Developer Screenshot

Similar Integrations

Start Your Build With Pathfix OAuth

thin

Categories
Integrations Marketing

ProductHunt

OAuth Integration With ProductHunt

thin

Works with:

  • All scopes
  • All endpoints
  • All Methods

Pathfix Resources

Documentation

Integrations > ProductHunt

Pathfix offers the easiest way for you to add ProductHunt OAuth integration to your app. Setup your OAuth connection in just a few minutes, we manage the OAuth servers, token management system, and provide pass-through connectivity to all of ProductHunt’s endpoints.

API and Endpoints

Pathfix supports all publicly available ProductHunt APIs. You can find all their documentation and endpoints right here: https://api.producthunt.com/v2/docs

Adding ProductHunt OAuth Integration To Your App

  • Login/Create your Pathfix account here
  • Add your application
  • Add the ClientID and ClientSecret received by the provider in Pathfix
  • Specify the scopes you want to access and Save
  • Get your code from Pathfix and insert in your app

ProductHunt Developer Screenshot

Similar Integrations

Start Your Build With Pathfix OAuth

thin