Google Programmable Search Engine (PSE) Integration

Integrate Google PSE to enable powerful, scoped web search capabilities from the chat interface.

Setup Steps

  1. Create a Programmable Search Engine

  2. Get Your Search Engine ID

    • After creation, find your Search Engine ID in the control panel.
  3. Generate an API Key

  4. Enable the API

    • In APIs & Services > Library, enable:
      • Custom Search API (for Programmable Search Engine)
  5. Configure Integration in Open-WebUI

    • Go to Admin Panel > Settings > Web Search.
    • Enable web search and set the engine to google_pse.
    • Fill in your Google PSE API Key and Search Engine ID.
    • Click Save.

Troubleshooting

  • Make sure the API key is restricted only to the necessary APIs and correct URLs.
  • Confirm that the Custom Search API is enabled in your Google Cloud Project.
  • Double-check the Search Engine ID and API Key for typos.