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

# Discord

> Answer your Discord community from the inbox: direct messages and server tickets.

Connect a Discord bot to receive the bot's **direct messages** and your server's **tickets** in the inbox.

> [!NOTE]
>
> Discord is an add-on channel, like Telegram, Messenger and Instagram: turn it on with the "+1 additional channel" add-on in **Settings → Plans**.

## What you need

A Discord server where you're an administrator. Connecting takes about 5 minutes.

## Connect

**1. Create the bot**

In the Discord developer portal, create an application with its bot.

**2. Enable the intent and invite it**

Enable the **MESSAGE CONTENT** intent and invite the bot to your server.

**3. Paste the token**

In **Bot → Token** copy the token and paste it in **Channels → Connect Discord**.

**4. Test**

Send the bot a direct message: it should land in the inbox.

## Server tickets

To post the ticket button, type `/setup` in a channel of your server (as an administrator). Each ticket opens a private thread that arrives in the inbox as a conversation.

## Disconnect

Disconnecting removes the whole bot (direct messages and tickets). Conversations already received and their history are kept.


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