# Dynamic CSPs

The Dynamic CSPs field of **System settings** lets you customize your instance's Content Security Policy (CSP). To permit resources and content from external URLs, use the following procedure:

1. Create a JSON array of the permitted sources. You can use CSP directives as the key and domains as the value according to the following format:

   1. Omit the dash and any characters after the dash of a CSP directive. Examples: `connect` for `connect-src` or `font` for `font-src`
   2. Omit `https://` from URLs. You can use wildcards. Examples: `drive.example.com` or \*.example.com
   3. Example JSON array:

   { "connect": \[<mark style="color:green;">".example.com"</mark>, <mark style="color:green;">"wss\://web.socket.com"</mark>], "font": \[<mark style="color:green;">".example.com"</mark>] }

{% hint style="info" %}
For WebSockets, you must include `wss://`
{% endhint %}

2. Insert your JSON object into the **Dynamic CSPs** field.
3. Click **Save**.

A message briefly appears confirming the changes are saved.


---

# 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://developers.make.com/white-label-documentation/customize-your-instance/custom-domains/custom-code-injection/dynamic-csps.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.
