Finding the option to view API keys in the OpenAI user account menu. You'll need to generate a new API key, so click “Create new secret key” and optionally give it a name (for example, “Testing a Drupal module”). Copy the newly-created API key for further pasting on the Drupal website and click “Done.”Nov 21, 2023