- Generate your OpenAI API key on the OpenAI platform.
- Open the script.js file.
- Locate the placeholder INSERT_UR_API_KEY.
- Replace 'INSERT_UR_API_KEY' with your actual OpenAI API key.
- Sign up or log in to your OpenAI account.
- Navigate to the “API keys” section in your account dashboard.
- Click on “Create new key” to generate a new API key.
- Copy the generated API key and save it securely.