User Context Persistence (UCP) Connector

User context persistence (UCP in short) allows conversational designer and cognitive SMEs to save user related context across sessions and channels for re-use in subsequent chat sessions to provide seamless user experience and eliminating the need for prompting for user information which is consistent, such as location, application preferences, operating systems etc.

  1. Log into Global admin and navigate to Tenants page under Provider tab.
Figure 1. Figure 238 – Global Admin Console
  1. Click on the Configure buttonIcon Description automatically generated available in Actions column.
  2. In tenant’s configuration page, click on Open in “Choose Integrations” card.
Figure 2. Figure 239 – Tenant’s Configurations Page
  1. Click on Open on “Use Case Persistence” connector. If it is already enabled, it will have a green check, otherwise it will not have a check at all.
Figure 3. Figure 240 – Use Case Persistence Connector
  1. The following connector configuration page opens, user context persistence is disabled by default.
Figure 4. Figure 241 – Use Case Persistence Configuration
  1. Remember to use user data persistence based on customer requirement based on the local GDPR compliance and administrators must obtain explicit approval from customers to use and store user data temporarily.
  2. To enable user context persistence, click on the disable/enable toggle and agree to terms and conditions and click on SAVE.
Figure 5. Figure 242 – Use Case Persistence Enable
  1. Once SAVE is clicked, the connector is enabled and a modal with successful connector enablement is shown.
Figure 6. Figure 243 – Use Case Persistence Enabled
Graphical user interface, text, application Description automatically generated
Figure 7. Figure 244 – Use Case Persistence Enabled
  1. Once the UCP connector is enabled context can be used by adding the persist_context_keys context variable with appropriate values in the welcome node of the skill. For more details, refer to Usecase Design Console section.