Lovable: Send Your App's Errors and Performance Data to Sentry
The Sentry connector in Lovable now works inside apps as well as in project chat. A published app reports errors and performance data to a Sentry project using a client key (DSN). It targets production apps where failures are hard to reproduce.
Key Takeaways
- Lovable apps can now report errors and performance data to Sentry using a client key (DSN), not just talk to Sentry from chat.
- Events go directly from the app to Sentry, not through Lovable's connector gateway.
- Teams can create multiple connections with different DSNs, such as separate development and production projects.
- Lovable validates only the DSN format, so a wrong DSN fails silently; testing by triggering an error and checking Sentry Issues is recommended.
- Only DSNs are accepted, auth tokens cannot be saved, and self-hosted Sentry is unsupported.
- The older chat connector (MCP) remains the way for Lovable to read Sentry issues while building, so the two options complement each other.
Sentry now works inside Lovable apps
On November 9, 2026, Lovable extended its Sentry connector from project chat to the app itself. Sentry is an error and performance monitoring platform. With the new app and chat connector, a Lovable app reports browser errors, server errors, and performance data to a Sentry project. It is aimed at apps already running in production, where failures cannot be reproduced locally.
Two Sentry options
Lovable now offers two Sentry connectors. The app and chat connector reports events from the app using one shared client key (DSN). The separate chat connector, an MCP server, lets Lovable read Sentry issues and performance data while building, and it is personal to the user.
How it works
Each connection stores one DSN, which appears in the published app. Lovable adds Sentry's reporting code to the app, and the app sends events directly to Sentry rather than through Lovable's connector gateway. Several connections with different DSNs can exist, for example one for development and one for production.
Setup
In Sentry, the DSN is under SDK Setup, then Client Keys (DSN), and looks like https://<key>@o<org>.ingest.sentry.io/<project>. In Lovable, a person opens Connectors, selects Sentry, clicks Connect, and pastes the DSN, which Lovable masks. Connections are private by default and can be shared. The connection is then linked to projects.
Only the client key works. Sentry auth tokens, which start with sntryu_ or sntrys_, cannot be saved.
Verifying and limits
Lovable checks only the DSN's format and does not contact Sentry, so a wrong but valid-looking DSN means events silently go nowhere. To verify, trigger an error in the running app and look under Issues in Sentry. Other limits:
- The connector cannot read issues or performance data back from Sentry. The chat connector does that.
- Only Sentry cloud DSNs on
sentry.ioare supported, including regional hosts. Self-hosted Sentry is not. - Events count toward the Sentry plan, and Sentry handles billing and quotas.