Setup Header with product search

You can set header with product search by navigating through
Dashboard >> Appearance >> Customize >> Desktop header >> Layout.
In the layout section select, the fourth layout.