Introduction | Yext Hitchhikers Platform

light bulb
Prerequisites
This guide assumes that you have created a Search experience. If you have not, we recommend reading the Search - Quick Start Your Experience Guide .

Context is a feature from Search that works alongside Query Rules. Context is a JSON object that is passed from client side into the Search backend. The reason to add context is so that you can add query rules based on context.

Generally, a client’s dev team will be the ones who need to set the context object. This is often done alongside the integration of the search bar.

To read more about Setting Context and its use cases, visit the Query Rules unit. Additionally, if you want to set Context within JWT for security, you can visit the Using JWT with Search guide on how to do so.

In addition, a full video walkthrough of this guide can be found below:

Feedback