Skip to main content

tutorials

How to Add User Feedback to a Lovable App

To add user feedback to a Lovable app, install UserDispatch by running npx userdispatch init in your project directory after syncing to GitHub. The CLI auto-detects your React framework, injects a feedback widget script tag into your layout file, and configures an MCP server so your AI coding agent can read and act on submissions.

UserDispatch Team5 min read

Lovable makes it possible to go from an idea to a deployed app in minutes. But most Lovable apps launch without any way for users to report bugs, ask questions, or suggest features. This tutorial shows you how to add a user feedback widget to any Lovable app in under 5 minutes.

Last updated: April 14, 2026

Lovable has surpassed 5 million users and generates React/TypeScript apps that deploy to Lovable Cloud or Vercel. As of March 2026, Lovable does not include a built-in feedback widget — so you need to add one yourself. The good news: it takes one command.

What you'll get

After following this tutorial, your Lovable app will have:

  • A floating feedback button in the corner of your app (customizable position, label, and colors)
  • Three submission types: bug reports, feature requests, and ratings
  • Automatic capture of browser, OS, viewport, URL, and console errors
  • An MCP server your coding agent can use to read and act on submissions

The widget is under 30KB, renders in a Shadow DOM (so it won't conflict with your Lovable app's styles), and works on mobile.

Prerequisites

  • A Lovable app (any stage — prototype or production)
  • Your Lovable project synced to GitHub (Lovable → click the GitHub button → connect)
  • Node.js 18+ installed locally
  • An AI coding agent (Claude Code, Cursor, or Windsurf) — optional but recommended

Step 1: Clone your Lovable project

If you haven't already, sync your Lovable project to GitHub. Then clone it locally:

git clone https://github.com/your-username/your-lovable-app.git
cd your-lovable-app

Step 2: Run the installer

npx userdispatch init

The CLI does six things:

  1. Opens your browser to authenticate (Google sign-in)
  2. Creates your organization and app on UserDispatch
  3. Detects your framework (Lovable generates React with Vite — the CLI recognizes this automatically)
  4. Injects the widget script tag into your index.html
  5. Writes the .mcp.json config for your coding agent
  6. Sends a test submission to verify everything works

The entire process takes about 2 minutes.

Step 3: Push to GitHub

git add .
git commit -m "Add UserDispatch feedback widget"
git push

Lovable auto-deploys from GitHub. Within a minute or two, your live app will have the feedback button in the bottom-right corner.

Step 4: Test it

Visit your deployed Lovable app. You should see a "Feedback" button in the bottom-right corner. Click it, submit a test bug report, and check your UserDispatch dashboard — or ask your coding agent:

"Check my UserDispatch inbox for new submissions."

Customizing the widget

The widget is configured via data-* attributes on the script tag. After running the installer, you'll find the tag in your index.html:

<script
  src="https://userdispatch.com/widget.js"
  data-api-key="pk_your-api-key"
  data-position="br"
  data-trigger-label="Feedback"
  defer
></script>

You can customize:

AttributeDefaultOptions
data-position"br""br", "bl", "tr", "tl"
data-trigger-label"Feedback"Any text
data-collect-email"true""true", "false"
data-collect-name"false""true", "false"

Connecting your coding agent

If you use Claude Code, Cursor, or Windsurf, the CLI already configured the MCP server. Restart your agent and try:

"Show me recent feedback submissions for my app."

"Triage my inbox — categorize by type and flag anything critical."

"Draft replies for all resolved submissions."

Your agent reads feedback via MCP, so it can correlate user reports with your codebase and propose fixes directly. This is especially useful for Lovable apps where you might not have written every line of code yourself — the agent can trace a bug report to the specific component and suggest a fix.

Why this matters for Lovable apps

Lovable apps ship fast — often in a single session. But speed creates a specific feedback gap: your app is live before you've thought about how users will tell you something is broken.

The February 2026 Lovable security report highlighted that many Lovable apps had vulnerabilities that went unreported because there was no feedback mechanism. Users encountered issues, but there was nowhere to report them. Adding a feedback widget closes this gap from day one.

With UserDispatch's MCP server, the feedback loop stays in your AI-first workflow. You don't need to check a separate dashboard — your coding agent handles it. For more on why vibe-coded apps need this, see The Feedback Loop for Vibe Coding. For a walkthrough of what the agent can do with submissions, see How AI Agents Triage User Feedback.

Pricing

UserDispatch's free tier includes 100 submissions per month, the full MCP server with all 17 tools, and the feedback widget. No credit card required. Paid plans start at $9/month if you need more submissions or custom branding. See our getting started guide for full setup details.

Try UserDispatch free

Set up AI-powered feedback collection in under two minutes.

Get started

Frequently Asked Questions

Frequently Asked Questions

How do I add a feedback widget to a Lovable app?
Sync your Lovable project to GitHub, clone it locally, then run npx userdispatch init. The CLI detects your React setup, injects the widget script into your layout file, and configures the MCP server. Push the changes back to GitHub and Lovable will auto-deploy with the widget active.
Does Lovable have built-in user feedback?
As of March 2026, Lovable does not include a built-in user feedback or bug reporting widget. You can add one by integrating a third-party feedback tool like UserDispatch, which installs with one command and works with Lovable's React/TypeScript stack.
Can I collect bug reports from users of my Lovable app?
Yes. UserDispatch adds a feedback widget to your Lovable app that captures bug reports, feature requests, ratings, and questions. It automatically captures browser metadata (OS, viewport, URL, console errors) so you can reproduce issues without asking users for more details.
What is the best feedback tool for Lovable apps?
UserDispatch is designed for apps built with AI tools like Lovable. It installs in one command, adds a lightweight widget (under 30KB, Shadow DOM isolated), and includes an MCP server with 17 tools so your coding agent can triage feedback automatically. The free tier includes 100 submissions per month.
Can my AI coding agent handle feedback from my Lovable app?
Yes. UserDispatch exposes an MCP server that works with Claude Code, Cursor, Windsurf, and other MCP-compatible agents. After installing UserDispatch in your Lovable app, your agent can read submissions, categorize them, propose code fixes, and draft replies to users — all programmatically.

Try UserDispatch free

Collect user feedback, bug reports, and feature requests — then let your AI coding agent handle them via MCP.

Get Started
UT

UserDispatch Team

Founders

Related Resources

How to Add User Feedback to a Lovable App (2026 Tutorial) | UserDispatch