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

# Slab Integration: Sync Your Wiki Posts into Wolfia

> Connect Slab to Wolfia with a bot token, index every post in your workspace, and keep answers grounded in documentation your team already maintains.

Teams that keep their internal handbook, policies, and engineering runbooks in Slab answer the same questions in security reviews and RFPs. Wolfia reads those posts straight from the workspace, cites them in answers, and follows along as teammates edit, publish, and remove pages.

## What Wolfia reads

<CardGroup cols={2}>
  <Card title="Every post in the workspace" icon="file-lines">
    Wolfia indexes the posts the bot token can see. There is no picker; the whole workspace syncs.
  </Card>

  <Card title="Title and body" icon="heading">
    Each post is indexed under its Slab title with its full text, so citations point at the page by name.
  </Card>

  <Card title="Edits and renames" icon="pen-to-square">
    A post that changes in Slab is refreshed on the next sync. Posts with no changes are left as they are.
  </Card>

  <Card title="Removals" icon="trash">
    A post that no longer exists in Slab is removed from the knowledge base on the next sync.
  </Card>
</CardGroup>

Access is read only. Wolfia never edits, publishes, or archives anything in Slab. Posts with an empty body cannot be indexed and show a **Failed** status.

## Before you start

* An admin, expert, or integration admin role in Wolfia. Only these roles can connect integrations.
* A Slab bot token for your workspace. Wolfia points you to `https://{portal}.slab.com/admin/developer`, where `{portal}` is your workspace subdomain. Opening that page generally requires Slab admin access; check with your Slab admin if you cannot see it.

<Note>
  A Slab connection is shared across your organization. One bot token serves the whole workspace, and anyone who can manage integrations can update it from the Knowledge Hub.
</Note>

## Connect Slab

<Steps>
  <Step title="Create a bot token in Slab">
    Open `https://{portal}.slab.com/admin/developer` for your workspace and create a bot token. Copy it; you will paste it into Wolfia in the next step.
  </Step>

  <Step title="Open the Knowledge Hub">
    In Wolfia, go to **Knowledge Hub** and find **Slab** in the list of integrations. It is listed under Knowledge with an **Organization** badge.

    <img src="https://mintcdn.com/wolfia/aaguweyggfvyxkQH/images/integrations/slab/available-integration-card.png?fit=max&auto=format&n=aaguweyggfvyxkQH&q=85&s=c638bc653ba75b5c79ba27371a18d197" alt="The Slab card in the Knowledge Hub" width="864" height="490" data-path="images/integrations/slab/available-integration-card.png" />
  </Step>

  <Step title="Paste the token">
    Click **Connect**. In the **Connect Slab** dialog, paste the token into **Bot token** and click **Connect**. Wolfia stores the token securely and confirms with **Slab integration connected successfully**. The first sync starts on its own.

    <img src="https://mintcdn.com/wolfia/aaguweyggfvyxkQH/images/integrations/slab/connect-slab-dialog.png?fit=max&auto=format&n=aaguweyggfvyxkQH&q=85&s=6df5326610260faefb77bfa1b5d77b14" alt="The Connect Slab dialog" width="896" height="684" data-path="images/integrations/slab/connect-slab-dialog.png" />
  </Step>

  <Step title="Watch posts arrive">
    Open the **Slab** page in the Knowledge Hub. Posts appear in the table as Wolfia indexes them, and the connection shows under **Connected integrations**.
  </Step>
</Steps>

Indexing time depends on the size of your workspace. Wolfia paces its requests to stay within Slab's API limits, so a large wiki can take a while on the first pass. You can keep using Wolfia while it runs.

<img src="https://mintcdn.com/wolfia/aaguweyggfvyxkQH/images/integrations/slab/knowledge-hub-page.png?fit=max&auto=format&n=aaguweyggfvyxkQH&q=85&s=b750d227d91955228945d14b7acfa168" alt="The Slab page in Wolfia" width="2881" height="961" data-path="images/integrations/slab/knowledge-hub-page.png" />

## Keep Slab in sync

* **Automatic sync**: Wolfia re-reads your workspace every day, picking up new posts, edits, and removals.
* **Sync now**: click **Sync now** on the Slab page to refresh immediately, for example after publishing a policy update.
* **Check status**: click **Manage** to open **Manage Slab integration**. It shows the sync status (**Completed**, **In Progress**, **Failed**, or **Draft**) and the **Last synced** time, and has its own **Sync now** button.
* **Rotate the token**: in the same dialog, paste a new token under **New bot token** and click **Save bot token**. Do this whenever the token is regenerated in Slab.
* **Exclude a post**: in the Slab table, use **Exclude from knowledge base** on any post you do not want answers to draw on. Excluded posts stay excluded across future syncs until you choose **Include in knowledge base**.
* **Disconnect**: click **Disconnect** and confirm. This removes every post Wolfia synced from Slab from the knowledge base and cannot be undone.

## Good practices

* Create the bot token from a workspace admin account rather than a personal one, so the connection survives team changes.
* Keep drafts and superseded pages out of Slab, or exclude them in Wolfia, so answers cite the current version.
* After rotating the token in Slab, update it in Wolfia right away. A stale token makes the next sync fail.

## Frequently asked questions

<AccordionGroup>
  <Accordion title="Can I choose which posts to sync?">
    Not at connection time. Wolfia syncs every post the bot token can see. To keep specific posts out of answers, exclude them from the Slab table in the Knowledge Hub.
  </Accordion>

  <Accordion title="The sync status shows Failed">
    The most common cause is a bot token that was revoked or regenerated in Slab. Click **Manage**, paste the current token under **New bot token**, click **Save bot token**, then **Sync now**.
  </Accordion>

  <Accordion title="A post is missing from the table">
    Confirm the post has body text; empty posts show a **Failed** status. Then click **Sync now**. If the post is still missing, check whether the bot token can open it in Slab.
  </Accordion>

  <Accordion title="Does Wolfia change anything in my Slab workspace?">
    No. Access is read only. Wolfia only reads post titles and content.
  </Accordion>

  <Accordion title="Do edits in Slab reprocess the whole workspace?">
    No. Only posts whose content changed are reprocessed. Unchanged posts keep their existing knowledge.
  </Accordion>
</AccordionGroup>

## Related pages

<CardGroup cols={2}>
  <Card title="Knowledge base" icon="book" href="/how-to/knowledge-base">
    Every source Wolfia can index and how they fit together.
  </Card>

  <Card title="Adding knowledge" icon="upload" href="/how-to/adding-knowledge">
    Upload documents directly when they do not live in Slab.
  </Card>

  <Card title="Confluence" icon="confluence" href="/how-to/confluence-integration">
    Sync wiki pages from Confluence the same way.
  </Card>

  <Card title="Mintlify" icon="book-open" href="/how-to/mintlify-integration">
    Index a public documentation site alongside your wiki.
  </Card>
</CardGroup>
