Explore Developer Center's New Chatbot! MongoDB AI Chatbot can be accessed at the top of your navigation to answer all your MongoDB questions.

MongoDB Developer
Node.js
plus
Sign in to follow topics
MongoDB Developer Centerchevron-right
Developer Topicschevron-right
Technologieschevron-right

Videos


All Node.js Videos
All Videos
search
  • Latest
  • Highest Rated
Video

Build a JavaScript AI Agent With LangGraph.js and MongoDB

✅ Written tutorial → https://mdb.link/article-qXDrWKVSx1w ✅ Create your free Atlas cluster → https://mdb.link/free-qXDrWKVSx1w ✅ Get help on our Community Forums → https://mdb.link/forums-qXDrWKVSx1w As a web developer, the idea of integrating AI into your applications might seem overwhelming. But don't worry—I've been there! In this tutorial, I'll walk you through building an AI agent using LangGraph.js and MongoDB, making it way simpler than it sounds. We'll cover the following: ⭐ Understanding what AI agents are and how they work. ⭐ Using LangGraph.js to create agents that can remember past conversations and use "tools" to gather more information. ⭐ Integrating MongoDB for storing conversation history and data retrieval, specifically leveraging MongoDB Atlas Vector Search for context-aware responses. By the end of this video, you'll have built an AI agent capable of managing HR-related queries, looking up employee info from a database, and continuing conversations across multiple sessions. It's like creating your own J.A.R.V.I.S., but for practical, real-world applications! What You'll Learn: ⭐ How to set up LangGraph.js for AI workflows. ⭐ How to integrate MongoDB Atlas to store and retrieve data. ⭐ How to build an AI agent that can manage conversations, look up data, and persist state across sessions. Prerequisites: ✔︎ Node.js and npm ✔︎ Free MongoDB Atlas account ✔︎ OpenAI and Anthropic API keys Clone the project repo and follow along as we create this powerful AI tool. Let’s get started! 🔗 Project Repo: https://github.com/mongodb-developer/LangGraph.js-MongoDB-Example ⏱️ Timestamps ⏱️ 00:00 - Intro 02:50 - Setting up the project 04:29 - Configure MongoDB 05:36 - Seeding the database 12:45 - MongoDB Atlas Vector Search Index 13:50 - Building the AI agent with LangGraph.js 22:47 - Creating the Express.js server 25:44 - Testing the AI agent Subscribe to MongoDB YouTube→ https://mdb.link/subscribe
MongoDB thumbnail image
Play Button
TypeScriptJavaScriptNode.js

Sep 06, 2024
Video

Atlas Data Federation with Azure Blob Storage

With MongoDB's Data Federation, you can combine all your data into one unified view, allowing you to easily search for the best French diner in your borough. This tutorial will walk you through the steps of combining your MongoDB database with your Azure Blob storage, utilizing MongoDB's Data Federation. - Are you ready to start building with Atlas on Azure? Get started for free today with MongoDB Atlas on Azure Marketplace: https://azuremarketplace.microsoft.com/en-us/marketplace/apps/mongodb.mongodb_atlas_self_serve_prod_2022?ocid=mdb_devrel_datafed_blobstorage_fy25 Check out the written tutorial: https://mdb.link/khzxtWfiwMY-tutorial MongoDB Atlas: https://mdb.link/khzxtWfiwMY-register Get Microsoft Azure: https://trymongodb.com/46MPRxL Download Node: https://nodejs.org/en/download Resources: Supported Aggregation Pipeline Stages and Operators: https://mdb.link/khzxtWfiwMY-resource
MongoDB thumbnail image
Play Button

Mar 19, 2024
Video

The MongoDB AI Chatbot Framework: From Skunkworks to Production

✅ Atlas Vector Search - https://mdb.link/RauBggA72Dw-atlas ✅ Blog Post - https://mdb.link/RauBggA72Dw-article - Join us in this fascinating episode as we sit down with Ben, a Senior Education Engineer at MongoDB, to unravel the captivating journey of developing an AI chatbot from the ground up. Beginning as a spark of innovation in an internal hackathon, this project has blossomed into a sophisticated chatbot leveraging the Chat GPT API, launched in September last year. Discover the intricacies behind MongoDB's foray into AI, the birth of the MongoDB Chatbot framework, and how it's paving the way for developers to craft their own AI-powered solutions. Ben and Michael also dive deep into the enhancements of MongoDB's documentation and the creation of a user-friendly interface that aims to elevate the developer experience. Tune in to gain insights into MongoDB's relentless pursuit of innovation and how it's shaping the future of developer tools and AI interactions.
MongoDB thumbnail image
Play Button

Mar 14, 2024
Video

The ULTIMATE MERN Stack Complete Guide (MongoDB, Express, React, Node.js)

✅ Sign-up for a free cluster at → https://mdb.link/free-4nKWREmCvsE" target="_blank" rel="noreferrer">https://mdb.link/free-4nKWREmCvsE ✅ Get help on our Community Forums → https://mdb.link/community-4nKWREmCvsE" target="_blank" rel="noreferrer">https://mdb.link/community-4nKWREmCvsE Dive deep into the world of MERN Stack development with our comprehensive tutorial. Learn how to build a full-stack application using MongoDB, Express, React.js, and Node.js. This guide is perfect for beginners and intermediate developers looking to sharpen their skills in modern web development. 🔗 Article for More Details: https://mdb.link/mern-4nKWREmCvsE 🧠 What You'll Learn 🧠 ✨ The basics of MERN Stack and its components. ✨ How to set up your project and connect to MongoDB Atlas. ✨ Building a React application and integrating it with your backend. ✨ Implementing React Router for seamless navigation. ✨ Best practices for connecting your frontend to your backend. 🛠️ Prerequisites 🛠️ ✅ Basic understanding of Node.js and React.js. ✅ MongoDB Atlas account (Sign up for free if you don't have one). 🚀 Get Started for Free with MongoDB Atlas: https://mdb.link/free-4nKWREmCvsE" target="_blank" rel="noreferrer">https://mdb.link/free-4nKWREmCvsE ⏱️ Timestamps ⏱️ 00:00 - Intro 00:15 - What is MERN? 01:05 - Setting up the project 03:25 - Connecting to MongoDB Atlas 06:06 - Server API Endpoints 10:56 - Run the server 11:33 - Setup up the front end with Vite 12:08 - Set up Tailwind CSS 13:22 - Set up react-router-dom 15:17 - Components: Navbar 15:59 - Component: Record List 18:43 - Component: Record 23:02 - Putting it all together: App.jsx 24:06 - Run the front end and test 📚 Download the Full Code 📚 Get the entire codebase from our GitHub repository to follow along and experiment with the MERN stack: https://github.com/mongodb-developer/mern-stack-example ⁉️ Questions? Join our community forum and ask away. We love to help: https://mdb.link/community-4nKWREmCvsE" target="_blank" rel="noreferrer">https://mdb.link/community-4nKWREmCvsE 💬 Connect with Jesse: Twitter: https://twitter.com/codestackr --- Subscribe to MongoDB YouTube→ https://mdb.link/subscribe
MongoDB thumbnail image
Play Button

Feb 13, 2024
Video

How to use Azure Functions with the MongoDB Node.js Drivers

✅ Sign-up for a free cluster at: https://mdb.link/free-DpGq9iu3Q8E ✅ Get help on our Community Forums: https://mdb.link/community-DpGq9iu3Q8E Learn how to setup and deploy serverless functions with Azure Functions that interact with MongoDB in this video tutorial featuring Nic Raboy. You'll see how to configure Microsoft Azure, build and test a local functions project, deploy to the cloud, and interact with MongoDB. Resources: https://trymongodb.com/3FxsGdk Connect with Nic on Twitter: https://twitter.com/nraboy ⏱️ Timestamps ⏱️ 00:00 - Intro 00:28 - The Prerequisites 02:05 - Create New Azure Project 06:20 - Create New Azure Function 19:03 - Run and Test an Azure Function Locally 20:07 - Link the Remote and Local Azure Projects 22:24 - Creating Environment Variables in Azure 24:45 - Push the Local Function to the Cloud 26:51 - A Review of the Azure Functions with MongoDB Development Process — Subscribe to MongoDB ➡️ https://bit.ly/3bpg1Z1 #mongodb #azure #nodejs #database
MongoDB thumbnail image
Play Button

Dec 15, 2022
Video

How to Integrate Vercel & MongoDB Step-by-Step

✅ Create a new Vercel project: https://bit.ly/vercel-mdb" target="_blank" rel="noreferrer">https://bit.ly/vercel-mdb ✅ Sign-up for a free cluster at: https://mdb.link/free-JIlYroSsInU" target="_blank" rel="noreferrer">https://mdb.link/free-JIlYroSsInU ✅ Get help on our Community Forums: https://mdb.link/community-JIlYroSsInU Getting a MongoDB Atlas database created and linked to your Vercel project has never been easier. In this video, we’ll get everything set up—including a starter Next.js application—in just minutes and show you how to properly connect to your database using a serverless function. 📚 For readers, here are written versions: - https://mdb.link/vercel-integration - https://mdb.link/vercel-serverless 📚 RESOURCES 📚 Vercel: https://bit.ly/vercel-mdb" target="_blank" rel="noreferrer">https://bit.ly/vercel-mdb Atlas: https://mdb.link/free-JIlYroSsInU" target="_blank" rel="noreferrer">https://mdb.link/free-JIlYroSsInU Node.js: https://bit.ly/node-mdb Atlas CLI: https://mdb.link/atlas-cli-JIlYroSsInU Connect with Jesse: Twitter: https://twitter.com/codeSTACKr ⏱️ Timestamps ⏱️ 0:00 Intro 0:16 Prerequisites 0:27 What is Vercel? 0:52 Create a starter project 1:56 Create a Vercel project and integrate MongoDB 4:27 Sync Vercel settings to local environment 6:30 Working with Vercel serverless functions 7:28 Configuring a database cluster in MongoDB Atlas 8:28 Connect to MongoDB and cache connections for a performance optimized experience 13:35 Querying MongoDB from a Vercel function in the Next.js application 15:23 Manage connection using JavaScript modules 17:15 Adding our data to the frontend --- ✅ Subscribe to our channel → https://mdb.link/subscribe #mongodb #serverless #nextjs
MongoDB thumbnail image
Play Button

Aug 02, 2022
Video

MongoDB & Node.js: Change Streams & Triggers (Part 4 of 4)

✅ Sign-up for a free cluster at: https://mdb.link/free-9LA7_CSyZb8 ✅ Get help on our Community Forums: https://mdb.link/community-9LA7_CSyZb8 When you need to react immediately to changes in your MongoDB database, change streams and triggers can help you make that happen. In part four of this quick start tutorial for beginners, Lauren Schaefer explains three ways to monitor change streams in a Node.js script: using EventEmitter's on(), using ChangeStream's hasNext(), and using Node's Stream API. She also explains how to create triggers in MongoDB Atlas. Chapters: 00:00 Intro 00:57 Change Streams 03:52 Monitoring Change Streams Using EventEmitter's on() 12:21 Monitoring Change Streams Using ChangStream's hasNext() 16:37 Monitoring Change Streams Using the Stream API 19:57 Resuming Change Streams 21:43 Triggers 27:16 Wrapping Up Links Lauren mentions in the video: Lauren's blog post: Change Streams & Triggers with Node.js Tutorial https://mongodb.prakticum-team.ru/developer.mongodb.com/quickstart/nodejs-change-streams-triggers Lauren's GitHub repo with the code from this video https://github.com/mongodb-developer/nodejs-quickstart/blob/master/changeStreams.js Node.js & MongoDB Starter Template File https://github.com/mongodb-developer/nodejs-quickstart/blob/master/template.js Other videos in this tutorial series: Part 1: https://youtu.be/fbYExfeFsI0 Part 2: https://youtu.be/iz37fDe1XoM Part 3: https://youtu.be/bdS03tgD2QQ Connect with Lauren: Twitter: https://twitter.com/lauren_schaefer​ TikTok: https://tiktok.com/@lauren_schaefer​ Linkedin: https://www.linkedin.com/in/laurenjan...​ MongoDB Community: https://mongodb.prakticum-team.ru/developer.mongodb.com/community/forums/t/hey-friends-im-lauren/168/ Subscribe to MongoDB ►►► https://bit.ly/3bpg1Z1 Connect with MongoDB: Website: https://bit.ly/2LjtNBZ Twitter: https://bit.ly/3fH87gR Facebook: https://bit.ly/3fEaIsd Linkedin: https://bit.ly/2SY9w90 Instagram: https://bit.ly/3bn9bDv Community Forums: https://bit.ly/2I8VCi5 TikTok: https://bit.ly/3fHoqdJ
MongoDB thumbnail image
Play Button

May 21, 2021
Video

MongoDB & Node.js: Aggregation & Data Analysis (Part 2 of 4)

✅ Sign-up for a free cluster at: https://mdb.link/free-iz37fDe1XoM ✅ Get help on our Community Forums: https://mdb.link/community-iz37fDe1XoM When you want to analyze data stored in MongoDB, you can use MongoDB's powerful aggregation framework to do so. In part two of this quick start tutorial for beginners, Lauren Schaefer provides a high-level overview of the aggregation framework and demonstrates how to use it in a Node.js script. She explains how to use aggregate() to analyze data. Chapters: 00:00 Intro 00:45 What is the aggregation framework? 02:45 Create an aggregation pipeline in Atlas 06:45 Executing an aggregation pipeline in Node.js 11:07 Wrapping up Other videos in this tutorial series: Part 1: https://youtu.be/fbYExfeFsI0 Links Lauren mentions in the video: Lauren's blog post: Aggregation Framework with Node.js Tutorial https://mongodb.prakticum-team.ru/developer.mongodb.com/quickstart/node-aggregation-framework Lauren's GitHub repo with the code from this video https://github.com/mongodb-developer/nodejs-quickstart/blob/master/aggregation.js Node.js & MongoDB Starter Template File https://github.com/mongodb-developer/nodejs-quickstart/blob/master/template.js Free MongoDB University Course: M121 The MongoDB Aggregation Framework https://mongodb.prakticum-team.ru/university.mongodb.com/courses/M121/about Connect with Lauren: Twitter: https://twitter.com/lauren_schaefer​ TikTok: https://tiktok.com/@lauren_schaefer​ LinkedIn: https://www.linkedin.com/in/laurenjan...​ MongoDB Community: https://mongodb.prakticum-team.ru/developer.mongodb.com/community/forums/t/hey-friends-im-lauren/168/ Subscribe to MongoDB ►►► https://bit.ly/3bpg1Z1 Connect with MongoDB: Website: https://bit.ly/2LjtNBZ Twitter: https://bit.ly/3fH87gR Facebook: https://bit.ly/3fEaIsd Linkedin: https://bit.ly/2SY9w90 Instagram: https://bit.ly/3bn9bDv Community Forums: https://bit.ly/2I8VCi5 TikTok: https://bit.ly/3fHoqdJ
MongoDB thumbnail image
Play Button

May 07, 2021
Video

MongoDB & Node.js: Connecting & CRUD Operations (Part 1 of 4)

✅ Sign-up for a free cluster at: https://mdb.link/free-fbYExfeFsI0 ✅ Get help on our Community Forums: https://mdb.link/community-fbYExfeFsI0 If you're a Node.js developer who wants to learn MongoDB, start here! In this quick start tutorial for beginners, Developer Advocate Lauren Schaefer walks through the basics of how to connect to a MongoDB Atlas database using a Node.js script. Then she explains how data is stored in MongoDB using documents and collections. Finally, she explains how to execute each of the CRUD (create, read, update, and delete) operations. She explains how to use insertOne(), insertMany(), findOne(), find(), updateOne() with and without upsert, updateMany(), deleteOne(), and deleteMany(). Links Lauren mentions in the video: ⭐ Connect to a MongoDB Database Using Node.js: https://mdb.link/connect-nodejs ⭐ MongoDB and Node.js Tutorial - CRUD Operations: https://mdb.link/nodejs-crud ⭐ GitHub repo with the code from this video: https://mdb.link/nodejs-quickstart Other videos in this tutorial series: Part 2: https://youtu.be/iz37fDe1XoM Part 3: https://youtu.be/bdS03tgD2QQ Part 4: https://youtu.be/9LA7_CSyZb8 Chapters: 00:00 Intro 01:00 How to Connect 08:22 How MongoDB Stores Data 11:47 How to Create Documents 17:16 How to Read Documents 24:46 How to Update Documents 35:58 How to Delete Documents 41:10 Wrapping Up Connect with Lauren: Twitter: https://twitter.com/lauren_schaefer TikTok: https://tiktok.com/@lauren_schaefer LinkedIn: https://www.linkedin.com/in/laurenjanece/ MongoDB Community: https://mongodb.prakticum-team.ru/developer.mongodb.com/community/forums/t/hey-friends-im-lauren/168 ------ ✅ Subscribe to our channel: https://mdb.link/subscribe
MongoDB thumbnail image
Play Button

Apr 29, 2021