Next Steps | Yext Hitchhikers Platform
Apply your own Search experience
The sample app works with a test experience. You can optionally replace the credentials with your own:
- Navigate to src/config/answersHeadlessConfig.ts
- In the
answersHeadlessConfigobject, replace theapiKey,experienceKey, andlocalewith the attributes from your search configuration.
- In the
- Navigate to src/config/routeConfig.tsx
- In the
routeConfigobject, configure each path andverticalKeyto align with the verticals in your search configuration.
- In the
- Update the following files:
universalResultsConfig.tswith your vertical keys and labels- Component configuration in
VerticalSearchPage.tsxto use the filters of your choice (or remove them).
We also recommend reading our docs on Search Headless React for more details.
<% elem.innerText %>