⚡ TL;DR Read-only metrics through your Cube host plus an API secret (hourly signed tokens) or a token valid 7+ days. An optional security context limits rows; default cap 10,000.
Metrics defined once in Cube, reused in every app.
🔌 What It Does
Queries metrics from your Cube data model on Cube Cloud or self-hosted Core, read-only.
⚙️ Setting It Up
Enter the deployment host and an API secret or long-lived token; optionally set a security context.
💡 What You Can Build
A few ideas:
- ✅ Metric dashboards
- ✅ Customer usage pages
- ✅ Board reports
⚠️ Limits
One security context per connection, a public HTTPS host is required, and rows cap at 10,000 by default (50,000 max).
💡 Pro tip Use the security context to scope a connection to one customer.
Need Cube metrics in an app? Lord of the Wix can help. ✨
❓ Lovable Cube integration FAQ
Is it read-only?
Yes.
What is the default row cap?
10,000.
What is the maximum?
50,000 rows.
Is Cube Core supported?
Yes.
How long must a token be valid?
At least 7 days.
🙏 Credit: Based on public information from the Lovable documentation. Lovable is a product of Lovable. Source: docs.lovable.dev. Lord of the Wix is an independent agency and is not affiliated with Lovable.