Loading...

UI Kits with Access Tokens visible to end users

UI Kits, similar to Algolia or Google Programmable Search Engine, allow users to execute search queries directly against the Search App. This approach differs from Drupal Views, which route requests through the Drupal server.

Benefits of using a UI Kit

  • Reduce load on the Drupal server.
  • Package searches into a single search request rather than multiple requests for various modules such as Faceting module.

Considerations

This method requires the user's browser to send the Read API Access Token and Search API URL Endpoint. The implications include:

  • Data governance: Data returned from the endpoint spans the entire Search App. Multiple Search Profiles and Data Filters ensure that each site receives only its own content.
  • Search stability: If an unauthorized user obtains the Read Access Token and Search API URL Endpoint, they can generate excessive search requests. Search consumption is rate limited to protect against spikes in traffic. If necessary, request an increase to search consumption allotments by submitting a support ticket to Acquia.

Did not find what you were looking for?

If this content did not answer your questions, try searching or contacting our support team for further assistance.

Back to Section navigation