How can I get API Key, Auth Domain and Database URL from my Firebase account?

For obtaining API Key, Auth Domain and Database URL  follow below mention steps:

Step 1 : Go to Firebase.com

Step 2 : If you have a Firebase account, Sign in, else create an account

Step 3 : Click on Get Started 

Step 4 : Click on Create a Project

Step 5 : Enter Project name

Step 6 : Click on Continue

Step 7 : Select "Set up Google Analytics for my project" and click on Continue

Step 8 : Open Configure Google Analytics dropdown menu

Step 9 : Choose your Google Analytics account or create a new account, and click on Create Project

Step 10 : Click on Continue

Step 11 : Click on Add Firebase to your web app 

Step 12 : Enter App nickname

Step 13 : Click on Register app

 

Step 14 : Here is your apiKey, authDomain and databaseURL. Copy appropriate keys and paste them in My Apps >> Editor >> Messenger>> Enter apiKey, authDomain and databaseURL section and click on Continue to Console

 Step 15 : Click on Database

Step 16 : In Real time Database , Click on Create database .

Step 17 : Click on Enable 

Step 18 : Click on Rules 

Step 19 : Delete the entire code 

Step 20 : Now enter the following code, and click on Publish

{
  "rules": {
    ".read": "true",
    ".write": "true"
  }
}


Step 21 : Click on Storage from left menu.Step 22 : click on Get StartedStep 23 : Click on Got ItStep 24 : Switch to Rules tabStep 25 : Add "|| request.auth == null" at the last in to the codeStep 26 : The code(same as into below image), then click on Publish button

Share this :

Was this article helpful?

Reviews on this page are powered by Trustpilot where Appy Pie is Rated as 9.7 out of 10 with 1880+ Excellent reviews. You can post your own review for Appy Pie on Trustpilot by clicking on Write a review.