Framework how-tos

How to connect Claude Code to Slack

A simple guide to connect Claude Code to your own Slack workspace with Contro1.

Updated Apr 17, 2026

Connect Claude Code to Slack for free with Contro1 in four steps: sign up, create an API key and webhook, connect Slack, then configure Claude Code.

Use the integration skill

Copy this skill link into your code agent to add Claude Code and Contro1 to your system.

Copy skill link

Connect Claude Code to Slack in a few minutes

Want Claude Code requests in Slack? Connect it for free with Contro1.

1. Sign up

Create your free Contro1 account.

Open free signup

2. Create an API key and webhook

Create an API key and paste the webhook URL that should receive the answer.

3. Connect Slack

Click Add to Slack in Contro1 Settings, then confirm approval messages can reach your Slack workspace.

4. Give the skill to Claude Code

At this point the Contro1 side is ready: you have an API key, a webhook, and Slack connected. The remaining setup happens in Claude Code.

Copy the skill below and paste it into Claude Code. The skill tells Claude how to install `@contro1/claude-code`, where to store the Contro1 API key, and how to add the Claude Code `PermissionRequest` hook.

  • Secrets go in the user-level Claude settings file, not in project files.
  • The hook is added in the project-level Claude settings file.
  • Claude Code should confirm which tools require approval; if you are unsure, start with file writes and shell commands.
  • Validate with the small `Bash` echo test from the skill before expanding the setup.

Claude Code connector on GitHub

Supported platforms around Claude Code

Claude Code can use the same Slack approval path as other supported Contro1 integrations, including Microsoft AGT, Microsoft Teams, Lambda MicroVMs, Block Buzz, LangGraph, OpenAI Agents SDK, OpenClaw, Codex, Claude Code, Claude Managed Agents, CrewAI, n8n, Slack, Pydantic AI, Mastra, Strands Agents.

  • Microsoft Agent Governance Toolkit for policy-triggered approval workflows.
  • Microsoft Teams for personal approval cards and reviewer decisions recorded in Contro1.
  • AWS Lambda MicroVMs for governed AI execution sandboxes, token brokerage, shell approval, and audit evidence.
  • Block Buzz agents for signed-action approvals at the external side-effect boundary, with exact-action binding and cross-system audit evidence.
  • LangGraph for interrupt and resume workflows.
  • OpenAI Agents SDK for tool-level approval interruptions.
  • OpenClaw personal AI assistants for a signed human approval gate on sensitive actions and a durable audit of autonomous background work.
  • OpenAI Codex PreToolUse hooks for reviewed shell actions and human input via contro1 ask.
  • Claude Code for approval hooks before file, shell, and tool actions.
  • Claude Managed Agents for session action approvals, signed callbacks, and audit trails.
  • CrewAI for human review and task resume flows.
  • n8n for HTTP Request and Wait node approval workflows.
  • Slack for operator approvals, notifications, and decision responses inside the workspace.
  • Pydantic AI for structured agent outputs and approval checkpoints.
  • Mastra agents and workflows with approval gates for risky production actions.
  • Strands Agents for Bedrock-native tool orchestration with approvals, Control Map routing, and audit-only action logging.
  • Keep Slack as the place where you answer requests.

Start free

Create a free account and connect Claude Code to Slack. Start with one small permission request, then expand once the flow works.

Create free account ยท How to connect AI agent to Slack

Frequently asked questions

How do I connect Claude Code to Slack?

Create a Contro1 account, create an API key, add your webhook URL, connect Slack in Contro1, then install and configure the Claude Code connector with a small test permission request.

How do I use Claude Code in Slack?

Use Slack to answer Claude Code permission requests. Claude Code sends the request through Contro1, you answer in Slack, and Contro1 sends the result back to your webhook.

Which Claude Code actions should need approval?

Decide this in Claude Code, not in Contro1 Settings. The setup skill starts by asking which tools should require approval and then configures the Claude Code hook and connector settings accordingly.

Can Claude Code share the same Slack approval setup as other agents?

Yes. Slack is connected once in Contro1, and different agents can use the same connection.

Does this replace Claude Code permissions?

No. It connects the permission flow to Slack through Contro1 so you can answer requests from Slack.

Related resources

Prompt guardrails vs runtime control

Prompt rules and runtime control solve different problems. Here is how they differ, where each one breaks, and why production systems need both.