mongo db integration sample