> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ankra.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# ankra slack

> Connect the organisation to Slack

## ankra slack

Connect the organisation to Slack

## ankra slack connect

Print the address that adds Ankra to a Slack workspace, and wait until the
platform sees the install finish. Open it in a browser and approve it there.
Slack does the rest, so this works from a machine with no browser too.

Starting an install needs an organisation administrator and a person's token, not
a service account's. To send alerts to the workspace afterwards, use
'ankra alerts routes create'.

Exit codes: 0 when connected, 5 when `--timeout` ran out first (the address may
still work, so run 'ankra slack status' to check), 7 without the role.

```bash theme={null}
ankra slack connect [flags]
```

**Examples**

```bash theme={null}
ankra slack connect
ankra slack connect --no-wait
ankra slack connect --timeout 30m -o json
```

**Flags**

| Flag | Default | Description |
| - | - | - |
| `--no-wait` | `false` | Print the address and exit without waiting |
| `-o`, `--output` | | Output format: json or yaml (default: human-readable) |
| `--timeout` | `15m0s` | How long to wait for the install to finish |

## ankra slack status

Show the Slack workspaces connected to the organisation

```bash theme={null}
ankra slack status [flags]
```

**Flags**

| Flag | Default | Description |
| - | - | - |
| `-o`, `--output` | | Output format: json or yaml (default: human-readable) |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.