> For the complete documentation index, see [llms.txt](https://docs.spara.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.spara.com/integrations/communications-integrations/slack.md).

# Slack

Ask Spara questions from Slack and get Spara notifications in your channels.

Connecting Slack brings Spara to where your team already works. Anyone on your team can ask [Ask Spara](/platform/ask-spara.md) about agents, leads and analytics without opening the platform, and Spara can post notifications about live conversations with leads into the channel you choose.

### Step 1: Authentication

{% hint style="info" %}
You must be a Manager- or Integrator-level user to manage third party integrations.
{% endhint %}

Navigate to the [Integrations](https://app.spara.co/organization/integrations) page by clicking on the [Settings](https://app.spara.co/organization) link in the left hand navigation bar.

Click the "Authorize" button. This will lead you through an OAuth authentication flow. There are no further steps necessary upon completing this flow. You should see that the integration is "Enabled" within Spara's Integrations page.

<figure><img src="https://4072969777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FreCGkFdsmuPJzGP9ZgGA%2Fuploads%2Fgit-blob-1a7852152150022eef19980c94d7c7a96239f024%2FIntegrations.png?alt=media" alt=""><figcaption></figcaption></figure>

### Step 2: Configure notifications

Once Slack is connected, choose which events notify Slack and where to send them from [**Settings > Notifications**](https://app.spara.co/organization/notifications). See [Notifications](/platform/settings/notifications.md).

## Ask Spara in Slack

Send the Spara app a direct message, or @-mention it in a channel, and Ask Spara answers in the thread. While it works, the message gets an 👀 reaction. To ask a follow-up, reply in the same thread. In a channel, @-mention the Spara app again in your reply, since it only sees channel messages that mention it.

Ask Spara in Slack can:

* **Answer how-to questions**: how a feature works or where to find a setting, with a link to the right page in Spara.
* **Answer analytics questions**: conversations, meetings, pipeline and other numbers from your account.
* **Look up leads and agents**: how an agent is configured, or why it responded the way it did.

Ask Spara in Slack is read-only. It can't edit agents, prompts, fields or anything else in your account, whatever your role. When you ask for a change, it explains what to change and links the page in Spara where you can make it. To make changes with Ask Spara, use it in the platform.

### Who can use it

Spara matches each person to their Spara user by the email address on their Slack profile. Ask Spara answers with that user's access, so it only sees what they can see in Spara. Someone without a Spara user in your account is asked to get an invite from an admin.

Only the person who started a thread can continue it. Anyone else can start their own thread.

{% hint style="warning" %}
In a channel, everyone in the channel can read Ask Spara's answers. Ask in a direct message when the answer involves lead details or numbers you don't want to share.
{% endhint %}

## Permissions and data use

When you connect Slack, Slack's authorization screen lists the OAuth scopes Spara requests. As with any Slack app, the screen describes what each scope *could* allow. This is what Spara uses them for.

<table data-full-width="true"><thead><tr><th>Scopes</th><th>Why Spara needs them</th></tr></thead><tbody><tr><td><code>app_mentions:read</code>, <code>im:history</code>, <code>im:read</code>, <code>im:write</code>, <code>mpim:history</code>, <code>mpim:read</code>, <code>mpim:write</code>, <code>chat:write</code>, <code>reactions:read</code>, <code>reactions:write</code>, <code>assistant:write</code></td><td>Receive the messages people send to the Spara app or that @-mention it, and reply in the thread. Slack only delivers direct messages to apps that hold the matching history scope.</td></tr><tr><td><code>chat:write</code>, <code>channels:read</code>, <code>groups:read</code>, <code>channels:join</code>, <code>channels:manage</code>, <code>incoming-webhook</code></td><td>List your channels during setup, join the channel you pick (or create it), and post notifications there.</td></tr><tr><td><code>users:read</code>, <code>users:read.email</code>, <code>users.profile:read</code>, <code>team:read</code></td><td>Match people in your workspace to their Spara users by email, so Ask Spara answers with the right access and notifications reach the right sales rep.</td></tr><tr><td>All other scopes, such as <code>channels:history</code>, <code>groups:history</code>, <code>search:read.public</code>, <code>files:read</code>, <code>canvases:write</code> and <code>reminders:write</code></td><td>Used only by Spara's sales assistant in Slack, for accounts that set it up on this app before it moved to its own Slack app. For every other account, Spara doesn't use them.</td></tr></tbody></table>

### What Spara will and will not do

**Spara will:**

* Read the messages people send to the Spara app or that @-mention it, and answer them in the thread.
* Save each question and answer in your Spara account as an Ask Spara conversation.
* Post notifications into the channel you configure.
* List your channels and workspace members so you can complete setup.

**Spara will not:**

* Read channel or direct-message history for Ask Spara or notifications. Ask Spara only sees messages addressed to it.
* Change anything in your Spara account from Slack.
* Monitor or index your Slack conversations.

## FAQ

### Can Ask Spara make changes from Slack?

No. In Slack, Ask Spara only answers questions. It tells you what to change and links the page in Spara where you can do it, or you can ask Ask Spara in the platform to make the change for you.

### Someone on my team gets asked for an invite. What's wrong?

Ask Spara couldn't find a Spara user with the email on their Slack profile. Invite them to Spara with that email from [**Settings > User Management**](https://app.spara.co/settings/user-management), then have them ask again.

### I disconnected Slack. What happens when I reconnect?

Reconnecting from [**Settings > Integrations**](https://app.spara.co/settings/integrations) turns Ask Spara and notifications back on.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.spara.com/integrations/communications-integrations/slack.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
