Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified develop-docs/integrations/msteams/bot-settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 9 additions & 9 deletions develop-docs/integrations/msteams/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,29 +14,29 @@ You will need to be a Microsoft Teams Administrator to perform some of the requi

1. Visit the [Developer Portal](https://dev.teams.microsoft.com/apps). Note: You may have to sign up for the [MS 365 Developer Program](https://developer.microsoft.com/en-us/microsoft-365/dev-program) if you're having trouble accessing this.
2. Click "New App".
3. Name your app (something specific to you to make it easier to find, e.g. `Bob's Sentry`).
3. Name your app (if you're an employee, add your name, `{Your Name}'s Sentry`).
4. Under "Basic Information" use the following values (all other fields are optional and may be left blank):

| Setting | Value |
| ------------------------- | --------------------------- |
| Short description | enter anything |
| Long description | enter anything |
| Developer or company name | Sentry |
| Website | https://www.sentry.io |
| Website | https://sentry.io |
| Privacy policy | https://sentry.io/privacy/ |
| Terms of use | https://www.sentry.io/terms/|
| Terms of use | https://sentry.io/terms/ |


5. Hit "Save" at the bottom of the page.
6. On the left hand sidebar click "App features" >> "Bot" >> "Create a new bot" >> "New bot". You may name this whatever you like.
5. Hit **Save** at the bottom of the page.
6. On the left hand sidebar click **App features** >> **Bot** >> **Create a new bot** >> **New bot**. You may name this whatever you like.
7. Enter the bot endpoint address as `{YOUR_DOMAIN}/extensions/msteams/webhook/` and hit "Save". Take note of your bot ID (shown in the URL, e.g. https://dev.teams.microsoft.com/bots/{BOT-ID}/configure).
8. Go to "Client secrets" and create a secret. Copy the secret as we'll use it later on.
9. To go back, click "Apps" >> Sentry >> "App features" >> "Bot". Then choose the bot you just created from the "Select an existing bot" dropdown.
10. Enable your bot to "Only send notifications (one-way conversations)" and select "Personal" and "Team" as the scopes.
8. Go to **Client secrets** and create a secret. Copy the secret as we'll use it later on.
9. To go back, click **Apps** >> _Your App Name_ >> **App features** >> **Bot**. Then choose the bot you just created from the "Select an existing bot" dropdown.
10. Enable your bot to "Only send notification" and select "Personal" and "Team" as the scopes.

![Microsoft Teams Bot Settings](./bot-settings.png)

11. Click "Add a command" and call it anything you like (e.g. `/sentry`). Give your command a description, select "Personal" and "Team" as the scopes, then click "Add".
11. Click **Create your first activity bot command**. If you're an employee, use a unique command name such as `/{name}-sentry`, otherwise `/sentry` is fine. Give your command a description, select *Personal* and *Team* as the scopes, then click **Add**.

![Microsoft Teams Bot Add a Command](./add-bot-command.png)

Expand Down
Loading