title: angularfire2: The Cloud Firestore API is not enabled
body: <p>I'm currently learning to implement angularfire2 in my project. Unfortunately I'm currently stuck. I set up my Angular-Project like described here</p>
  
  <p><a href="https://github.com/angular/angularfire2/blob/master/docs/install-and-setup.md" rel="nofollow noreferrer">https://github.com/angular/angularfire2/blob/master/docs/install-and-setup.md</a></p>
  
  <p>I also set up a database in firebase with a the rule set</p>
  
  <pre><code>{
    "rules": {
      ".read": "true",
      ".write": "true"
    }
  }
  </code></pre>
  
  <p>But when I try to run the application in my console in the browser gives me the following error</p>
  
  <blockquote>
    <p>ERROR Error: The Cloud Firestore API is not enabled for the project</p>
  </blockquote>
  
  <p>Now I found a way to enable the API here</p>
  
  <p><a href="https://console.cloud.google.com/apis/library/firestore.googleapis.com/?project=projectname" rel="nofollow noreferrer">https://console.cloud.google.com/apis/library/firestore.googleapis.com/?project=projectname</a></p>
  
  <p>leaving me now with the error</p>
  
  <blockquote>
    <p>ERROR Error: Missing or insufficient permissions</p>
  </blockquote>
  
  <p>My problem now is I can set up API keys (but also also got a different API-key from my firebase console?) and OAuths, but I have no idea how to implement those is my code. Just simply generating an API key and using that one in the environment.firebase config didn't work. Would be great if someone knew anything. I'll keep on trying and let you know if I get it to work as well.</p>