EventGet 50% off your ticket to MongoDB.local London on October 2. Use code WEB50Learn more >>
MongoDB Developer
MongoDB Developer Centerchevron-right
Developer Topicschevron-right

JavaScript

plus Follow
Sign in to follow topics
A lightweight, interpreted, object-oriented language. JavaScript engines execute JavaScript code in client-side (in web browsers) or server-side(for example, the V8 engine is a core component of the Node.js and Deno runtimes).

Featured

Tutorial

Leveraging OpenAI and MongoDB Atlas for Improved Search Functionality

This article delves into the integration of search functionality in web apps using OpenAI's GPT-4 model and MongoDB's Atlas Vector search....
MongoDB thumbnail image
Node.jsAIAtlasSearchJavaScript

Aug 05, 2024 | 5 min read
Pavel Duchovny
Tutorial

Adding Real-Time Notifications to Ghost CMS Using MongoDB and Server-Sent Events

MongoDB thumbnail image

Aug 14, 2023 | 7 min read
Video

Vector Search: The Future of Data Querying Explained | Semantic Searching

MongoDB thumbnail image
Play Button

Sep 20, 2023 | 14 min
JavaScript Articles
All JavaScript Articles
Article

Audio Find - Atlas Vector Search for Audio

MongoDB thumbnail image

Aug 01, 2024 | 11 min read
Article

How to Enable Local and Automatic Testing of Atlas Search-Based Features

queryable encryption

Jun 12, 2024 | 8 min read
Article

Entangled: A Story of Data Re-modeling and 10x Storage Reduction

MongoDB thumbnail image

Dec 14, 2023 | 5 min read
All JavaScript Articles
JavaScript Quickstarts
All JavaScript Quickstarts
Quickstart

Getting Started With Bun and MongoDB

MongoDB thumbnail image

Jul 19, 2024 | 9 min read
Quickstart

Single Click to Success: Deploying on Netlify, Vercel, Heroku, and Render with Atlas

MongoDB thumbnail image

Apr 10, 2024 | 6 min read
Quickstart

How to Connect MongoDB Atlas to Vercel Using the New Integration

MongoDB thumbnail image

Aug 05, 2024 | 4 min read
JavaScript Code Examples
All JavaScript Code Examples
Code Example

GroupUs

MongoDB thumbnail image

Jul 07, 2022 | 1 min read
Code Example

Magazine Management

MongoDB thumbnail image

Jul 07, 2022 | 0 min read
Code Example

Trends analyser

MongoDB thumbnail image

Jul 07, 2022 | 1 min read
JavaScript Tutorials
All JavaScript Tutorials
Tutorial

Build a JavaScript AI Agent With LangGraph.js and MongoDB

MongoDB thumbnail image

Sep 06, 2024 | 15 min read
Tutorial

A Beginner's Guide to Integrating MongoDB With TensorFlow Using JavaScript

MongoDB thumbnail image

Sep 04, 2024 | 15 min read
Tutorial

NextAuth.js Authentication With MongoDB

MongoDB thumbnail image

Aug 30, 2024 | 10 min read
JavaScript Videos
All JavaScript Videos
Video

Build a JavaScript AI Agent With LangGraph.js and MongoDB

MongoDB thumbnail image
Play Button

Sep 06, 2024 | 31 min
Video

AI Structured output and MongoDB Atlas services

MongoDB thumbnail image
Play Button

Sep 05, 2024
Video

Setting up a Web Server with Bun #mongodb #tutorial #bun

MongoDB thumbnail image
Play Button

Aug 21, 2024
All JavaScript Content
search
  • Latest
  • Highest Rated
Industry Event
locationTORONTO, ONTARIO, CANADA | IN-PERSON

Rails World

Join us at Rails World!
MongoDB thumbnail image

Sep 26, 2024 - Sep 27, 2024
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

Sep 06, 2024
Tutorial

Build a JavaScript AI Agent With LangGraph.js and MongoDB

Learn how to build a powerful AI agent using LangGraph.js and MongoDB. This step-by-step guide will show you how to create AI-driven applications capable of remembering conversations, accessing databases, and delivering smart responses. Perfect for JavaScript developers looking to integrate AI into their web apps.
MongoDB thumbnail image

Sep 06, 2024
Jesse Hall
Video

AI Structured output and MongoDB Atlas services

✅ Sign-up for a free cluster → https://mdb.link/7sF3BRGKRUk-free ✅ Get help on our Community Forums → https://mdb.link/7sF3BRGKRUk-forums - In this live stream we will explore the new Structured Output features from OpenAI that allows a schema definition for AI responses. We will leverage Atlas triggers to use the structured output to automate various application tasks.
MongoDB thumbnail image
Play Button

Sep 05, 2024
Tutorial

A Beginner's Guide to Integrating MongoDB With TensorFlow Using JavaScript

Are you a JavaScript newbie or guru and curious to know how Tensorflow.js works with MongoDB as the database? This tutorial is for you. Follow along as we explain how to use MongoDB with Tensorflow.js.
MongoDB thumbnail image

Sep 04, 2024
Folasayo Samuel Olayemi
Tutorial

How to Build a Serverless REST API With MongoDB Atlas

Learn how to go totally serverless in both the database and application by using MongoDB Atlas serverless instances and the MongoDB Atlas App Services.
MongoDB thumbnail image

Aug 30, 2024
Nic Raboy
Tutorial

How to Deploy an Application in Kubernetes With the MongoDB Atlas Operator

Get started with application deployment into a Kubernetes cluster using the MongoDB Atlas Operator.
Graphic of Kubernetes and MongoDB

Aug 30, 2024
Joel Lord (+1)
Tutorial

How to Develop a Web App With Netlify Serverless Functions and MongoDB

Learn how to build and deploy a web application that leverages MongoDB and Netlify Functions for a serverless experience.
MongoDB thumbnail image

Aug 30, 2024
Nic Raboy
Tutorial

NextAuth.js Authentication With MongoDB

Set up NextAuth.js for user authentication in your Next.js 14 app. Integrate email/password logins, configure MongoDB, & implement authentication methods.
MongoDB thumbnail image

Aug 30, 2024
Ahmed Bouchefra
Tutorial

Getting Started With MongoDB and AWS CodeWhisperer

Get AWS CodeWhisperer running in VS Code. It also works with IDEs like IntelliJ IDEA, AWS Cloud9, AWS Lambda console, JupyterLab, & SageMaker Studio.
MongoDB thumbnail image

Aug 29, 2024
Shane McAllister