# Accessing the bot

### How to use the bot <a href="#requirements" id="requirements"></a>

To start using the bot you are going to need to invite the bot to your server or dm the bot, you can do this by either clicking this [link](https://discord.com/oauth2/authorize?client_id=1415677769806774272\&permissions=274877983744\&integration_type=0\&scope=bot) or by joining the official Polydbot discord server and clicking the bot in the member list. I will show both ways below.

#### Adding the bot through invite link

To invite the bot to your server you can click this [Link](https://discord.com/oauth2/authorize?client_id=1415677769806774272\&permissions=274877983744\&integration_type=0\&scope=bot) and it will take you to the discord app where you can select a server you own to add the bot to.&#x20;

<figure><img src="https://2087158778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz23R6EQLeSfnrqolfwy6%2Fuploads%2FbIZ5HrHHWXWq8E3ng9u3%2Fimage.png?alt=media&#x26;token=cdb28adf-c10d-4888-877e-14658a3c0a17" alt="" width="442"><figcaption></figcaption></figure>

Simply select your server and then click continue, it will then show you the permissions page. To function properly the bot needs the following permissions: "View Channels", "Send Messages", "Send Messages In Threads", "Manage Messages", and "Read message history". If you are okay with those permissions then click Authorise, otherwise you can join the main discord server and find the bot.

#### Using the bot privately

The bot is also available to use privately, this is done by simply joining the discord and then using the bots commands in direct messages. To verify it is the correct bot please check the bots discord id as this should never change, the bots id is `1415677769806774272`  if you don't know how to check the bot id then please see this [tutorial](https://support.discord.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID)


---

# Agent Instructions: 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://docs.polydbot.io/welcome/accessing-the-bot.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.
