How to Export and Import Search Configurations with CSOM

This video shows how to perform SharePoint search queries with CSOM and personalize the results based on information on the users profile.
The video shows following topics:
The sample code used in the video is available on PnP: