> ## 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

<View title="Developer" />

<View title="Federal docs">
  <Danger>
    **This integration is not available in federal environments**

    To learn more, read <a href="/docs/home/infrastructure/federal">LaunchDarkly in federal environments</a>.
  </Danger>
</View>

<View title="EU docs">
  <Danger>
    **This integration is not available in LaunchDarkly's European Union (EU) instance**

    To learn more, read <a href="/docs/home/infrastructure/eu">LaunchDarkly in the European Union (EU)</a>.
  </Danger>
</View>

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.

   <Frame caption="The LaunchDarkly app sign-in screen in Microsoft Teams.">
     <img src="https://mintcdn.com/launchdarkly/ltwUrD5AmJ696YaX/images/__third_party/teams-ld-app-signin.png?fit=max&auto=format&n=ltwUrD5AmJ696YaX&q=85&s=d810fa6cef0c0d0f07bc283883a07996" alt="The LaunchDarkly app sign-in screen in Microsoft Teams." width="1408" height="832" data-path="images/__third_party/teams-ld-app-signin.png" />
   </Frame>

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.

   <Frame caption="The permissions authorization dialog in the Microsoft Teams app.">
     <img src="https://mintcdn.com/launchdarkly/ltwUrD5AmJ696YaX/images/__third_party/teams-ld-authorize.png?fit=max&auto=format&n=ltwUrD5AmJ696YaX&q=85&s=d85c8c7e5a333ca7b2f5dcc2b0f310a3" alt="The permissions authorization dialog in the Microsoft Teams app." width="1357" height="1150" data-path="images/__third_party/teams-ld-authorize.png" />
   </Frame>

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

   <Frame caption="The authentication code screen in Microsoft Teams with the code input box called out.">
     <img src="https://mintcdn.com/launchdarkly/ltwUrD5AmJ696YaX/images/__third_party/teams-ld-enter-auth-code.png?fit=max&auto=format&n=ltwUrD5AmJ696YaX&q=85&s=0af4fa9845e0ace6a70c70bd0a4442ec" alt="The authentication code screen in Microsoft Teams with the code input box called out." width="1584" height="1418" data-path="images/__third_party/teams-ld-enter-auth-code.png" />
   </Frame>

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).

<Frame caption="A success message from LaunchDarkly.">
  <img src="https://mintcdn.com/launchdarkly/ltwUrD5AmJ696YaX/images/__third_party/teams-ld-success.png?fit=max&auto=format&n=ltwUrD5AmJ696YaX&q=85&s=e369b4b8a072f1230d7f557fc1a64a1d" alt="A success message from LaunchDarkly." width="1350" height="230" data-path="images/__third_party/teams-ld-success.png" />
</Frame>

## 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.

<Frame caption="The log out screen in Microsoft Teams.">
  <img src="https://mintcdn.com/launchdarkly/ltwUrD5AmJ696YaX/images/__third_party/teams-ld-logout-message.png?fit=max&auto=format&n=ltwUrD5AmJ696YaX&q=85&s=ac1cee1ba1e5afd6a88a5317b2d75c94" alt="The log out screen in Microsoft Teams." width="1360" height="442" data-path="images/__third_party/teams-ld-logout-message.png" />
</Frame>
