Skip to main content

Prerequisites

The OAuth, OAuthClient, OAuthPassword, and AzureAD authentication methods require a custom OAuth application. The default OAuthPKCE method uses CData’s embedded OAuth application, so you can skip this section if you are using it. To create a custom OAuth application in Certinia, follow these steps:
1
Log in to your Salesforce org (the org where Certinia is installed) and navigate to Setup. In the Quick Find box, search for Apps, then click New Connected App.
2
Enter a Connected App Name (the display name shown on the authentication dialog) and a Contact Email.
3
Under API (Enable OAuth Settings), select Enable OAuth Settings and set the Callback URL to https://oauth.cdata.com/oauth/.
4
Select the OAuth scopes that your application should request from the user, then Save the application.
5
Open the connected app’s settings to retrieve the Consumer Key (your OAuth Client Id) and Consumer Secret (your OAuth Client Secret). For the OAuth, OAuthPassword, and AzureAD methods, you enter these values in Connect AI when configuring the connection. The OAuthClient method requires the custom app to exist but provides no fields to enter these values.

Setup Guide

Follow these steps to connect Certinia to your Connect AI account:
1
On the Basic Settings tab of the Certinia connection, enter a connection name or keep the default name.
2
Set the Use Sandbox field to True (if you are connecting to a sandbox account). Otherwise, leave it as False.
3
Select the Authentication method, then proceed to the relevant section and follow those instructions.

Authentication Methods

1
Click Sign in to connect securely through OAuth. This action opens the Certinia sign-in page in a new tab.
2
Log in to your Certinia account and provide the requested permissions (if applicable).
3
At the top of the Connect AI Add Connection page, click Save & Test.
  • If the connection test succeeds, a Connection successfully saved message appears, indicating that your connection has been created. The Status on the Edit Connection page also changes to Authenticated. View the data model of your successful connection in the right pane of the Edit Connection page, in the Data Model tab.
  • If the connection test fails, ensure that you entered your login information correctly with no stray spaces or other characters. Connect AI displays error messages under the required fields with missing data. Some data sources require that you sign in directly to the source website. If you did not, an error message appears under the Sign in button. Correct the errors and try again.
  • Unsuccessful connections are saved as drafts and have a Status of Not Authenticated. You can return to the connection and authenticate it later.

More Information

For more information about interactions between Connect AI and Certinia, see this information page.