MongoDB database integration for Jovo v3 framework. Enables storing user-specific data for Alexa Skills and Google Actions in a MongoDB NoSQL database. Current version 3.6.2 (Jovo v3 ecosystem). Provides configuration for database name, collection, URI, and MongoClient options. Includes troubleshooting tips for AWS Lambda timeout (context.callbackWaitsForEmptyEventLoop) and MongoDB Atlas IP whitelisting. Alternative to built-in file-based or DynamoDB integrations. Ships TypeScript types. No peer dependencies required beyond Jovo core.
npm install jovo-db-mongodbNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic setup: importing MongoDb class, adding it to the app, and configuring database name, collection, and URI.
Set context.callbackWaitsForEmptyEventLoop = false in the Lambda handler.
Add the deployment's IP address to the Atlas Network Access whitelist.
Migrate to Jovo v4 and use its built-in database integrations or a different MongoDB adapter.
Ensure the config key is exactly 'MongoDb' with capital M and D.
Use named import { MongoDb } instead of default import.Run 'npm install jovo-db-mongodb' and verify node_modules.
Use { MongoDb } named import: import { MongoDb } from 'jovo-db-mongodb';Check MongoDB URI, network connectivity, and firewall/whitelist settings.
Increase timeout in libraryConfig or verify server is running and reachable.
This setting only applies to AWS Lambda handler; do not use it in other environments.