In my opinion, it is better to integrate it in the BE, because at some point you will also need to combine data from typesense with more information from other data sources, this way you ensure integration and data protection in the BE (Cloud Function). @Ben Brumfield