How to connect multiple databases based on client, Need best approach in performance wise

I’m trying to build a solution with following architecture , my application layer a multi tenant application on Node platform while I would want to have individual Database connected for each tenant, so that I could achieve data isolation for each client (tenant), With Mongo DB as the database , based on the incoming request from application layer, how I can dynamically connect to the Database of respective client. My application transacts through API calls and also would like to know is this approach feasible and will there be any performance hindrance because of this approach.