Integrate the mongoDB