# Set Up Chat Prerequisites

### Chat Channel is [Preview](/appendix/feature-states.md).

1. Administration | Settings | Grant permissions for Contact Center Chat
2. Create a user in your M365 tenant to use as a service account. This will be the teams meeting organizer and the chats will be created in their account. This user should have a Teams license.<br>
3. Add an app access policy to your tenant. This will allow the chat app to create meetings on behalf of the service account. Open PowerShell and run the following commands:

```Powershell
Connect-MicrosoftTeams
New-CsApplicationAccessPolicy -Identity LCCChatApps -AppIds "d3d33ff7-dcd7-4073-8942-49c144b66a7a" -Description "Landis Contact Center Chat Apps"
Grant-CsApplicationAccessPolicy -PolicyName "LCCChatApps" -Identity "ServiceAccountUPN"
```

6. Upload App Manifest to the Teams Admin Center. Navigate to Microsoft Teams admin center | Teams apps | Manage apps | Actions | Upload new app | Download the file below and select the file to upload. The application can up to 24 hours to fully provision in your Microsoft 365 tenant.

{% file src="/files/Jou03xFIsvqSHbQcEUJH" %}

7. Install the Landis Chat Bot for the agents in Teams.


---

# 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://cc.docs.landis.cloud/setup/set-up-chat-channel/set-up-chat-prerequisites.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.
