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 the apiKey, experienceKey, and locale with the attributes from your search configuration.
  • Navigate to src/config/routeConfig.tsx
    • In the routeConfig object, configure each path and verticalKey to align with the verticals in your search configuration.
  • 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.

Feedback