Prerequisites
Before you connect, you must first do the following:- Connect a data source to your Connect AI account. See Sources for more information.
- Add a workspace to Workspaces.
- Add assets to your workspace.
- Generate a Personal Access Token (PAT) on the Settings page. Copy this down, as it acts as your password during authentication.
Connect to Connect AI via OpenAPI
To establish a connection from AWS App Studio to Connect AI via OpenAPI, follow these steps.In Workspaces in Connect AI, select a workspace and download the OpenAPI specification for the workspace. See OpenAPI for more information.
You must use OpenAPI version 3.0.

In the OpenAPI Connector Configuration page, configure the following:
- Name—enter a name of your choice for the connection.
- Description—if desired, enter a description for the connection.
- Base URL—the URL of the OpenAPI Specification file.
- Authentication method—select Basic.
- Username—enter your Connect AI username. This is displayed in the top-right corner of the Connect AI interface. For example, test@cdata.com.
- Password—enter the PAT you generated on the Settings page.
- OpenAPI Specification file—import the OpenAPI Specification file you downloaded from Connect AI.
Use the OpenAPI Connection in AWS App Studio
In the Actions tab to the right of the application creation screen, click Invoke API and add it to a flow.

In the Properties tab to the right of the application creation screen, select the OpenAPI connector you created.
