In today's digital age, improving customer service is one of the keys to business success. Successfully retaining and attracting new customers is a challenge that must be faced. The application of chatbot technology powered by artificial intelligence (AI) on business websites has been proven to provide more efficient and responsive customer service. This research aims to develop and implement an AI chatbot that uses the TF-IDF (Term Frequency-Inverse Document Frequency) method to automatically understand and answer customer queries. The TF-IDF method is used to extract key features from the text of customer questions and match them with the most relevant answers in the database. The results of implementing this AI chatbot showed a significant improvement in the speed and quality of customer service responses, thus helping to improve customer satisfaction and company performance. This research provides valuable insights for businesses looking to integrate AI technology into their customer service strategy.