Plugins
Templates
Template Setup Guides

Firebase Service Account Plugin

Link to plugin page: https://zeroqode.com/plugin/firebase-service-account-1537511165412x289187602982240260

Introduction

Imagine if your app had its own Firebase. You could use Firebase without a user being signed in with their account!

NOTE: This is the JSON WEB Token authentication version, users will access the Service Account Firebase.

For the information on how to obtain Service Account Keys for this plugin, please read here: https://docs.zeroqode.com/plugins/google-sheets-and-charts-service-plugin/obtaining-service-account-keys

For using the plugin you'll need to get the API credentials with JWT for Google . Create your development account at : https://console.developers.google.com and enable the Firebase API , Admin SDK API

Setting up Google Account and Bubble Plugin

a) Iss (account email): [your-account-name]@[google-project-name].iam.gserviceaccount.com

b) Private Key:

-----BEGIN PRIVATE KEY----- HERE YOUR PRIVATE API KEY -----END PRIVATE KEY-----

c) Realtime Database Auth Secret : yourkey4EJ23xxyckdLzMIVSgFlW9lVRcYIqyb214d

2) Install the plugin Firebase Service Account and fill out the plugin settings with the information above.

3) Next you can use all the API Calls and Actions that the plugin provides.

For calls you’ll need next keys:

  1. Auth - This secret is found in your Firebase console under service accounts then database secrets.

2. Project ID - It’s the identifier of your Firebase project.

3. Database - name of your Realtime database

Plugin Data Calls / Actions

Signup a User Sign a User In Sign in anonymously Update User Profile / Get Password Hash Get User Data Set User Email/Password Delete User

Realtime Database Public Update Realtime Database PUBLIC READ Realtime Database PUBLIC DELETE Realtime Database PUBLIC Add

Realtime Database AUTH READ Realtime Database AUTH WRITE Realtime Database AUTH DELETE Realtime Database AUTH UPDATE

Demo to preview the settings