First, we need to obtain an API key to connect to OpenAI. Go to Personal - View API key - Create new secret key.
- 1.Navigate the Data sources section, click Connect and select OpenAI from the list.
- 2.Paste the API key.
- 3.Click Connect data source to complete the setup.
Once you have connected OpenAI to UI Bakery, you can interact with the data. Use an Open API request for this purpose.
- 1.Add a new action, choose the Open API data source and select an Open API request type. All available OpenAI endpoints will be already defined.
- 2.Select the required endpoint from the Operation dropdown menu. Set any parameters and/or body if necessary.