Union two identical collection from two different DBs

I’ve asked to combine two collections with identical objects form, the problem is there is a couple of different Dbs that I need to pull the collections from, I didn’t see a clear solution for this so I would be glad if someone has crossed into it, thanks.