sidebar_position: 13
Open WebUI provides a feature that allows administrators to create customizable banners with persistence in the config.json file. These banners can feature options for content, background color (info, warning, error, or success), and dismissibility. Banners are accessible only to logged-in users, ensuring the confidentiality of sensitive information.
To configure banners through the admin panel, follow these steps:
Admin Panel -> Settings -> Interface.Banners option directly above the Default Prompt Suggestions option.+ icon to add a new banner.Save at the bottom of the page to save the banner.Alternatively, you can configure banners through environment variables. To do this, you will need to set the WEBUI_BANNERS environment variable with a list of dictionaries in the following format:
[{"id": "string","type": "string [info, success, warning, error]","title": "string","content": "string","dismissible": False,"timestamp": 1000}]
For more information on configuring environment variables in Open WebUI, see Environment Variable Configuration.
WEBUI_BANNERS:
[]id: Unique identifier for the banner.type: Background color of the banner (info, success, warning, error).title: Title of the banner.content: Content of the banner.dismissible: Whether the banner is dismissible or not.timestamp: Timestamp for the banner (optional).Admin Panel -> Settings -> Interface and clicking on the + icon to add a new banner.WEBUI_BANNERS environment variable with a list of dictionaries.WEBUI_BANNERS environment variable?
A: The format for the WEBUI_BANNERS environment variable is a list of dictionaries with the following keys: id, type, title, content, dismissible, and timestamp.dismissible key to True in the banner configuration or by toggling dismissibility for a banner within the UI.