Add a support chat to your v0 app
To add a support chat to your v0 app, add one line of the quiry widget. Paste the prompt below into v0 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 v0
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
If your app has sign-in, you can link the signed-in member to a quiry customer. Create the signature on the server only. 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 v0 myself (unconfirmed). If the chat button does not appear, ask v0 again which file the install code should go in.