> For the complete documentation index, see [llms.txt](https://nidzo-docs.gitbook.io/ticketsbot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nidzo-docs.gitbook.io/ticketsbot/installation-and-setup/app-setup.md).

# Bot Application Setup

Before you start installation of the bot, you first need to setup Bot Application on Discord Developer Portal.

1. Go to Discord Developer Portal by [clicking here](https://discord.com/developers/applications)\
   1.1 Click 'New Application' Button in upper right corner.\
   1.2 Enter [name for Bot & Click Create](https://i.imgur.com/cYEwB4j.png)
2. Click 'Bot' from the left Sidebar and then click 'Add Bot' from the right side and click 'Yes. Do it'.
3. Scroll down to the 'Privileged Gateway Intents' and enable '**Server Members Intent**', 'Presence **Intent**' & '**Message Content Intent**' as shown on [this image](https://i.imgur.com/Mn1SHoj.png).
4. Scroll up and Click 'Reset Token' button and then click 'Copy' or just copy Token by yourself.\
   4.1. Open your `config.yml` and paste that token into `token` field.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://nidzo-docs.gitbook.io/ticketsbot/installation-and-setup/app-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
