# How to set up a Discord ticket bot

> Set up a working Discord ticket panel with the Discord Developer Portal and TicketCord dashboard. No coding or command line required.

**Modified:** 2026-07-19

Set up a working TicketCord ticket panel using the Discord Developer Portal, TicketCord dashboard, and Discord setup commands.

The setup connects a Discord application you control to TicketCord, then maps Discord categories and staff roles before you publish a ticket panel.

## What you need

- A Discord account with administrator access to the target server
- A free TicketCord account
- A web browser

## How to set up a Discord ticket bot

1. **Create a Discord application:** Create and name an application in the Discord Developer Portal. The application name and avatar become the bot identity your members see.
2. **Add a bot user and copy the token:** Open the Bot section, add the bot user, reset its token, and store the token securely. Paste it only into TicketCord.
3. **Enable the required intents:** Enable Server Members Intent and Message Content Intent. Presence Intent is not required. Discord returns gateway error 4014 if required privileged intents remain disabled.
4. **Connect the bot to TicketCord:** Choose Add bot in the TicketCord dashboard and paste the token. TicketCord encrypts the token before it is written to storage.
5. **Invite the bot from the dashboard:** Use TicketCord's dashboard invite flow, select the server, and approve Discord's permission screen. Inviting through the Discord Developer Portal or Discord client bypasses TicketCord's join confirmation, so setup cannot advance.
6. **Configure categories and staff roles:** Run /setup with Discord Administrator permission, then confirm the ticket categories and staff roles in the TicketCord dashboard.
7. **Design and publish a ticket panel:** Create a panel in the dashboard and publish it with the dashboard Post action or the /embed command in Discord.

## Your ticket workflow is ready

Members can open tickets from the panel and staff can reply in Discord. Pro and Enterprise can also use Atlas drafting and knowledge-base features when those controls are enabled.

## Next steps

- [Train Atlas on approved knowledge sources](https://ticketcord.net/help/ai/knowledge-base)
- [Configure ticket routing rules](https://ticketcord.net/help/workflows/routing)
- [Customize ticket panels and embeds](https://ticketcord.net/help/configuration/embeds)

## Machine-readable resources

- [Canonical HTML](https://ticketcord.net/guides/how-to-set-up-discord-ticket-bot)
- [TicketCord llms.txt](https://ticketcord.net/llms.txt)
- [AI page index](https://ticketcord.net/api/ai/pages)
