Firebase Integration
Setting up Firebase Authentication in Databutton
Databutton offers Firebase Authentication as an installable extension to your app.
The following guide explains how to configure your firebase project.
Enabling Firebase Extension
To integrate Firebase, click the "Add Firebase" button in the menu bar.

A modal will appear to guide you through the process. Make sure to complete the steps. ( "Setting up Firebase Authentication" section covers each steps in details )

Setting up Firebase Authentication over your Firebase Project
Getting started with the Firebase Console ( You can easily Log in with your Google account )


Firebase configuration Setup - After registering the app, Firebase will display a snippet of code.
const firebaseConfig = {
apiKey: "YOUR_API_KEY",
authDomain: "YOUR_AUTH_DOMAIN",
projectId: "YOUR_PROJECT_ID",
storageBucket: "YOUR_STORAGE_BUCKET",
messagingSenderId: "YOUR_MESSAGING_SENDER_ID",
appId: "YOUR_APP_ID",
measurementId: "YOUR_MEASUREMENT_ID"
};
Copy this config as you'll need it when you install the extension in your app. You can also find it under Project Overview in Firebase later.
Once the project is set up, navigate to the “Authentication” section in the Firebase console side menu.
Configuring Sign-In Methods - In the Authentication panel, go to the “Sign-in method” tab. Configure sign-in providers — Google.
Add authorized domains in Firebase so allow sign-ins from your app.

Watch the video below to learn more.
Last updated
Was this helpful?