Simple static frontend for Google Cloud's Discovery Engine Search API.
-
Open Google Cloud Shell
-
Set your project and get a token:
gcloud config set project YOUR_PROJECT_ID gcloud services enable discoveryengine.googleapis.com gcloud auth print-access-token
-
Open the interface: https://wagov-dtt.github.io/search-experiments/
-
Fill in the form:
- Project ID:
YOUR_PROJECT_ID
- Data Store ID:
YOUR_DATASTORE_ID
- Location:
global
(usually) - Serving Config:
default_config
(usually) - Access Token: (paste the token from step 2)
- Project ID:
-
Click "Copy Config URL" to share
Tokens expire after 1 hour. To get a new one:
gcloud auth print-access-token
Then update the token field in the interface.
- Uses Google Cloud Shell (no local installation needed)
- Tokens are temporary and secure
- Static interface works from any web browser
- Create your search data store at: https://console.cloud.google.com/gen-app-builder