Google Programmable Search Engine (PSE) Integration
Integrate Google PSE to enable powerful, scoped web search capabilities from the chat interface.
Setup Steps
-
Create a Programmable Search Engine
- Go to the Programmable Search Engine site.
- Log in and create a new search engine, configuring its properties as needed.
-
Get Your Search Engine ID
- After creation, find your Search Engine ID in the control panel.
-
Generate an API Key
- Go to Google Cloud Console > APIs & Services > Credentials.
- Create a new API key.
- Restrict the key to your Open-WebUI URL and to the PSE API.
-
Enable the API
- In APIs & Services > Library, enable:
- Custom Search API (for Programmable Search Engine)
- In APIs & Services > Library, enable:
-
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.
Updated 4 days ago