...
Go to Experience Builder (When you are configuring your B2B store)
Goto Settings → Security
Set 'Security Level' to “Relaxed CSP: Permit Access to Inline Scripts and Allowed Host”
Under Trusted Sites For Scripts add the base URL for your product images
Publish the changes
3. Custom Search Page Creation:
Go to Experience Builder (Again when you are configuring your B2B CC store)
On the top bar on the left side click the gear where it says Home to open Pages List
On the bottom click '+ Next Page'
Follow the instructions and create a page with name 'HWSSearch'
From the same drop-down select the page and drag the custom "hwsSearchMainComponent"
Publish the changes
Now when searching in the HWS Search Component - you will get redirected to this custom page
...