OpenAI API key:
The API key is only sent to Open AI directly. It is saved to your browser's localStorage.
Start by getting an API key from OpenAI.
OpenAI documentation says "Do not share your API key with others, or expose it in the browser or other client-side code." This means that if you are building a web app, you should not leak the service's API key to your users.