# Define custom user agent

{% hint style="success" %}
**Access Type**: Compliance Report - Editor

**Premium Feature**: Advanced Compliance Monitoring or XL Scan
{% endhint %}

The Didomi compliance report utilizes [a bot ](https://docs.didomi.io/moIvfcA7NSpjmwGZ7dzv/compliance-report/introduction#bot-navigation)to scan your configured domains and extract the information relevant to your compliance with GDPR regulations. In this article, we will cover how to define a custom **user agent (UA)** that will be used by the Didomi bot while scanning.&#x20;

{% hint style="info" %}
Defining a custom user agent provides extra security for your domain and eliminates the need to [whitelist the default user agent](/compliance-report/introduction/whitelist-compliance-report.md) utilized by the Didomi bot.
{% endhint %}

Click **Advanced Compliance Monitoring** or **Compliance Report** on the left-hand panel and either [add a new domain](/compliance-report/compliance-report-domains/add-domain-to-compliance-report-classic.md) or [edit an existing domain](/compliance-report/compliance-report-domains/edit-compliance-report-domain.md).&#x20;

<figure><img src="/files/28rJqNAf0V0rraNPdXbb" alt="" width="563"><figcaption></figcaption></figure>

Expand the **Advanced** accordion on the subsequent page.&#x20;

<figure><img src="/files/1NQHqqNazY78osrKxMj9" alt="" width="563"><figcaption></figcaption></figure>

Use the provided **User agent** field to define the user agent the Didomi bot will use while scanning.

<figure><img src="/files/DVsmFF2aiDCRKY07iR04" alt="" width="563"><figcaption></figcaption></figure>

When finished, click **Save & Run**.


---

# 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.didomi.io/advanced-compliance-monitoring-acm/compliance-report-acm/define-custom-user-agent.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.
