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

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

Step 1 : Go to Firebase.com

Step 2 : If you have a Firebase account, Signin, else Signup

Step 3 : Click on Get Started 

Step 4 : Click on Add Project

Step 5 : Enter specific details, and click on Create Project

Step 6 : Click on Continue

Step 7 : Click on Add Firebase to your web app 

Step 8 : A popup Add Firebase to your web app will appear showing apiKey, authDomain,databaseURL and Storage Bucket. Copy appropriate keys and paste them in My Apps >> Editor >> Messenger>> Enter apiKey, authDomain and databaseURL, Storage Bucket section.

Step 9 : In Develop menu on the left hand side panel, click on Database 

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

Step 11 : Click on Enable 

Step 12 : Click on Rules 

Step 13 : Delete the entire code 

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

{
  "rules": {
    ".read": "auth != null",
    ".write": "auth != null"
  }
}


Step 15 : Click on Storage from left menu.Step 16 : click on Get StartedStep 17 : Click on Got ItStep 18 : Switch to Rules tabStep 19 :Add "|| request.auth == null" at the last in to the codeStep 20 : The code(same as into below image), then click on Publish button

Share this :

Was this article helpful?

Rated 9.8 out of 10 for Best Mobile app builder by 1402+ clients on over 5 Million+ apps