All Collections
Product Updates
How to Generate Parameters Needed to Connect Database (Logbook)
How to Generate Parameters Needed to Connect Database (Logbook)

Use Firebase to generate your Logbook database parameters.

Tim Tietz avatar
Written by Tim Tietz
Updated over a week ago

Follow the step-by-step guide below to connect your Firebase database in Logbook.

How to Generate Parameters Support Video:

Step #1 — Go to Firebase and Create a New Project

The first thing you need to do is visit and log in.

If you don't already have an account, you need to create one. Then click on the “Get Started” button to continue.

Next, you need to add a new project.

Click on the “Create a project” button to continue. You’ll be prompted to name your project, which we’re calling “demo-purpose” for this tutorial.

Click “Continue” to proceed.

Note: On the next screen, you’ll have the option to enable Google Analytics for the project. This is enabled by default, but it’s not a requirement. For the purposes of this tutorial, we will not have GA enabled.

Then click “Create Project” to officially launch your new project.

Step #2 — Create a Web Application in Firebase

Firebase gives you the ability to create an application for iOS, Android, or the web. In this case, we’re going to select the web application option.

Click on the “</>” icon to select a web app.

Next, you’ll be prompted to name your web application. For this tutorial, we’re calling it “demo-purposes-web.”

Then click “Register app.”

At this point, you’ll be able to see the parameters you need. This is shown in the “web app’s Firebase configuration” section of the page. We’ll come back to this later.

Click “Continue to Console” at the bottom of the screen.

Step #3 — Create a Cloud Firestore Database

Click “Build” on the left side of your Firebase dashboard, and select “Firestore Database” from the drop-down menu.

Then click “Create Database” on the next screen.

If you have your Firebase rules ready, you can start in production mode. But in this tutorial, we’re going to use Test mode.

Next, you’ll be asked to choose your preferred location for where your Firestore data will be stored.

Note: You cannot change your location after this step.

Once you’ve selected the location, click “Enable” to continue.

This will create your database.

Step #4 — Authenticate Your Database

Now that your Firestore database has been created, it’s time to authenticate it.

Navigate back to the “Build” menu on the left side of your screen and select “Authentication” from the expanded list.

Click “Get Started” on the next page.

Once you click that button, you’re all set for the authentication step.

Step #5 — Change Your Database Settings From Your Admin Dashboard

Navigate back to your app admin dashboard and go to the “Settings” menu of your “Logbook” feature.

Enable “Change Where Data Gets Saved” and select “My Own Database.”

Step #6 — Copy and Paste the Parameters from Firebase to Your Logbook Settings

Click the settings icon next to “Project Overview” on the top left portion of your Firebase dashboard. Then select “Project Settings” from the pop-up.

Scroll until you see the SDK Setup and Configuration portion of the page.

From here, you can simply copy and paste the parameters that match with the form fields in your Logbook settings.

On the right side of the screen, you can see all of the parameters from Firebase match the form fields within the Logbook feature on the left.

The Measurement ID field is only for Google Analytics. If you did not enable Google Analytics in Firebase in Step #1, then this won’t be generated.

Note: The Firestore Integration Token MUST be created and configured by BuildFire for this to work for you.

Did this answer your question?