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

# PNYXBot Discord Installation

As Pnyxbot is in the Discord marketplace, you can install link without an account: <https://discord.com:2096/application-directory/1187620082554249337/>

Alternatively, you can install from your account dashboard by going to [Settings](https://www.pnyx.ai/settings).

* Connect your Discord and Telegram Accounts
* Click on the "[Add to your community](https://discord.com/oauth2/authorize?client_id=1187620082554249337)" under "Connect Pnyxbots" to add to your server or chats
* For Discord, select the server you want to install Pnyxbot

<figure><img src="/files/mO7RL22iQBUO9vQyCWK9" alt=""><figcaption><p>Installing PNYXBot in a Discord Server</p></figcaption></figure>

* Pnyxbot needs to view channels and read message history

<figure><img src="/files/dev82yi0yjKTGeb9gFu1" alt=""><figcaption><p>Select View Channels and Read Message History</p></figcaption></figure>

Note: You may have to put the Pnyxbot role higher up the role list to make sure it sees all the channels you want it to see.

<figure><img src="/files/JOeqTBJ2McGITGojNPTr" alt=""><figcaption><p>PNYXBot has been installed!</p></figcaption></figure>

* After installing PNYXBot in your server, make sure it is able to View Channels. Note: PNYXBot can not make any changes or manage your server.

<figure><img src="/files/zA0I7NfqoH4JHskx1MMP" alt=""><figcaption></figcaption></figure>


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.pnyx.ai/installation-and-setup/pnyxbot-discord-installation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
