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:

  1. Goto Firebase.com
  2. Click on Go to console button

  3. Create new project if you does not have already otherwise click on that project
  4. Provide Project Name, select your Country/region and click on Create Project
  5. Select Add Firebase to your Web App
  6. From there copy API Key, Auth Domain, Database URL and Storage Bucket(without double quotes) and paste it in your https://tessarl.myapparea.com's Messenger page
    Note: If Storage Bucket key doesn’t shows then close this dialog box and repeat Step 5 and 6
  7. Click on Database from left menu and click on Get Started
  8. Switch to Rules tab
  9. Replace code with the following code (same as shown in below image, if its not same already) and click on Publish button Code:

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

  10. Click on Storage from left menu then click on Get Started
  11. Click on Got It
  12. Switch to Rules tab
  13. Add "|| request.auth == null" at the last in to the code(same as into below image), then click on Publish button

Cet article a-t-il été utile