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

# Connect a platform (/fansbot/connect-a-platform)

import { Step, Steps } from "fumadocs-ui/components/steps";
import { Tabs, Tab } from "fumadocs-ui/components/tabs";

FansBot runs inside a chat platform you already use. You can connect more than one — the same FansBot works across all of them.

## Open the Connections page

In your [OnlyFansAPI dashboard](https://app.onlyfansapi.com), open **FansBot → Integrations** in the sidebar, then switch to the **Connections** tab.

<img alt="FansBot Connections tab" src={__img0} placeholder="blur" />

Click **Add connection** and pick a platform.

<img alt="Add a connection — platform picker" src={__img1} placeholder="blur" />

The steps differ slightly per platform:

<Tabs items={['Telegram', 'Slack', 'Discord']}>
  <Tab value="Telegram">
    <Steps>
      <Step>
        ### Create a bot with @BotFather \[!toc]

        In Telegram, open [@BotFather](https://t.me/BotFather), send `/newbot`, and follow the prompts. Copy the **bot token** it gives you — it looks like `1234567890:ABC-DEF...`.
      </Step>

      <Step>
        ### Add the connection \[!toc]

        Back in the platform picker, choose **Telegram**. Give the connection a **name**, paste your **bot token**, and save.
      </Step>

      <Step>
        ### Find your User ID \[!toc]

        A new Telegram bot won't talk to anyone yet. Open your bot, send it any message, and it replies that you're not allowed — along with **your Telegram User ID**. Copy that ID.
      </Step>

      <Step>
        ### Allow yourself to chat \[!toc]

        On the **Connections** tab, open the connection's **Configure** menu and paste your User ID into **Permitted User IDs** (separate multiple IDs with commas). Save, then message the bot again and it'll respond.
      </Step>
    </Steps>

    <Callout title="Who can use the bot?">
      A Telegram connection is **locked by default** — only the User IDs you add to **Permitted User IDs** can chat. Anyone else is shown their own User ID, so adding a teammate is just a copy-paste. Send `/start` any time to reset the conversation.
    </Callout>
  </Tab>

  <Tab value="Slack">
    <Steps>
      <Step>
        ### Choose Slack \[!toc]

        In the platform picker, choose **Slack**, then click **Add to Slack**.
      </Step>

      <Step>
        ### Authorize your workspace \[!toc]

        Slack asks you to approve the install. Pick the workspace and confirm — you're redirected back to the dashboard and the workspace appears as a connection.
      </Step>

      <Step>
        ### Start chatting \[!toc]

        Send FansBot a direct message, or invite it to a channel and mention it.
      </Step>
    </Steps>
  </Tab>

  <Tab value="Discord">
    <Steps>
      <Step>
        ### Choose Discord \[!toc]

        In the platform picker, choose **Discord**, then click **Add to Discord**.
      </Step>

      <Step>
        ### Pick a server \[!toc]

        Select the server you want to add FansBot to and authorize it. You're redirected back and the server appears as a connection.
      </Step>

      <Step>
        ### Start chatting \[!toc]

        In a server channel, **@mention** the bot (for example, `@Hector`) to talk to it — Discord doesn't support DMing the bot. Once it replies, you can keep chatting in that thread without mentioning it again.
      </Step>
    </Steps>
  </Tab>
</Tabs>

<Callout type="success" title="Connected!">
  Your connection shows as **Live** on the Connections tab. Next, learn [what to ask FansBot](/fansbot/talking-to-fansbot).
</Callout>

## Manage a connection

On the **Connections** tab, open the menu at the end of any row to manage it. Telegram connections have a **Configure** option (rename and set permitted users); any connection can be removed with **Delete**.