title: Can't make connection to Dialogflow API (V2) using ReactJS
body: <p>I'm trying to make a connection to Dialogflow API. I downloaded the JSON file with all the credentials and placed the file in my project src folder.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>import React from 'react';
  import './App.css';
  import jsonInfo from './google.json';
  const dialogflow = require('dialogflow');
  
  
  function App() {
  
    const sessionClient = new dialogflow.SessionsClient({
      keyFilename: jsonInfo
    });
  
  
    return (
      &lt;div className="App"&gt;
        &lt;h1&gt;Hello World!&lt;/h1&gt;
      &lt;/div&gt;
    );
  }
  
  export default App;
  </code></pre>
  
  <p>The error it gives:</p>
  
  <blockquote>
    <p>You need to pass auth instance to use gRPC-fallback client in browser. Use OAuth2Client from google-auth-library.</p>
  </blockquote>
  
  <p>Can someone help me with this. Thank you.</p>