# Whitelisting Domains for Embedding

To protect user data and prevent unauthorized embedding, White Swan requires all embedded iframes to originate from **whitelisted domains**.\
This means that when you embed White Swan on your website, your domain must be whitelisted.

***

#### ✅ Why Whitelisting Exists

The White Swan application can be embedded inside partner platforms using our iframe-based integration.\
Because embedded content runs cross-domain, it’s important that we only allow messages and interactions from **known, trusted origins**.

Whitelisting ensures:

* Only authorized partners can load the embedded app.
* Clickjacking attacks are impossible
* Compliance with privacy and licensing requirements.

***

#### ✅ Whitelisting Your Domain

When you sign up for White Swan, the domain associated with your email will be automatically whitelisted.&#x20;

Additionally, any whitelabeled domain you set up will also automatically be whitelisted.

If you need to whitelist another domain, you can either:

* Visit your settings page, expand the section called "White Label Domain & Communications", and press "Configure White-Listed Embedding Domains"
* From your dashboard, press "Embed" on any client journey, and then press "Manage Allowed Embedding Domains"


---

# Agent Instructions: 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:

```
GET https://docs.whiteswan.io/partner-knowledge-base/embedding-white-swan/whitelisting-domains-for-embedding.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
