Added a gateway to a MongoDB resource.