> SpecStream is the live web data engine for teams and agents. This is the Markdown copy of https://specstream.ai/docs/integrations/open-webui. Every page, with what SpecStream does and costs: https://specstream.ai/llms.txt

# Open WebUI

For Open WebUI admins: web search in every chat runs on the Search API once you change one setting.

## Set it up

1.  1

    ## 1. Open the web search settings

    Open the **Admin Panel**, then **Settings**, then **Web Search**. Turn on **Web Search** and set **Web Search Engine** to **searxng**.

2.  2

    ## 2. Paste the address

    Paste this into **Searxng Query URL**, with your key in place of `YOUR_SPECSTREAM_KEY`, and click **Save**:

    Searxng Query URL

    ```text
    https://api.specstream.ai/searxng/search?key=YOUR_SPECSTREAM_KEY
    ```

    The address then holds your key, so keep it in a secret or an environment setting.

## Or set it in the environment

On a new install, set the same values as environment variables. After the first start Open WebUI keeps them in its admin settings, so change them there afterward.

.env

```bash
ENABLE_WEB_SEARCH=true
WEB_SEARCH_ENGINE=searxng
SEARXNG_QUERY_URL=https://api.specstream.ai/searxng/search?key=YOUR_SPECSTREAM_KEY
```

## Check it works

In a new chat, turn on **Web Search** and ask about something from this week. The answer lists the pages it read.

## Cost

Each search is one Search API call at $5 per 1,000 searches of up to 10 results. It comes out of your balance, with no quote and no approval. [Search API](https://specstream.ai/docs/search-api.md) has the details.

## Your key

Create the key under **Agents & API** in your SpecStream workspace. [Sign up](https://specstream.ai/signup) and get $10 of credit, no card.

The same setting works in other tools too: [Search API by one setting](https://specstream.ai/docs/integrations/drop-in-search.md).
