Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 86
  • 41k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-locally

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install setting-up-support-slack-locally in Claude Code

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

A

No 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 →

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.

setting-up-support-slack-locally Install

Add to stack

Loading.