I am working on AEM 6.3 and have created segments using classic UI. Segments created have resource type: cq/personalization/components/segmentpage.
Also I have created custom ClientContext: /etc/clientcontext/myProject/default I am not able to find the configuration where the above settings needs to be made so that custom clientContext gets loaded and segments gets resolved.
I tried to add them in /etc/designs/myProject/page node but it is not working.
Only default users (users which are available in vanilla instance of AEM) are getting loaded in persona and segments with type: cq/contexthub/components/segment-page are getting resolved.
I need to load new users, custom clientContext and new segments with type: cq/personalization/components/segmentpage. to be loaded.