Simple ChatGPT API Integration using Vue 3 and TypeScript Setup yarn install cp .env.example .env API Key You can create your API key from OpenAI. Copy your API key to variable VITE_OPENAI_API_KEY in .env file. Run yarn dev