Open WebUI¶
Use MATVIS as an OpenAI-compatible model endpoint in Open WebUI. Open WebUI sends chats to MATVIS, which screens them with the configurations attached to the MATVIS model configuration, proxies to your LLM, and screens the response on the way back. No Open WebUI plugin or pipeline is required.
Start from Integrations: create your chat inbound and chat outbound configurations, and the tool configurations if your agent uses tools. You attach them to a model configuration in the next step.
1. Attach the configurations to a MATVIS model configuration¶
Open WebUI does not pass configuration UUIDs; the configurations are attached to the MATVIS model. Create a model configuration for your LLM provider and attach your configurations to it; see Model configuration.
The model configuration's name is what Open WebUI will list as a selectable model.
2. Add MATVIS as an OpenAI connection¶
In Open WebUI, go to Admin Panel → Settings → Connections and add an OpenAI connection:
- Base URL:
https://<your-matvis-host>/api/v1 - API key: your MATVIS Firewall API key
Save the connection. Open WebUI fetches the available models from MATVIS (GET /api/v1/models), so your MATVIS model configurations appear in the model list.
The base URL must be your MATVIS host (/api/v1), not the LLM provider. Connecting Open WebUI straight to the provider bypasses the firewall.
3. Chat through a firewalled model¶
Select your MATVIS model in the Open WebUI model picker and chat as usual. Every prompt is screened at chat inbound and every response at chat outbound, and streaming is supported. When a check blocks content, MATVIS returns an error message in the chat instead of the model output, which you can then review in Firewall analytics.