Add a support chat to your Lovable app
To add a support chat to your Lovable app, add one line of the quiry widget. Paste the prompt below into Lovable and it reads the install doc and adds the code. Messages from visitors arrive in the console under Inbox.
Before you start
- In the quiry console, open Settings and choose Add site to create a site. The full steps are in Install the widget.
- Put the app address in Allowed domains. If the preview address and the live address differ, add both.
- Open the site's Install tab and choose Copy code to copy the install code.
Prompt to paste into Lovable
Add the quiry support chat to this app.
1. Read https://quiry.me/docs/install.md and follow it as written.
2. Add the install code below once, just before </body> in the file every page shares (the layout or index.html). Do not add it again on route changes.
3. Tell me which file you changed.
<paste the copied install code here>Check that it works
- Reload the app. A chat button appears at the bottom right.
- Click the button and send a test message.
- If it shows up in the console under Inbox, you are done.
If the button does not appear, first check that Allowed domains includes the address you opened. The rest is in Troubleshooting.
Identify signed-in members
Lovable apps often use Supabase Auth for sign-in. Use the Supabase user id (user.id) as the member id, and create the signature on the server side where the secret can stay private, such as a Supabase Edge Function. The prompt and the rules to give a coding AI are in Identify logged-in users in the support chat.
I have not yet tested this prompt in Lovable myself (unconfirmed). If the chat button does not appear, ask Lovable again which file the install code should go in.
Next is Add a support chat with Cursor, Claude Code or Codex.