Integrating Firebase into your application enables features like real-time database, authentication, push notifications, analytics, and more. Follow these steps to configure Firebase settings in your admin panel.
-
API Key: Authenticates your app with Firebase services.
-
Auth Domain: Enables authentication for login and registration.
-
Project ID: Links your app to the correct Firebase project.
-
Storage Bucket: Stores files like images or videos.
-
Messaging Sender ID: Supports Firebase Cloud Messaging (FCM) for push notifications.
-
App ID: Identifies your app within Firebase.
-
Measurement ID (if applicable): Tracks analytics for user engagement and performance.
Steps to Configure Firebase
1. Access Firebase Console
-
Visit the Firebase Console.
-
Select an existing project or create a new one.
2. Retrieve Firebase Configuration
-
Go to Project settings by clicking the gear icon next to "Project Overview."
-
In the "Your apps" section, select your web app.
-
Copy the following configuration details:
-
API Key
-
Auth Domain
-
Project ID
-
Storage Bucket
-
Messaging Sender ID
-
App ID
-
Measurement ID (if applicable)
-
3. Add Configuration to Admin Panel
-
Paste the configuration details into the corresponding fields in your admin panel:
-
API Key → apiKey
-
Auth Domain → authDomain
-
Project ID → projectId
-
Storage Bucket → storageBucket
-
Messaging Sender ID → messagingSenderId
-
App ID → appId
-
Measurement ID → measurementId
-
4. Save and Apply
-
Save the configuration to enable Firebase integration.
By completing these steps, your app will connect seamlessly to Firebase, unlocking its full potential for enhanced functionality and performance.