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

# Slab

## Overview

The Slab MCP provides agents with read access to your Slab workspace. Agents can retrieve posts, browse topics, and search content, making internal knowledge accessible directly in conversation.

## Connection Setup (Admin)

1. In Dust, go to **Spaces** > **Tools** and click **Add tools**.
2. Select **Slab** from the list of available tools.
3. Paste your **Slab API access token** into the field provided and save.

You can find your API access token in Slab under **Team settings** > **Developer**. See the [Slab Developer Tools documentation](https://help.slab.com/en/articles/6545629-developer-tools-api-webhooks) for instructions.

Once connected, the Slab toolset will be available to add to agents in the spaces you grant access to.

## Authentication and Permissions Model

Slab's GraphQL API authenticates requests using an access token tied to a **Bot user**. Dust passes the token as:

```
Authorization: token <ACCESS_TOKEN>
```

Access to content depends entirely on **what the Bot user can access in Slab**. Before connecting, ensure the Bot user has been granted access to the topics and posts you want agents to be able to read.

**References:**

* [Slab GraphQL API (Apollo Studio)](https://studio.apollographql.com/public/Slab/variant/current/home)
* [Slab Developer Tools & API documentation](https://help.slab.com/en/articles/6545629-developer-tools-api-webhooks)

## Required Permissions

Slab does not offer granular API scopes. Access control is governed entirely by the **Bot user's permissions** within your Slab workspace:

* The Bot user must be a member of the Slab workspace.
* The Bot user must have access to the topics and posts you want agents to read.
* Private topics or posts the Bot user is not a member of will not be accessible.

Review and update the Bot user's membership in Slab's team settings to ensure the desired content is reachable.

## Available Tools

| Tool | Description |
| :- | :- |
| **Search Posts** | Search posts across the Slab workspace. |
| **Get Post Contents** | Read posts by their IDs or URLs, with full content and metadata. |
| **Get Post Metadata** | Read a post's metadata without its full content. Faster for long posts. |
| **Get Topics** | List all Slab topics, to understand how content is organized. |


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