# Adding Allowlist URLs

You can create allowlist URL patterns for which the chat widget will be visible.

To add allowlist URL patterns, go to the **Settings** page and click on the **Chat Agent** tab. Then go to the **Widget Visibility** section and select **Allowlist** from the dropdown menu. You can then enter the URL patterns you want to allow and then click on the **Apply** button to save the changes.

### **Example** <a href="#example" id="example"></a>

#### **Wildcard URLs** <a href="#wildcard-urls" id="wildcard-urls"></a>

Let's say you want to allow URLs that start with `https://www.example.com/allowed` and its wildcard version `https://www.example.com/allowed/*`. You can do this by entering the following in the **Allowlist** field:

```
https://www.example.com/allowed(/*)
```

This will allow SalesMonk to track URLs that start with `https://www.example.com/allowed` and its wildcard version `https://www.example.com/allowed/*`.

#### **Particular URL** <a href="#particular-url" id="particular-url"></a>

If you want to allow a particular URL, you can do this by entering the URL in the **Allowlist** field. For example, if you want to allow `https://www.example.com/allowed`, you can enter the following in the **Allowlist** field:

```
https://www.example.com/allowed
```

This will allow SalesMonk to track the URL `https://www.example.com/allowed`.

#### **Add all url in wildcard except specific link segment** <a href="#add-all-url-in-wildcard-except-specific-link-segment" id="add-all-url-in-wildcard-except-specific-link-segment"></a>

If you want to add all URL in wildcard except particular link, you can do this by entering the URL in the **Allowlist** field. For example, if you want to allow `https://www.example.com/allowed/*` except particular link `https://www.example.com/allowed/specific-link`, you can enter the following in the **Allowlist** field:

```
https://www.example.com/allowed(/(?!specific-link)*)
```


---

# 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.salesmonk.ai/setup/adding-allowlist-urls.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.
