IBM Watson Personality Insights account details Deprecated
To use a local connector to run API operations against IBM® Watson Personality Insights, you must define account details that the connector can use to establish a connection. You can define these details by creating a configuration in App Connect Dashboard, or by saving the details to an accounts.yaml file for import into App Connect Dashboard.
Account parameters
You can define one or more accounts for IBM Watson Personality Insights. For each account that you require, either specify a new set of account details by completing the fields in the Configuration page (or section), or edit the parameters in the accounts.yaml file before importing it as a configuration. The set of required and optional Account fields or parameters are listed in the following table.
For information about locating the values for these account parameters, see Locating the values for the account parameters.
Field | Parameter | Values | Condition | Description |
---|---|---|---|---|
Account name |
name |
User defined |
Required |
The name of a Watson account that exists in App Connect on IBM Cloud, and which is used in the exported API flow. |
Authentication type |
authType |
BASIC |
Optional |
The mechanism that is used for user authorization. |
API key or User name and Password |
apiKey or username and password |
User defined |
Required |
|
Base URL |
baseUrl |
User defined |
Required |
The base URL for the Watson service endpoint; for example,
|
Locating the values for the account parameters
You can find the connection values on the Service credentials
page for the Watson service instance in IBM Cloud:
- Log in to IBM Cloud.
- Go to the IBM Cloud Dashboard, and click the Watson service instance that you want to work with
- Click Service credentials in the left pane and click View credentials.
Example
watsonpi:
- name: "Account 1"
credentials:
authType: "BASIC"
apiKey: "aBCDefghiJKlmn37oP0qrSTUvwxZmUUpa-2E4AGjt1"
endpoint:
baseUrl: "https://gateway.watsonplatform.net/personality-insights/api"