This demo page shows how to use Site Search 360 and embed search results into your site. View the to check the configuration.

window.ss360Config = {
   siteId: 'spoonacular.com', /* Replace with your site id */
   searchBox: {
      selector: '#searchBox' /* Replace with the css selector of your search box */
   },
   results: {
      embedConfig: {
         contentBlock: '.example__page-content-block'  /* Replace with the css selector of the DOM element you want to use */
      }
   },
   suggestions: {
   source: {
      queryBased: {
         content: [{
            type: 'resultGroup',
            dataPoints: [
               { key: 'Cost', type: 'value' },
               { key: 'Calories', type: 'chip' },
            ]	  
         }]
      }
   }
};