.env file at the root of this project using the
.env.example file as starting point. Make sure to replace all placeholder variables (
<...>) by the proper information for your organization.
For more involved configurations, you can modify the request parameters used in the
This will start a server listening on port 9999. The app will return a Coveo search token when you make a GET request to the /.netlify/functions/token path. Every other path will respond with a 404 Not Found error.
A search token is a special JSON web token typically used to temporarily grant the privilege to execute queries as a specific user and log usage analytics events. To understand search tokens and how they work in more detail, visit the Search Token Authentication page.