---
title: "Slack"
description: "Connect Autohand to your Slack workspace for AI-powered code assistance, incident response, and team collaboration."
seo:
  title: "Slack Integration"
---

## What is the Autohand Slack integration? [#quick-answer]

The Autohand Slack integration brings codebase questions, incident response, and engineering assistance into a Slack workspace. Teams install the app, connect approved repositories, and invite Autohand only to channels where it should respond.

|  |  |
| --- | --- |
| Status | Available |
| Requires | An Autohand account, permission to install the Slack app, and access to connect the repositories the workspace needs. |
| Configure with | Install Autohand for Slack, approve the requested scopes, connect repositories in Autohand, and invite the app to selected channels. |
| Best for | Team questions, incident response, onboarding, and code discussions in Slack. |

:::warning
**Know before you start:** Autohand responds only in invited channels, and its answers are limited to the repositories and Slack permissions the workspace grants.
:::

## Overview

Autohand for Slack brings AI engineering assistance directly to your team's conversations. Debug production issues, answer codebase questions, and ship code without leaving Slack.

[Add to Slack](https://autohand.ai/slack/)

### How it works

**Connect**

<video src="/videos/step1-connect-light.mp4" autoPlay loop muted playsInline controls style={{ width: "100%", borderRadius: "var(--blume-radius)" }} />

Add Autohand to your Slack workspace in one click. No complex setup required.

**Context**

<video src="/videos/step2-context-light.mp4" autoPlay loop muted playsInline controls style={{ width: "100%", borderRadius: "var(--blume-radius)" }} />

Autohand learns your codebase, PRs, and team patterns to provide relevant answers.

**Command**

<video src="/videos/step3-command-light.mp4" autoPlay loop muted playsInline controls style={{ width: "100%", borderRadius: "var(--blume-radius)" }} />

Ask questions, debug issues, and ship code from any channel or DM.

## Use cases

Autohand helps your team in several key workflows:

**Incident response**

Debug production issues in real-time. Get root cause analysis and suggested fixes within minutes.

**Code reviews**

Get AI-assisted PR reviews directly in Slack threads. Catch bugs before they ship.

**Team Q&A**

Answer codebase questions instantly. Help your team find what they need without interrupting others.

**Onboarding**

Help new engineers understand the codebase. Answer architecture questions on demand.

## Setup

Follow these steps to connect Autohand to your Slack workspace:

### Step 1: Install the app

1. Click the **Add to Slack** button above or visit your [Autohand for Slack](https://autohand.ai/slack/) page
2. Select the Slack workspace you want to connect
3. Review and approve the requested permissions
4. Click **Allow** to complete the installation

### Step 2: Connect repositories

After installation, connect your code repositories:

1. Go to **Settings \> Integrations** in your Autohand dashboard
2. Click **Connect Repository** and select GitHub, GitLab, or Bitbucket
3. Choose which repositories Autohand can access
4. Autohand will begin indexing your codebase

### Step 3: Invite to channels

Invite Autohand to channels where you want it available:

```text
/invite @autohand
```

Autohand will only respond in channels where it's explicitly invited.

## Permissions

Autohand requests the minimum permissions needed to function:

| Permission | Purpose | Scope |
| --- | --- | --- |
| `channels:read` | View basic channel info | Invited channels only |
| `channels:history` | Read messages for context | Invited channels only |
| `chat:write` | Send responses | Invited channels only |
| `app_mentions:read` | Respond when mentioned | All mentions |
| `im:read` | Read direct messages | DMs with Autohand |
| `im:write` | Respond to direct messages | DMs with Autohand |

## Slash commands [#commands]

Autohand responds to mentions and provides several slash commands:

### Mention Autohand

```text
@autohand why is our API returning 500 errors?
```

### Available commands

| Command | Description |
| --- | --- |
| `/autohand help` | Show available commands |
| `/autohand status` | Check connection status |
| `/autohand search [query]` | Search the codebase |
| `/autohand review [PR URL]` | Review a pull request |
| `/autohand explain [file path]` | Explain a file or function |

## Configuration

Configure Autohand behavior from your dashboard:

### Channel settings

- **Response mode**: Choose between threaded replies or channel messages
- **Auto-respond**: Automatically respond to certain message patterns
- **Quiet hours**: Disable notifications during specified times

### Repository access

- **Branch restrictions**: Limit which branches Autohand can read
- **File filters**: Exclude sensitive files from indexing
- **Refresh interval**: Control how often the codebase is re-indexed

## Security

Autohand is built with security as a priority:

- **Encrypted connections**: All data is transmitted over TLS 1.3
- **Audit logs**: Available on request for Enterprise plans
- **SSO integration**: SAML and OIDC are on the roadmap

## Troubleshooting

### Autohand is not responding

1. Verify Autohand is invited to the channel with `/invite @autohand`
2. Check your API key is valid in **Settings \> Integrations**
3. Ensure the workspace connection is active

### Slow responses

Response times depend on codebase size and query complexity. For large repositories:

- Consider excluding test files and generated code from indexing
- Use specific file paths or function names in your questions
- Upgrade to a higher plan for increased throughput

### Missing context

If Autohand seems unaware of recent changes:

- Trigger a manual reindex from **Settings \> Repositories**
- Check that the relevant branch is configured for indexing
- Verify webhook delivery in your repository settings

**How do I configure the Autohand Slack integration?**

Install Autohand for Slack, approve the requested scopes, connect repositories in Autohand, and invite the app to selected channels.

**What does the Autohand Slack integration require?**

An Autohand account, permission to install the Slack app, and access to connect the repositories the workspace needs.

**What limitations should I know about?**

Autohand responds only in invited channels, and its answers are limited to the repositories and Slack permissions the workspace grants.
