# Custom messages

*This feature is available to customers with* [*Enterprise Edition*](https://www.sonarsource.com/plans-and-pricing/enterprise/)*.*

## Log-in message

Administrators can now display a custom login message that all users will see on their login screen. In addition, a custom announcement message can be displayed after users have logged in.

An administrator can:

* Define or edit a message using text or markdown.
* Remove the message at any time.

You can adjust the login message setting by navigating to **Administration** > **Configuration** > **General Settings** > **General** > **Log-in message**

Switch on/off the option to display a message, type in your text, and save.

<figure><img src="/files/HOOZsRRSuCMRNcE1LDoX" alt="Switch on/off the option to display a message"><figcaption></figcaption></figure>

{% hint style="info" %}
If the message is turned on but the text field is empty, nothing will be displayed to users.
{% endhint %}

<figure><img src="/files/CpGkh9xwV7pjrojuJoBB" alt="A custom message is displayed on the login screen"><figcaption></figcaption></figure>

You can adjust the announcement message settings at **Administration** > **Configuration** > **General Settings** > **General** > **Announcement message**


---

# 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.sonarsource.com/sonarqube-server/2025.2/instance-administration/ui-customization/custom-messages.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.
