1. Quickstarts
  2. AI chatbot w/ MongoDB & LangChain

Deploy an AI Chatbot with LangChain and MongoDB

This tutorial is featured by MongoDB, a Render partner.

Deploy an AI chatbot that uses Retrieval-Augmented Generation (RAG) powered by data from PDFs you upload.

You’ll follow steps to:

  1. Create a Render web service
  2. Connect the Render web service to a MongoDB Atlas instance
  3. Enable vector search by adding a vector index to your Atlas instance

Open the tutorial on GitHub

For general guidance on connecting your Render services to MongoDB Atlas, see this article.