> For the complete documentation index, see [llms.txt](https://docs.optibase.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.optibase.io/features/general/domain-whitelist.md).

# Domain Whitelist

The Domain Whitelist feature lets you control which domains are allowed to send data to Optibase. This is useful for improving security and preventing data from being collected from unintended environments.

<figure><img src="/files/ONSavFgTG8QVWw0OPzNe" alt=""><figcaption></figcaption></figure>

***

### How it works

By default, Optibase will gather data from any domain where the custom script is installed.

When you add domains to the whitelist, only those domains will be allowed to send data. All others will be ignored — even if the script is present.

***

### How to whitelist a domain

1. Go to your Workspace Settings
2. Click on Domain Whitelist
3. Enter your domain (e.g. yourwebsite.com)
4. Click Add domain to whitelist

Once added, Optibase will only collect data from the domains listed here.

> ℹ️ If the whitelist is empty, data will be collected from all domains where the script is installed.

***

Use this setting to prevent accidental data pollution from staging, development, or cloned sites.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.optibase.io/features/general/domain-whitelist.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
