This document presents a study on building a web-based chatbot from scratch. It discusses choosing between open and closed domain chatbots as well as retrieval and generative-based models. For technologies, it recommends using PHP, HTML, CSS, JavaScript for the front end and Python and MySQL for the back end. Ajax and JSON can be used for data transfer. The document provides an overview of the steps and considerations for developing a chatbot, including defining the scope, identifying intents and questions, and developing response logic.