Skip to main content
Guides 1 min read

How to Set Up Slack with GitHub

Connect GitHub to Slack in under a minute. Get pull request alerts, deploy notifications, and issue updates in your Slack channels in 2026.

How to set up Slack with GitHub
How to set up Slack with GitHub

Slack becomes the nerve center of your AI-assisted development workflow when you connect it to GitHub. The integration delivers pull request previews, issue updates, deployment alerts, and CI/CD status checks directly into your Slack channels. Your team stays informed without refreshing GitHub or checking email notifications.

The Slack GitHub app is free on every plan. Once installed, you subscribe specific channels to specific repositories and choose which events to track — pull requests, issues, commits, releases, or deployments. Every GitHub link you paste into Slack unfurls with a rich preview showing the title, status, author, and labels.

How to Connect GitHub to Slack

  1. Open Slack and go to the GitHub app page in the Slack App Directory.
  2. Click Add to Slack and authorize the app for your workspace.
  3. In any channel, type /github subscribe owner/repo to start receiving notifications for that repository.
  4. Customize events with /github subscribe owner/repo issues pulls commits releases deployments reviews.
  5. To unsubscribe, type /github unsubscribe owner/repo in the same channel.

FAQ

› Is the Slack GitHub integration free?
Yes. The GitHub for Slack app is free on all Slack and GitHub plans, including free tiers and GitHub personal accounts.
› Can I merge pull requests from Slack?
No. Slack shows PR previews and status updates, but merging, reviewing, and code changes happen in GitHub. The link in the preview takes you directly to the PR.
› Does the integration work with private repositories?
Yes. You need to authorize the Slack app to access your GitHub organization, and private repo notifications will appear in the Slack channels you configure.
› Can I choose which events trigger Slack notifications?
Yes. You can subscribe to specific events per repository — issues, pulls, commits, releases, deployments, or reviews — using the /github subscribe command.
› Does the GitHub integration work with GitHub Enterprise?
Yes. GitHub Enterprise Cloud is fully supported. GitHub Enterprise Server requires additional configuration through your organization admin.

Why Use Slack with GitHub

  1. Get pull request and issue notifications in the channels where your team already communicates.
  2. See rich previews of PRs, issues, and commits — title, status, author, and labels — without clicking through to GitHub.
  3. Deploy notifications land in Slack the moment a release goes live, so the whole team knows instantly.
  4. Subscribe different channels to different repos — #frontend gets the UI repo, #backend gets the API repo.
  5. Reduce context switching for developers who spend most of their day in Slack and their IDE.
  6. GitHub is just one of many — see the complete guide to Slack integrations for the full list.

How to Use Slack with GitHub Efficiently

  1. Create repo-specific channels — set up #repo-frontend and #repo-api so notifications stay organized and searchable.
  2. Filter events aggressively — subscribe only to pulls and deployments in high-traffic channels, and add issues and commits only where the team needs them.
  3. Pair with Slack’s Linear integration — get GitHub PR alerts in one channel and Linear issue updates in another for a complete development picture.
  4. Use thread replies for PR discussions — when a PR notification lands in Slack, discuss it in a thread to keep the channel clean.
  5. Set up deployment alerts in #releases — subscribe to deployment events so the team knows when a new version is live without checking GitHub Actions.
  6. Review PR previews before clicking through — the Slack unfurl shows enough context (title, changed files count, CI status) to decide if you need to review immediately.

What You Can Do With Slack and GitHub

  1. Subscribe channels to repositories — choose exactly which repos send notifications to which channels using the /github subscribe command.
  2. Preview pull requests in Slack — paste a PR link and see the title, description, status checks, reviewers, and labels in a single card.
  3. Get real-time CI/CD status — see whether checks pass or fail on a PR directly in the Slack notification, without opening GitHub Actions.
  4. Track deployments — receive a Slack message the moment a release is deployed to staging or production.
  5. Monitor issues — get notified when issues are opened, closed, labeled, or assigned in your subscribed repositories.
  6. Trigger Zapier workflows from GitHub events in Slack to automate tasks like updating a project tracker when a PR is merged.

Best Prompts to Try With Slack and GitHub

/github subscribe myorg/api-service pulls deployments reviews
/github unsubscribe myorg/legacy-repo
/github subscribe myorg/frontend commits:* to get notified on every commit pushed to the main branch.
Post a summary of all open PRs in #engineering every Monday at 9am using a scheduled workflow with the GitHub bot.
/github subscribe myorg/mobile-app releases to track every new version shipped to production.
Set up a Slack reminder to review any PR that has been open for more than 48 hours in the #code-review channel.
/github close owner/repo#42 to close an issue directly from Slack without switching to GitHub.

Slack Integrations: The Complete Guide | GitHub for Slack | GitHub Documentation

Tags

#slack-github #github-integration #developer-tools #pull-request-alerts #code-collaboration

More in Guides