chat-gpt-clone You need .env file located in main folder with this content: OPENAI_API_KEY = YOUR_PERSONAL_API_KEY (no quotes) How to get API KEY https://platform.openai.com/account/api-keys Create account and create API key here: