1) Open aistudio.google.com/apikey, sign in with your Google account, and click Create API key.
2) Copy the key and paste it below. It is saved only in your browser and is sent only to Google when questions are generated.
Click ✕ to remove a question you do not want — it will not be included in the download.