Create Connection validates the JWT and returns a string containing the URL to redirect the user to.
dataSource, the URL redirects the user to an Add Connection page for the data source. If you omit dataSource, the URL redirects the user to a general Add Connection page where the user can select a connection to add from the connections list.
A successful Create Connection has the following flow:
redirectURL in the request body maps to the Return to button on the Add Connection page.cdata_connection_id–the connection unique Id.cdata_connection_name–the connection name, such as Salesforce1.cdata_connection_status–the connection status. Values include success, error (connection error), or none (no connection made).JWT token authentication. Include the token in the Authorization header as Bearer {token}. See Authentication for more information on creating a token.
The URL to redirect the customer once the customer has created the connection through the Connect AI UI. This URL maps to the Return to button on the Add Connection page in the Connect AI UI.
(Optional) The type of data source (For example: Snowflake, ActOn, or Salesforce). You can obtain data source names from List Connections. If you omit this parameter, the user can select from a list of available data sources.
(Optional) If provided, the connection name. If name is provided without a dataSource, it is ignored.
A string containing the CData-hosted connection URL to redirect the user to.
A string containing the CData-hosted connection URL to redirect the user to.