# Set Up Chat Prerequisites

### Chat Channel is [Preview](https://cc.docs.landis.cloud/appendix/feature-states).

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="<https://1039569329-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lm5wszNs6c24n4NZ30U%2Fuploads%2FdmQNFKaT0DUWOZmGB22E%2FChatAppManifest.zip?alt=media&token=644bd003-75b0-43d0-9218-ff36c8ec9649>" %}

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