OpenAI
Last updated
Was this helpful?
Last updated
Was this helpful?
First, you need to obtain an API key to connect to OpenAI. In the OpenAI Platform, go to API keys and click Create new secret key. Once generated, copy it for later use.
When you obtained the key necessary for the data source configuration, you can proceed to connecting it.
On the Data sources page, click Connect, and select OpenAI in the Data sources list.
Select a version and paste the API key you copied before.
Click Test connection to check whether the data source can be connected, and then click Connect Datasource to complete the setup.
Create a new action and select your OpenAI data source - the Open API Request action will be selected automatically. All available OpenAI endpoints will be already defined.
Select the required endpoint from the Operation dropdown.
Set any parameters and/or body if necessary.
Finally, click Execute action and check the Result tab.
Once you have connected OpenAI to UI Bakery, you can start interacting with the data. For this purpose, you can use the action type: