title: Use a Firestore Database in Dialogflow project
body: <p>I want to integrate my Firestore using data I got in my Dialogflow project.</p>
  
  <p>I was searching in the net and I found just some random things.
  I wrote some console.log inside, because I want to understand how does it work, but nothing seems happening, and I don't even know where I can find my logs.</p>
  
  <p>Here it is my index.js Dialogflow code:</p>
  
  <pre><code>'use strict';
  
  // Import the Dialogflow module from the Actions on Google client library.
  //const {dialogflow} = require('actions-on-google');
  const {dialogflow,Permission,SimpleResponse,Image,Carousel,BrowseCarousel,BasicCard,Button,BrowseCarouselItem,Suggestions,List,MediaObject} = require('actions-on-google');
  // Import the firebase-functions package for deployment.
  const functions = require('firebase-functions');
  const admin = require('firebase-admin');
  
  // Instantiate the Dialogflow client.
  const app = dialogflow({debug: true});
  
  admin.initializeApp(functions.config().firebase);
  
  exports.dialogflowFirebaseFulfillment = functions.https.onRequest((request, response) =&gt; {
      console.log('Request headers: ');
  });
  </code></pre>
  
  <p>Is there something I am missing?
  Sorry, but it's my first time using Dialogflow.</p>