Use the Customer Profiles API
For information about how to programmatically manage domains and profiles, see the Amazon Connect Customer Profiles API Reference.
For information about integrating the Amazon Connect Customer Profiles application into the
application used by your agents, see Amazon Connect Streams