Configuring the AI Connector Named Credential
AI Connector uses a named credential to route chat requests to the shared agent service. Configuring the named credential enables the chat container to host more than one agent. Set up the named credential once for your org, then point AI Connector at it using a custom setting.
Create the Named Credential
To create the named credential:
- In Setup, go to Security | Named Credentials.
- Create a named credential that points to the shared agent service endpoint provided by Certinia.
- Make a note of the named credential's API name. You need it in the next section.
For detailed information about creating named credentials in Salesforce, see the Salesforce Help.
Direct AI Connector to the Named Credential
To direct AI Connector to the named credential:
- In Setup, go to Custom Code | Custom Settings.
- Open AI Connector Settings, then click Manage.
- Open the Default record, or click New if one doesn't yet exist.
- In the AI Connector Named Credential field, enter the API name of the named credential you created.
- Click Save.
How AI Connector Picks the Destination
AI Connector picks the destination for each chat request using the following rules:
- If the AI Connector Named Credential field is populated, AI Connector uses the named credential and multi-agent routing.
- If that field is blank but the legacy AI Connector Service URL field is populated, AI Connector uses the legacy single-agent path.
- If both fields are blank, chat requests fail.
SECTIONS