Configuring AI Agent Settings
The Settings page lets you manage data security, deployment channels, live chat transfers, and advanced authentication settings for an AI Agent. To open it, select an AI Agent on the My AI Agents page, and then select Settings in the left navigation. The Settings page is available only after you save a newly created AI Agent.
The Settings page has the following tabs:
-
Security: Turn data masking, authentication, and AI Agent display on or off, and view the data purging and allowed websites policies.
-
Channels: Embed the AI Agent on your website, and deploy it to the channel connectors configured in your department, such as Amazon Connect and Genesys Cloud CX.
-
Transfers: Deploy the transfer connectors configured in your department, such as Genesys Cloud CX and Salesforce, so that the AI Agent can hand off conversations to live agents.
-
Transfers (Legacy): Connect the AI Agent to eGain Conversation Hub to transfer chats to live agents.
-
Advanced: Configure additional OAuth token scopes and the client application ID.
Security Tab
The Security tab provides a central view of how the platform masks and retains data. Masking patterns, retention periods, and allowed websites are configured in the eGain Admin Console.
Data Security
-
Data Masking: Turn on the toggle to apply data masking to all messages before they are sent to the AI Agent. The masking patterns are derived from the masking rules defined in the Admin Console. Select Admin Console to manage the masking rules.
-
Data Purging: Shows the Global Retention Policy. By default, data is stored for 13 months, and all data older than that is purged. This policy applies across the platform. To change the retention period, select Admin Console.
CORS
-
Allowed Websites: The websites on which this AI Agent can be embedded are managed in the Admin Console. To add or remove allowed websites, select Admin Console. Only Partition Administrators can add or remove allowed websites.
Authenticated
-
Turn on the toggle to require users to authenticate before they can chat with the AI Agent.
AI Agent
-
Turn on the toggle to display the AI Agent on the embedded site.
-
Select Save Changes to save your settings.
Channels Tab
Use the Channels tab to make the AI Agent available on your website, and in the contact center platforms where your agents work. AI Agent Managers can deploy the AI Agent to channels. Except for the Website channel, a channel must be configured as a connector on the Connectors page before you can deploy the AI Agent to it. For more information, see Configuring Channel Connectors.
The Channels tab has two views:
-
Available: Lists the Website channel and the channel connectors configured in your department.
-
Enabled: Lists the channels this AI Agent is deployed to.
A channel that the AI Agent is deployed to shows the Connected status and a Manage button. Other channels show a Connect button.
To embed the AI Agent on your website:
- On the Channels tab, on the Website card, click the Connect button.
- Use the following details to embed the AI Agent. Click the Copy icon next to a value to copy it.
- Agent ID: The unique ID of the AI Agent.
- System URL: The URL of the system on which the AI Agent is created.
- Copy the script from the box and paste it into the HTML code of the webpages where you want to display the AI Agent icon.
- Click the back arrow to return to the list of channels.
To deploy the AI Agent to a channel connector:
- On the Channels tab, in the Available view, on the connector card, click the Connect button. If the AI Agent is already deployed to the connector, click the Manage button, and then click the New Deployment button.
- In the Select Configuration step, from the Configuration dropdown, select the connector configuration to use. If no configuration is available, configure the connector on the Connectors page first.
- Optionally, select the Mark as default connector check box. You can create more than one deployment for a connector, and the default deployment is the one used by default. In the list of deployments, the default deployment is marked with the Default label.
- Click the Continue button.
- In the Connect step, click the Copy icon to copy the URL displayed on the page, and then follow the instructions on the page to complete the setup in the third-party platform:
- Amazon Connect Agent Assist: Use the AI Agent URL in your CTI widget, so that each call passes its Amazon Connect contact ID to the eGain panel.
- Genesys Cloud CX Agent Assist: Add the AI Agent to the Genesys agent desktop as an Interaction Widget, and paste the application URL into the Application URL field of the widget. Before you start, turn on transcription and low latency transcription in Genesys Cloud. Agents need the
conversation:transcription:viewandconversation:utterance:viewpermissions on the queues that receive calls. - Talkdesk Agent Assist: Add the AI Agent to the Talkdesk agent workspace as a card that renders the application URL.
- Twilio Flex Agent Assist: Point the voice webhook of your Twilio number to eGain, and install the eGain plugin in Flex.
- Click the Complete Setup button. For Genesys Cloud CX Agent Assist, click the Deploy button.
The connector is listed in the Enabled view. To see the deployments for a connector, click the Manage button on its card. Use the Edit and Delete icons in the Actions column to change or remove a deployment.
Transfers Tab
Use the Transfers tab to choose where the AI Agent hands off conversations to live agents. The tab lists the transfer connectors configured in your department, such as Genesys Cloud CX and Salesforce. A transfer connector must be configured on the Connectors page before you can deploy it. For more information, see Configuring Transfer Connectors.
The Transfers tab has two views:
-
Available: Lists the transfer connectors configured in your department.
-
Enabled: Lists the transfer connectors this AI Agent is deployed to.
To deploy a transfer connector to the AI Agent:
- On the Transfers tab, in the Available view, on the connector card, click the Connect button. If the AI Agent is already deployed to the connector, click the Manage button, and then click the New Deployment button.
- From the Configuration dropdown, select the connector configuration to use, and then follow the steps on the page to complete the deployment.
To use the deployed connector when the AI Agent escalates to live chat, select it in the Live Chat Escalation Connector dropdown in the AI Agent's escalation settings. For more information, see Escalation Settings.
Transfers (Legacy) Tab
Use the Transfers (Legacy) tab to connect the AI Agent to eGain Conversation Hub, so that the AI Agent can transfer chats to live agents. The tab lists the available apps and integrations under Apps & Integrations > Available. To set up the integration, you create queues and a chat entry point in eGain Conversation Hub, and then provide the chat entry point URL to the AI Agent. For more information, see Integrating AI Agent with eGain Conversation Hub.
To configure when the AI Agent escalates to live chat, see Escalation Settings.
Advanced Tab
Use the Advanced tab to configure how the AI Agent SDK requests access tokens and signs in users for this AI Agent.
-
Additional token scopes: Enter the OAuth resource scopes that the AI Agent SDK adds to every access token it requests for this AI Agent, in addition to the default scopes. Enter one scope per line, without the permission prefix. Every token for this AI Agent already includes the default scopes
knowledge.portalmgr.manage,core.aiservices.read, andcore.customermgr.read. -
Client application ID: Enter the OAuth client application ID that the AI Agent SDK uses when it signs users in for this AI Agent. Leave this field blank to use the deployment default. The client application must be allowed to request the default scopes and every additional scope you enter, and must have the redirect URL displayed on the page registered.
Select Save Changes.