Prerequisites
The SuiteCRM V8 API uses OAuth for authentication, so the OAuthClient and OAuthPassword authentication methods require a custom OAuth application. If you are connecting to the SuiteCRM V4.1 API with the Basic authentication method, you can skip this section. A SuiteCRM administrator must create and register the custom OAuth application. To create a custom OAuth application in SuiteCRM, follow these steps:Click New Client Credentials Client (for the OAuthClient method) or New Password Client (for the OAuthPassword method).
Users who authenticate with the OAuthClient (client credentials) grant type have full access to the API. Users who authenticate with the OAuthPassword grant type require permissions for each module or table they access.
Setup Guide
Follow these steps to connect SuiteCRM to your Connect AI account:Enter the URL of your SuiteCRM account, for example http://your-suitecrm-instance.com.
Select the Schema that matches your SuiteCRM API version: suitecrmv4 for the SuiteCRM V4.1 API or suitecrmv8 for the SuiteCRM V8 API.
Authentication
- Basic
- OAuthClient
- OAuthPassword
Confirm that the Schema is set to suitecrmv4. The Basic authentication method is supported only for the SuiteCRM V4.1 API.
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.