How to configure Slack in your on-prem Sentry

I think for authentication to work, Slack should be able to access your Sentry instance, at least in the beginning. What @evanpurkhiser proposes is using that IP allow-list to only expose your Sentry instance to this limited IP addresses instead of public access.

Hi, please we are running Sentry in GCP cluster with helm. I am following this instructions, but in sentry.conf.py are not same values like here described.

I mean this two:
slack.signing-secret:
slack.legacy-app:

I am using chart 4.3.0, image of Sentry 9.1.2.

When I have tried to download chart repo I was able to find only old values.
(slack integration)
SENTRY_SLACK_CLIENT_ID
SENTRY_SLACK_CLIENT_SECRET
SENTRY_SLACK_VERIFICATION_TOKEN

Helm command:

helm install sentry --wait stable/sentry --namespace monitoring --values …values.yaml --set ‘web.env[0].name=SENTRY_SLACK_CLIENT_ID’ --set ‘web.env[0].value=XX’ --set ‘web.env[1].name=SENTRY_SLACK_CLIENT_SECRET’ --set ‘web.env[1].value=XX’ --set ‘web.env[2].name=SENTRY_SLACK_VERIFICATION_TOKEN’ --set ‘web.env[2].value=XX’ --version 4.3.0

Does it mean, that now are with chart imcompatible changes?

Please, do you have any ideas? Because now with only all (old) setting I am getting:

The slack resource “channel” does not exist or has not been granted access in the “Workspace” Slack workspace.

@jantomsa - those instructions are for the latest version of Sentry and most likely won’t work for 9.1.2 which is quite old and not receiving any further updates.

Moreover, we do not maintain any Helm charts so you’d have better luck asking over that repository regarding the details about how to add configuration.

Thank you for fast response @BYK . I will ask in Helm chart community.

1 Like

Hi,

I wonder if anyone could connect several Slack workspaces to one Sentry on premise?
This is a pretty typical case, I think.

  1. One team with one Sentry on premise
  2. Working in different projects with different slack workspaces
  3. We would like to isolate project specific activity to own Slack workspaces

Is there a way to do that?

Thanks in advance for advice.

Yes you can associate more than one slack workspace to a single organization, it is a pretty straight forward setup process, just add the slack integration a second time.

Is legacy Slack integration via webhooks still available? I’m not seeing it in the Legacy Integrations list. Our org has a no Slack App policy, but we have Slack webhooks.

We are running Sentry 20.10.1

Ping @MeredithAnya