> ## Documentation Index
> Fetch the complete documentation index at: https://docs.meetdarwin.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Visibility and privacy

> Agent Studio → Visibility & privacy: choose the domains where Darwin's chat runs, hide the opening message on certain pages, and add a consent line with a link to your privacy policy.

<div className="darwin-location"><strong>Find it in Darwin</strong> Agent Studio → Visibility & privacy <a href="https://app.meetdarwin.ai/admin/agent?tab=visibility">Open this screen ↗</a></div>

This tab controls where the chat runs, where the opening message stays hidden, and the privacy line visitors see.

<Frame caption="Agent Studio → Visibility & privacy, with the live preview on the right.">
  <img style={{ width: 1440, maxWidth: "100%" }} src="https://mintcdn.com/meet-darwin/cfyypApC_g6Sd8eh/images/guides/studio/visibility-overview.webp?fit=max&auto=format&n=cfyypApC_g6Sd8eh&q=85&s=cf03684c44041d8198e1b625e3e8bd84" alt="Agent Studio with the Visibility & privacy tab selected: Allowed domains, Where the opening message appears and Privacy notice on the left, the chat preview on the right." width="2880" height="1800" data-path="images/guides/studio/visibility-overview.webp" />
</Frame>

<Steps>
  <Step title="Allow your domains">
    Under **Allowed domains**, type a domain (1), such as `www.example.com`, and select **Add domain** (2). The chat only runs on the domains listed here. Use `*.example.com` to include every subdomain.

    These changes save as soon as you add or remove a domain, without **Save changes**.

    <Frame>
      <img style={{ width: 623, maxWidth: "100%" }} src="https://mintcdn.com/meet-darwin/cfyypApC_g6Sd8eh/images/guides/studio/visibility-domains.webp?fit=max&auto=format&n=cfyypApC_g6Sd8eh&q=85&s=1f477c50bc18087a0759f99f25398a29" alt="The Allowed domains section with one domain listed, the domain field marked 1 and the Add domain button marked 2." width="1246" height="430" data-path="images/guides/studio/visibility-domains.webp" />
    </Frame>
  </Step>

  <Step title="Hide the opening message on some pages">
    Under **Where the opening message appears**, list the pages where the opening message should not show in **Hide on these pages**, one path per line. `/pricing` hides it on that page only; `/blog/*` hides it on every page under `/blog`. The chat button still shows on those pages.

    <Frame>
      <img style={{ width: 623, maxWidth: "100%" }} src="https://mintcdn.com/meet-darwin/cfyypApC_g6Sd8eh/images/guides/studio/visibility-pages.webp?fit=max&auto=format&n=cfyypApC_g6Sd8eh&q=85&s=ae4ab840f0adf87449f76fa2f24370ce" alt="The Hide on these pages box highlighted, holding /careers/* and /privacy on separate lines." width="1246" height="550" data-path="images/guides/studio/visibility-pages.webp" />
    </Frame>
  </Step>

  <Step title="Add a privacy notice">
    Under **Privacy notice**, type a **Consent line** (1). Once it has text, add the **Link to your privacy policy** (2). Leave the consent line empty to show nothing.

    <Frame>
      <img style={{ width: 623, maxWidth: "100%" }} src="https://mintcdn.com/meet-darwin/cfyypApC_g6Sd8eh/images/guides/studio/visibility-privacy.webp?fit=max&auto=format&n=cfyypApC_g6Sd8eh&q=85&s=8ac88b5aee288ee254984fea03e9d396" alt="The Privacy notice section with the Consent line marked 1, reading By chatting you agree to our privacy policy, and the Link to your privacy policy field marked 2." width="1246" height="564" data-path="images/guides/studio/visibility-privacy.webp" />
    </Frame>

    The line appears under the message box in the chat.

    <Frame>
      <img style={{ width: 404, maxWidth: "100%" }} src="https://mintcdn.com/meet-darwin/cfyypApC_g6Sd8eh/images/guides/studio/visibility-consent-preview.webp?fit=max&auto=format&n=cfyypApC_g6Sd8eh&q=85&s=12fa454d9a347fc9251c6cc1256850a7" alt="The chat's message box, Ask a question, with the line By chatting you agree to our privacy policy under it." width="808" height="166" data-path="images/guides/studio/visibility-consent-preview.webp" />
    </Frame>
  </Step>

  <Step title="Save">
    Select **Save changes** to publish the hidden pages and the privacy notice. **Discard** goes back to what is saved.

    <Frame>
      <img style={{ width: 643, maxWidth: "100%" }} src="https://mintcdn.com/meet-darwin/cfyypApC_g6Sd8eh/images/guides/studio/messages-save.webp?fit=max&auto=format&n=cfyypApC_g6Sd8eh&q=85&s=032642c4a3c0900f03f484b4efb40d98" alt="The bar at the bottom of the editor reading Unsaved changes, kept in this tab, with Save changes highlighted." width="1286" height="124" data-path="images/guides/studio/messages-save.webp" />
    </Frame>
  </Step>
</Steps>

## Good to know

* `*.example.com` covers subdomains only. To include `example.com` itself, add it too. `www.example.com` and `example.com` are separate entries.
* Removing a domain stops the chat answering there as soon as it saves.
* Paths are not case-sensitive, and a pasted full address works as well as a path.
* If the opening message is switched off on the [Messages](/assistant/identity-and-behavior) tab, the hidden pages apply when you turn it back on.

<CardGroup cols={2}>
  <Card title="Messages: name, voice and opening" icon="message-square" href="/assistant/identity-and-behavior">Write the opening message and reply buttons.</Card>
  <Card title="The chat isn't showing" icon="circle-help" href="/help/widget-not-showing">What to check when the chat doesn't appear on your site.</Card>
</CardGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.