This is a simple storage adapter for storing BotState in MongoDB. To use:
import { MongoDbStorage } from '@botbuildercommunity/storage-mongodb';
const mongoDbStorage = new MongoDbStorage('mongodb://localhost:27017/', 'testDatabase', 'testCollection');
const conversationState = new ConversationState(mongoDbStorage);
const userState = new UserState(mongoDbStorage);
See here for additional context
npm install @botbuildercommunity/storage-mongodb --save