google-cloud-platformvertex-ai-search

How do I set up a website with mail address and password authentication in EnterpriseSearch as a data store?


I want to set up a website with authentication by mail address and password in EnterpriseSearch as a data store. Is there a way to do this? I have checked the documentation but can't find a way to do it. If there is an alternative, please let me know.

https://cloud.google.com/generative-ai-app-builder/docs/introduction


Solution

  • Just to clarify, if you want to use Vertex AI Search (formerly Enterprise Search on Gen App Builder) to search websites that are behind a login/not accessible to the public internet, then that is not currently supported. You can try exporting the HTML from the relevant pages and creating an Unstructured data store from those HTML files instead.

    However, if you were asking about storing usernames/passwords in Vertex AI Search, then that's not the intended use case for these data stores. They are only for storing data that is to be searched over.

    You should use a database such as MySQL or PostgresQL on Cloud SQL to store usernames/passwords or use Sign in with Google.

    I'd also recommend watching this YouTube video from Computerphile about password storage on websites.

    How NOT to Store Passwords! - Computerphile