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
answersHeadlessConfig
object, replace theapiKey
,experienceKey
, andlocale
with the attributes from your search configuration.
- In the
- Navigate to src/config/routeConfig.tsx
- In the
routeConfig
object, configure each path andverticalKey
to align with the verticals in your search configuration.
- In the
- Update the following files:
universalResultsConfig.ts
with your vertical keys and labels- Component configuration in
VerticalSearchPage.tsx
to use the filters of your choice (or remove them).
We also recommend reading our docs on Search Headless React for more details.
<% elem.innerText %>