On Overcut Cloud, use the managed Overcut Slack app instead - see
Connect to Slack. No app creation or environment
configuration is needed there.
Prerequisites
- Permission to create apps in your Slack workspace (and, if your workspace requires it, admin approval to install them)
- A running self-hosted Overcut deployment with a public HTTPS domain
(
https://<your-overcut-domain>) and a browser-trusted TLS certificate - Inbound reachability from Slack: Slack’s servers must be able to reach
https://<your-overcut-domain>/hooks/...over port 443 - The ability to set environment variables on the deployment and restart it
How it works
Your Slack app is the identity Overcut uses in Slack:- OAuth connection - connecting a Slack workspace in Overcut runs the OAuth flow against your app; the granted bot token is stored by your deployment and used to read and post messages.
- Events and commands - Slack delivers channel messages, mentions, and slash commands to your deployment, signed with your app’s signing secret, which Overcut verifies on every request.
Step 1: Create the Slack app
1
Create the app from a manifest
Go to api.slack.com/apps, click Create New
App -> From a manifest, pick the Slack workspace, and paste the manifest
below - replacing Review the summary and click Create. Slack may warn that the event
request URL is not yet verified - that is expected; you verify it in Step 2
after the deployment knows the signing secret.
<your-overcut-domain> (three occurrences) with your
deployment’s domain:2
Collect the credentials
On the app’s Basic Information page, under App Credentials, collect:
- App ID
- Client ID
- Client Secret
- Signing Secret
Step 2: Configure the deployment
Set these environment variables on your deployment:
The redirect URI must be byte-identical to the redirect URL registered on
the Slack app (Step 1), otherwise the OAuth step fails with a
redirect_uri mismatch.
Apply the configuration
Restart the deployment so the new environment variables take effect.Verify the event endpoint
Back in the Slack app settings, open Event Subscriptions. If the request URL shows as unverified, click Retry. Slack sends a challenge tohttps://<your-overcut-domain>/hooks/slack/events; with the deployment running
and the signing secret configured, it turns Verified.
Step 3: Connect in Overcut
1
Open workspace Integrations
From the workspace sidebar (no project selected), go to Integrations.
2
Connect Slack
In the providers list, find Slack and click connect. You are redirected
to Slack to authorize your app for the Slack workspace.
3
Approve the OAuth scopes
Approve the requested scopes. After approval you return to Overcut and the
Slack workspace appears in the connected providers list.
Troubleshooting
- Slack tile missing or disabled in Overcut:
SLACK_INTEGRATION_ENABLEDis nottrue, or the deployment was not restarted after setting it. - Event request URL verification fails: Slack cannot reach
https://<your-overcut-domain>/hooks/slack/events(check DNS, that port 443 is open to the internet, and that the TLS certificate is browser-trusted - a self-signed certificate fails here), orSLACK_SIGNING_SECRETis not set on the deployment. - OAuth step fails with
redirect_urimismatch:SLACK_REDIRECT_URIdoes not exactly match a redirect URL registered on the Slack app. - Events deliver but signature validation fails (401 in the deployment
logs): the app’s Signing Secret and the deployed
SLACK_SIGNING_SECRETdo not match - re-copy it from Basic Information and re-apply. /overcutslash command returns an error in Slack: the slash-command URL on the app does not point athttps://<your-overcut-domain>/hooks/slack/slash-command, or the deployment is unreachable from Slack.- Messages in a channel do not trigger anything: the bot is not in the channel, or the channel is not registered in the project - see Register channels in a project.