To the first database you can connect configuring the $ MONGO_URL string. Then, you can use the first database creating collection with MongoObservable.
However, to use the second database, you should connect using a Remote Collection. So, you need to use the ‘MongoInternals’ to create a Remote Collection Driver.
However, the typescript does not have the ‘MongoInternals’ function mapped.
So, the solution is to create in the Server, meteor methods to access via MongoInternals the second database.
Then, as I showed, I create one method (called connectionDB) in server (I’m not using the typescript), and after, I create a Service (In typescript) that makes use of this method passing as argument the url of DB.
Using this solution, you can connect in multiple database, just changing the dbUrl argument of service.