Authorizations Supported
The XO Platform supports basic authentication for OpenAI. See App Authorization Overview for details.| Authorization Type | Basic Auth |
|---|---|
| Pre-authorize the Integration | Yes |
| Allow Users to Authorize the Integration | Yes |
Step 1: Enable the OpenAI Action
Prerequisites:- If you don’t have OpenAI credentials, create a developer account at OpenAI.
- Copy your API Key.
- Go to App Settings > Integrations > Actions.
- Select OpenAI.
Pre-authorize the Integration
Basic Auth- Go to App Settings > Integrations > Actions and select OpenAI.
- In Configurations, select the Authorization tab.
- Set Authorization Type to Pre-authorize the Integration > Basic Auth.
-
Enter your API Key.
The Platform uses the configured API Key to authorize and generate suggestions from OpenAI. -
Click Enable. The Integration Successful pop-up is displayed.
The OpenAI action moves from Available to Configured after enabling.
Allow End User to Authorize
- Go to App Settings > Integrations > Actions and select OpenAI.
- In Configurations, select the Authorization tab.
-
Set Authorization Type to Allow Users to Authorize the Integration > Basic Auth.
-
Click Select Authorization > Create New.
-
Select API Key as the authorization mechanism. See App Authorization Overview.
-
Enter the Basic Auth credentials:
- Name – Name for the auth profile.
- Base URL – Base tenant URL for OpenAI instance.
- Authorization Check URL – Authorization check URL for your OpenAI instance.
- Description – Description of the profile.
-
Click Save Auth.
-
Select the new Authorization Profile.
- Click Enable.
Step 2: Install the OpenAI Action Templates
-
On the Integration Successful dialog, click Explore Templates.
-
Click Install to begin installation.
-
Once installed, click Go to Dialog. A dialog task for each template is auto-created.
-
Select the desired dialog task and click Proceed.
-
The dialog task is auto-created and the canvas opens with all required entity nodes, service nodes, and message scripts.