> For the complete documentation index, see [llms.txt](https://docs.maker.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.maker.co/maker-greatstore/configure/security.md).

# Security

Embed origins and the hosts your apps may reach.

**Configure → Security.** Three allowlists controlling where your chat can run and what your apps may talk to.

## Embed origins

Extra domains this store's chat is allowed to run on, beyond your website: staging, previews, or a second brand site. Each must be a full origin.

The point of the allowlist: your embed runs an LLM **on your credits**. Restricting the domains it works on stops someone embedding your chat on their own site and consuming your usage. Anywhere else, the embed simply errors.

```
https://staging.example.com
https://preview.example.com
```

The **Website** address under Configure → Basic always works, in both its `www` and non-`www` spelling, so your own storefront needs no entry here. Everywhere else does.

## Trusted script hosts

Hosts your apps may load JavaScript from:

```
cdn.example.com
```

These extend the storefront CSP `script-src` on top of the GreatStore defaults.

## Trusted connect hosts

Hosts your apps, and the scripts they load, may `fetch` from or open WebSockets to. Extends `connect-src`; each entry covers both `http(s)` and `ws(s)`, so you do not need to add both.

{% hint style="warning" %}
These lists widen your storefront's content security policy. Add only hosts you control or explicitly trust, and remove entries when an app stops using them.
{% endhint %}

## Related

{% content-ref url="/pages/x84J3jdgA2RANWP4yzC8" %}
[Building an app](/maker-greatstore/apps/building-an-app.md)
{% endcontent-ref %}


---

# 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.maker.co/maker-greatstore/configure/security.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.
