> ## Documentation Index
> Fetch the complete documentation index at: https://launchdarkly.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Setting up the Microsoft Teams integration

**Developer**

**Federal docs**

> [!CAUTION]
>
> **This integration is not available in federal environments**
>
> To learn more, read [LaunchDarkly in federal environments](https://launchdarkly.com/docs/home/infrastructure/federal).

**EU docs**

> [!CAUTION]
>
> **This integration is not available in LaunchDarkly's European Union (EU) instance**
>
> To learn more, read [LaunchDarkly in the European Union (EU)](https://launchdarkly.com/docs/home/infrastructure/eu.md).

This topic explains how to set up the LaunchDarkly Microsoft Teams integration.

## Set up the LaunchDarkly app in Microsoft Teams

To add LaunchDarkly to a Teams workspace, add the LaunchDarkly app from within Microsoft Teams. Then, authenticate the app with your LaunchDarkly account.

To authenticate the Microsoft Teams app:

1. Navigate to the [LaunchDarkly Microsoft AppSource listing](https://appsource.microsoft.com/en-us/product/office/WA200005047).

2. Click **Get it now**. After installing the LaunchDarkly Microsoft Teams app, you are prompted to connect your LaunchDarkly account.

3. Click **Sign in** to connect your account to Microsoft Teams. You are redirected to the LaunchDarkly login page.

   ![The LaunchDarkly app sign-in screen in Microsoft Teams.](https://mintcdn.com/launchdarkly/ltwUrD5AmJ696YaX/images/__third_party/teams-ld-app-signin.png?fit=max\&auto=format\&n=ltwUrD5AmJ696YaX\&q=85\&s=d810fa6cef0c0d0f07bc283883a07996)

   The LaunchDarkly app sign-in screen in Microsoft Teams.

4. Log in with your LaunchDarkly credentials. LaunchDarkly displays a message that the Microsoft Teams app would like permission to access your LaunchDarkly account.

5. Click **Authorize**. LaunchDarkly displays an authentication code.

   ![The permissions authorization dialog in the Microsoft Teams app.](https://mintcdn.com/launchdarkly/ltwUrD5AmJ696YaX/images/__third_party/teams-ld-authorize.png?fit=max\&auto=format\&n=ltwUrD5AmJ696YaX\&q=85\&s=d85c8c7e5a333ca7b2f5dcc2b0f310a3)

   The permissions authorization dialog in the Microsoft Teams app.

6. Type the provided authentication code into Microsoft Teams in a chat window with LaunchDarkly.

   ![The authentication code screen in Microsoft Teams with the code input box called out.](https://mintcdn.com/launchdarkly/ltwUrD5AmJ696YaX/images/__third_party/teams-ld-enter-auth-code.png?fit=max\&auto=format\&n=ltwUrD5AmJ696YaX\&q=85\&s=0af4fa9845e0ace6a70c70bd0a4442ec)

   The authentication code screen in Microsoft Teams with the code input box called out.

7. Press **Enter**.

The LaunchDarkly app displays a success message. You can now use the LaunchDarkly app in Microsoft Teams.

To learn how to troubleshoot connection errors, read [Unable to connect LaunchDarkly account to Microsoft Teams](https://support.launchdarkly.com/hc/en-us/articles/14849824071323-Unable-to-connect-LaunchDarkly-account-to-Microsoft-Teams).

![A success message from LaunchDarkly.](https://mintcdn.com/launchdarkly/ltwUrD5AmJ696YaX/images/__third_party/teams-ld-success.png?fit=max\&auto=format\&n=ltwUrD5AmJ696YaX\&q=85\&s=e369b4b8a072f1230d7f557fc1a64a1d)

A success message from LaunchDarkly.

## Disconnect your LaunchDarkly account from Microsoft Teams

To disconnect your LaunchDarkly account from Microsoft Teams:

1. In Microsoft teams, open a chat window with LaunchDarkly.
2. Enter "account" in the text box and press **Enter**.
3. LaunchDarkly displays a message that you are currently connected to your LaunchDarkly account. Click **Logout** to disconnect your LaunchDarkly account from Microsoft Teams.

![The log out screen in Microsoft Teams.](https://mintcdn.com/launchdarkly/ltwUrD5AmJ696YaX/images/__third_party/teams-ld-logout-message.png?fit=max\&auto=format\&n=ltwUrD5AmJ696YaX\&q=85\&s=ac1cee1ba1e5afd6a88a5317b2d75c94)

The log out screen in Microsoft Teams.
