Article verified for Release 15.2 on January 21, 2026.
OpenAI API Integration is a necessary integration for using AI to generate questions inside the question pools. To learn how to generate questions using AI, please refer to this article. This article will explain how to set up OpenAI API Integration.
Setting up the OpenAI API Integration
To access the tab to set up OpenAI API integration on the Youtestme application, do the following:
Click on theSystem tab in the main menu.
Select theIntegrations tab. Scroll to the right by clicking on the right arrow (if needed)
After logging into the application, do the following:
Click on the Search Bar in the top left of the page.
In the newly opened dialog, search for “Create chat completion.“
Click on the “Create chat completion” search result that is displayed.
On the Example request part of the page, navigate to the Default tab.
Copy and paste the curlto the
Copy and paste the model to the
After completing the previous step, your OpenAI API Integration page will look like the following image:
OpenAI API URL is the copied curl (part 5 of the previous step)
OpenAI API model is the copied model (part 6 of the previous step)
After successfully completing the previous steps, do the following:
Click on the Search Bar in the top left of the page.
In the newly opened dialog, search for “API keys.“
Click on the “API keys” search result that is displayed.
In the API Keys page, click on Create new Secret Key button.
After successfully opening the Create New Secret Key dialog, do the following:
Insert the preferred Secret Key name into the “Name” field.
Select the preferred Project.
Select “All” for Permissions options.
Click on the “Create secret key” button.
After successfully generating a field, the new “Save your key” dialog will appear, and the pop-up message will inform you that the API key has been generated. While on the “Save your key” dialog, do the following:
Click on the “Copy” button to copy the secret key. This key can only be copied in this dialog. If you fail to copy the key in this step, you will need to generate a new secret key.
Click the “Done” button
After successfully copying the secret key, return to the OpenAI API integration in the Youtestme application and paste it into the OpenAI API secret key field.
Copy the newly created API Key to the OpenAI API secret key field.
Click the “Confirm” button to save changes
After you select Confirm, a consent dialog will appear. By confirming, you acknowledge that your data will be sent to external third-party services outside the YouTestMe environment. YouTestMe does not control, store, or secure this data. Without confirmation, the integration cannot be enabled.