> For the complete documentation index, see [llms.txt](https://cc.docs.landis.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cc.docs.landis.cloud/setup/set-up-chat-channel/set-up-chat-prerequisites.md).

# 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. See <https://learn.microsoft.com/en-us/microsoftteams/teams-app-setup-policies>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://cc.docs.landis.cloud/setup/set-up-chat-channel/set-up-chat-prerequisites.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
