This is a ChatGPT project bootstrapped with create-next-app. Chat-GPT Next.js APP First, please create .env file in root folder of project directory. OPENAI_API_KEY = YOUR API KEY HERE Second, run the development server: npm run dev # or yarn dev # or pnpm dev How to get OpenAI API key. https://platform.openai.com/account/api-keys