title: How to connect multiple apps to firestore database
body: <p>I want to add multiple apps to one firestore database but couldn't find any working solution to it for me . </p>
  
  <p>The one way is to add all apps to firebase project but its very difficult for me as the apps are already on other projects .</p>
  
  <p>In realtime database you can do like this:-</p>
  
  <pre><code>val secondary = FirebaseDatabase
      .getInstance("https://testapp-1234.firebaseio.com").reference
  </code></pre>
  
  <p>from the docs:- <a href="https://firebase.google.com/docs/database/usage/sharding" rel="nofollow noreferrer">https://firebase.google.com/docs/database/usage/sharding</a></p>
  
  <p>But its not there in firestore . If anyone know please help .</p>