# Add a support chat with Cursor, Claude Code or Codex

To add a support chat to an app built with a coding agent such as Cursor, Claude Code or Codex, add one line of the quiry widget. Paste the prompt below into the agent and it reads the install doc and adds the code. Messages from visitors arrive in the console under **Inbox**.

## Before you start

1. In the quiry console, open **Settings** and choose **Add site** to create a site. The full steps are in [Install the widget](/docs/install).
2. Put the app address in **Allowed domains**. If the preview address and the live address differ, add both.
3. Open the site's **Install** tab and choose **Copy code** to copy the install code.

## Prompt to paste into the agent

```
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

1. Reload the app. A chat button appears at the bottom right.
2. Click the button and send a test message.
3. 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](/docs/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](/docs/identify-users).

> I have not yet tested this prompt in the agent myself (unconfirmed). If the chat button does not appear, ask the agent again which file the install code should go in.

Next is [Add a support chat to your Bolt app](/docs/bolt).
