Connect your app to Omni
Connect your app to Omni so you can build charts and tables using the metrics your data team already set up. Your app fetches the numbers safely without running custom database code directly.
Anyone who needs to build dashboards or metric reports in their app using existing Omni business data.
Do this, in order
- 1
Sign in to Omni with a non-admin account that only has access to the models your app needs (at least the Restricted Querier role).
Every query from your app runs as this user, so limiting their access keeps sensitive company data safe.
- 2
Open Manage Account in Omni, generate a personal token, and copy it along with your bare hostname (like yourcompany.omniapp.co).
Lovable requires a personal user token rather than an organization admin key to securely authenticate.
- 3
In Lovable, go to Connectors, choose Omni, click Connect, and enter a name, your host, and the personal token.
Lovable's connector gateway stores the token securely so your app's frontend code never exposes it.
- 4
Set your sharing permissions under Sharing and click Connect at the bottom of the form.
This verifies the key against your Omni instance and lets you share the connection with team members.
- 5
Open your Lovable project chat and ask Lovable to link your project to Omni and build your dashboard.
Lovable connects the project to your saved integration and queries the available topics and metrics.
Paste this into your project
Connect to our linked Omni connection. Discover our available models and topics, and build a clean dashboard that displays our key revenue measures broken down by region and month with charts and a summary table.
Words decoded
- Personal token
- A secret password generated by an individual user account rather than a company-wide master key.
- Model / Topic
- Pre-organized collections of data tables and relationships curated by your data team inside Omni.
- Dimension / Measure
- Dimensions are categories (like region or date), and measures are the calculated numbers (like total revenue or count of orders).
Where people get stuck
- Do not paste an organization API key or an admin user's token; Lovable rejects org keys, and admin tokens expose too much data.
- Do not include 'https://' or slash paths in the host field; only enter bare lowercase domain names ending in .omniapp.co or .playground.exploreomni.dev.
- All app visitors share the same Omni user identity, so Omni will not automatically separate rows between different end users—your app must apply those filters.
- Custom SQL queries and workbook creation requests are automatically rejected by the connector gateway.
The short version, steps, decoder and prompt on this page are written automatically from Lovable's own documentation and can lag or misread it. The official page is always the authority.