# Setup Chat

## Setting Up Chat

To set up your system for Chat, carry out the following steps:

1. Ensure that your system meets the necessary prerequisites and has all of the required settings as part of the installation/upgrade.
2. For each partition, in the Self Service Portal Settings (Partitioned) window:
   * **Enable Chat**.
   * **Link a call template** to the chat.
   * **Assign analysts** to chat.
3. Give analysts "Chat Analyst" permissions in their IPK Management security role.
4. Give users "Chat User" permissions in their Self Service security role.
5. Give managers "Chat Manager" permissions in their IPK Management security role.
6. Assign a chat name and image to the analyst and user in their Person Details if you wish.

If you are setting up Chat to work between multiple web servers, you need to edit the Chat web.config. There are currently two methods of scaling out, or spreading the chat across multiple servers:

* If you have a Microsoft Azure subscription, you can use Azure, inserting the values provided by Microsoft into the Service bus scale out support lines of code -&#x20;
* Alternatively, you can use SQL Server to scale out, using the following key:
* \<add key="chat:scaleOutSqlServer" value="TRUE" />

See Also:

[ChatBot/AlemBot](/asm-hermes/setup-and-configure-asm/configuring-your-system/system-administration-settings/preview-features-advanced-options/chat-bot.md)

[External Chat Tool Integrations](/asm-hermes/setup-and-configure-asm/configuring-your-system/system-administration-settings/preview-features-advanced-options/settings/external-chat-tool-integrations.md)

[Microsoft Teams Chat Integration](/asm-hermes/integrate/managing-integration/microsoft-teams-chat-integration.md)


---

# 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.alemba.com/asm-hermes/setup-and-configure-asm/setting-up-your-system/setup-chat.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.
