Can i use chatgpt in order to build a chatbot

i was thinking to train chatgpt in order to work like a chatbot my first question is 1)how do the train with the prompt, using the api or the web interface, and also how to avoid the possibilty than somebody can hack the chatgpt during the conversation and change the training during the conversation

Welcome @danielnluna

The best place to start is by reading docs