---
title: "Where your bot appears"
description: "Choose which websites can show your bot, and which pages the chat or the search box appears on."
url: https://tufu.ai/docs/where-it-appears/
---

# Where your bot appears

Choose which websites can show your bot, and which pages the chat or the search box appears on.

You decide which websites can show your bot, and which pages the support chat or the Ask console appears on. Find
these in the bot's settings under **Where it appears**. Changes reach visitors within about five minutes.

## Allowed websites

One website per line:

```text
yoursite.com
*.yoursite.com
```

- `yoursite.com` allows exactly that address.
- `*.yoursite.com` allows **every subdomain** (`help.yoursite.com`, `shop.yoursite.com`) and `yoursite.com` itself.
- Pasting a full address is fine: `https://help.yoursite.com/faq` is saved as `help.yoursite.com`.
- For testing on your own computer, add `localhost:3000` (with your port).

**Leave it empty to allow any site.** That's handy while you're setting up, but once your bot is live, list your
sites, so your bot doesn't turn up on someone else's.

Visitors' browsers enforce this list: on other sites the chat won't load, and the bubble or search box won't show. It
decides where your bot appears, not what it can spend. For that, set an [answer limit](https://tufu.ai/docs/usage-limits/) on the bot.

## Which pages it shows on

**Only show on these pages**, one per line. Leave it empty to show on every page.

```text
/help/*
/docs/*
/pricing
```

These rules only hide the widget: they're display rules, not a security boundary. The widget's script still loads on those
pages and applies the rule after it has. To keep the script off a page, leave the snippet out of that page's template.

**Worth keeping it off:** your sign-in, sign-up, password and checkout pages. Nobody needs a chat there, and it keeps a page
where people type a password or card number simple. Adjust the paths to your site:

```text
/login*
/signup*
/password*
/checkout*
```

**Never show on these pages** always wins over "only show on":

```text
/checkout/*
/account/billing
```

- `*` matches anything, including more slashes: `/help/*` covers `/help/returns` and `/help/returns/international`.
- Without `*`, the path must match exactly: `/pricing` doesn't cover `/pricing/teams`.
- Paths are case-sensitive and don't include the domain or anything after `?`.

## Common setups

**Support chat everywhere except checkout.** Allowed websites `yoursite.com` and `*.yoursite.com`; never show on
`/checkout/*`.

**Search box in the docs, chat everywhere else.** Use two bots (on Starter and up):

- an Ask console bot that only shows on `/docs/*`;
- a support chat bot that never shows on `/docs/*`.

You can paste both snippets on every page; each shows only where it should.

**A different bot per subdomain.** `docs.yoursite.com` gets the Ask console bot, `shop.yoursite.com` gets the
support chat bot. Set each bot's allowed websites to just its own subdomain.

## Troubleshooting

- **The bubble doesn't show at all.** Check the page's domain is in Allowed websites (or the list is empty), and that
  the page isn't excluded. Check the bot is public. Then wait five minutes, since browsers keep the settings for a
  little while.
- **The bubble shows but the chat is blank.** The page is usually on a site that isn't in Allowed websites. Your
  browser's console will mention `frame-ancestors`.
- **It works on Be your customer, but not on my site.** That page always works, because it runs on tufu itself. Check your
  site's domain against the list.
