setting-up-support-slack-locally
Skill by PostHog
Walks developers through connecting a real Slack workspace to local PostHog Conversations so Slack messages become support tickets. It covers the Slack app setup, the SUPPORT_SLACK_* settings, and the tunnel needed for inbound events.
Install setting-up-support-slack-locally
Built from the published package, never by AI.
git clone --depth 1 https://github.com/PostHog/posthog /tmp/posthog && mkdir -p ~/.claude/skills && cp -r /tmp/posthog/.agents/skills/setting-up-support-slack-locally ~/.claude/skills/setting-up-support-slack-locallyRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install setting-up-support-slack-locally in Claude Code
git clone --depth 1 https://github.com/PostHog/posthog /tmp/posthog && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/posthog/.agents/skills/setting-up-support-slack-locally ~/.gemini/antigravity-cli/skills/setting-up-support-slack-locallyAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install setting-up-support-slack-locally in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill walks through connecting a real Slack workspace to local PostHog Conversations, using the SupportHog Slack app. Once connected, Slack messages become support tickets and replies post back to the Slack thread. It covers creating the Slack app and bot scopes, setting the SUPPORT_SLACK_* dynamic settings, and running a tunnel for inbound events.
The core idea is that OAuth and the UI stay on localhost, because the browser follows the redirect. Only Event Subscriptions and Interactivity point at a public tunnel, because Slack's servers send those events. The skill also explains region routing for local testing and lists common failure modes, such as a white screen or Network error on the OAuth callback. It is aimed at developers who want to test the conversations Slack integration on their own machine.
Written from the project's SKILL.md and checked against it.
What it can do
- Slack app setupLists the bot user, bot token scopes, redirect URL and event subscriptions needed for the SupportHog Slack app.
- Credential configurationExplains setting SUPPORT_SLACK_APP_CLIENT_ID, client secret and signing secret in .env.local.
- Tunnel for inbound eventsShows how to point an HTTPS tunnel at port 8010 and verify it reaches Django.
- Localhost OAuth flowDescribes keeping the app and OAuth round-trip on localhost while only events use the tunnel.
- Region routing explanationExplains how the events endpoint decides which region handles a Slack delivery when testing locally.
- Troubleshooting referencePoints to a troubleshooting file for white screens, Network error, redirect mismatch and region routing issues.
What you need
- A throwaway Slack workspace
- A Slack app created at api.slack.com
- A local PostHog development stack with the backend on port 8010
- An HTTPS tunnel such as ngrok or cloudflared
Try asking
- Help me connect Slack to local PostHog Conversations for testing.
- Why am I seeing 'Support Slack OAuth client ID is not configured'?
- Which Slack bot scopes does the SupportHog integration need?
Good to know
- Slack is SaaS only, so local testing needs a throwaway workspace and app.
- The OAuth callback needs an authenticated session on the origin set by SITE_URL.
- Slack may refuse a plain http localhost redirect URL, in which case the tunnel URL is used for the callback.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/setting-up-support-slack-locally/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB -
references/troubleshooting.md8 KB
Alternatives to setting-up-support-slack-locally
All alternatives →Explains how to set up and verify Zoom webhooks for event-driven workflows. Covers signature checks, event subscriptions, delivery handling, retries and event-type selection for developers.
Posts text, images and videos to Weibo, and publishes headline articles from Markdown files. It works through a real Chrome browser over CDP. The scripts only fill in the content, and the user reviews and publishes manually.
Adds another phone number to an existing Dial channel in NanoClaw, so one install can answer SMS and AI voice calls on several numbers. Intended for operators who already run Dial and want a second or third line.
Explains how to set up and use Zoom WebSockets for persistent, low-latency Zoom event streams. Intended for workflows where WebSockets are preferred over webhooks.
Adds personal WeChat support to NanoClaw through Tencent's official iLink Bot API. It uses long-polling and QR code login, so no public webhook URL is needed. It is for NanoClaw users who want a personal WeChat bot channel.
Guides AI assistants through the bundled Zoom MCP connectors for meetings, recordings, meeting assets and transcripts. Intended for planning or troubleshooting tool-based Zoom access after routing to an MCP workflow.
Compare with setup-zoom-webhooks, baoyu-post-to-weibo or add-dial-number
setting-up-support-slack-locally: common questions
Why does OAuth use localhost but events use a tunnel?
The browser follows the OAuth redirect, so localhost is reachable. Slack's servers send event POSTs from the cloud and cannot reach localhost, so only the events and interactivity endpoints need a public tunnel.
What causes the 'Support Slack OAuth client ID is not configured' error?
The source says an empty client ID produces this error. It recommends setting SUPPORT_SLACK_APP_CLIENT_ID in .env.local and restarting the backend, and checking the constance admin page for a blank stored value.
Which scopes does the Slack app need?
The source lists channels:history, channels:read, chat:write, chat:write.customize, files:read, files:write, groups:history, groups:read, reactions:read, users:read and users:read.email, taken from SUPPORTHOG_SLACK_SCOPES.
How do I install setting-up-support-slack-locally?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is setting-up-support-slack-locally free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is setting-up-support-slack-locally safe to use?
It scores 86 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to setting-up-support-slack-locally?
Similar skills: setup-zoom-webhooks, baoyu-post-to-weibo, add-dial-number, setup-zoom-websockets.
