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

# Monitor Configuration

> monitor: true config keys for the standalone connectDomain() and purchaseDomain() flows; showUnify() enrolls domains automatically.

<Info>
  If you launch Entri through [`showUnify()`](/unify/overview), domains are added to Entri Monitor automatically and none of the configuration below is needed. The `monitor` flags on this page apply to the standalone `connectDomain()` and `purchaseDomain()` flows.
</Info>

## Adding monitoring using Entri Connect or Entri Sell

When initializing a new domain using `connectDomain()` or `purchaseDomain()`, you can pass a `monitor: true` property in either the domain object or each record object to specify that it should be tracked with Entri Monitor.

Monitor everything:

```json theme={"system"}
{
  "prefilledDomain": "mydomain123.com",
  "applicationId": "12345",
  "token": "12345",
  "monitor": true,
  "dnsRecords": [
    {
      "type": "CNAME",
      "host": "{SUBDOMAIN}.xyz.example.com", // blog.xyz.example.com
      "value": "custom-proxy.leadpages.net",
      "ttl": 300,
    },
    {
      "type": "TXT",
      "host": "@",
      "value": "{SLD}-{TLD}", // example-com
      "ttl": 300,
    }
  ]
}
```

Monitor only the CNAME record:

```json theme={"system"}
{
  "prefilledDomain": "mydomain123.com",
  "applicationId": "12345",
  "token": "12345",
  "dnsRecords": [
    {
      "type": "CNAME",
      "host": "{SUBDOMAIN}.xyz.example.com", // blog.xyz.example.com
      "value": "custom-proxy.leadpages.net",
      "ttl": 300,
      "monitor":true
    },
    {
      "type": "TXT",
      "host": "@",
      "value": "{SLD}-{TLD}", // example-com
      "ttl": 300,
    }
  ]
}
```
