Skip to content

Slack

By default, Domain Protect delivers notifications to Slack using an App with OAuth token authentication.

The Slack OAuth token is stored as an AWS Secret.

For backwards compatibility, legacy Slack webhook configurations are also supported, but not recommended.

Create Slack app

Alt text

  • press Create new app
  • choose From scratch
  • name App Domain Protect for production or Domain Protect dev for development
  • choose Slack Workspace for your organisation

Alt text

  • press Create App
  • from Features, select OAuth & Permissions
  • scroll down to Scopes

Alt text

  • under Bot Token Scopes, click "Add an OAuth Scope" to add chat:write chat:write.customize chat:write.public

Alt text

  • scroll up to the top of OAuth & Permissions

Alt text

  • press Install to workspace

Alt text

  • press Allow
  • a Bot User OAuth token will now be generated

Alt text

  • open the AWS console for the account to which Domain Protect is installed
  • In AWS Secrets Manager, select the Domain Protect Slack OAuth Secret
  • overwrite the dummy-value Secret value
  • press Save
  • at Basic Information, scroll down to Display Information
  • at description, add Prevent subdomain takeover
  • add the Domain Protect Slack App Icon from this repository
  • for background color enter #2c2d30

Alt text

  • save changes