Requirements
Editor permissions or higher on a document are required to edit app settings.How it works
By default, apps can’t make outbound network requests or load external images — the iframe’s Content Security Policy (CSP) blocks them to prevent data exfiltration. Allowed hosts - enabled by turning on specific app settings - are third-party services that the app author doesn’t control, so they can’t be used as a channel to exfiltrate query data. This is unlike a bring-your-own-key provider where the author could read request logs. The app never gains access to'self', https:, or wildcard origins.
Accessing app settings
To access an app’s settings:- In an app, click Edit to enter draft mode.
- Near the top left corner of the page, click the icon (located next to Code).
Allow map providers
The Omni Agent can enable this setting automatically when you ask it to add a map to your app.
Safe domains
Safe domains lets app editors optionally extend the app’s security model by specifying additional trusted hosts for loading images, scripts, stylesheets, fonts, and network connections.By default, apps can load resources from a curated list of trusted CDNs (e.g., Google Fonts, jsDelivr) and Omni’s bundled charting, styling, and utility libraries. These are available regardless of your safe domain configuration.
Configuring Safe domains
To configure safe domains for an app:- Open the app’s settings.
- In the Safe domains section, toggle Allow safe domains on.
-
Enter one or more domains in the Safe domains field. Add one domain per line or separate using spaces or commas:
See Domain formats for formatting requirements.
- Click outside the text area to save. The domains are validated when you save.
Domain formats
- Valid formats
- Disallowed domain patterns
Safe domains accepts the following formats:
Each domain must:
- Have at least two labels (e.g.,
example.comis valid, butlocalhostorcomalone is not) - Use only lowercase letters, digits, hyphens, dots, and optionally a leading
*.wildcard - Be 253 characters or fewer
- Include a valid port (5 digits or fewer, numeric) if a port is specified
Valid domains

