> For the complete documentation index, see [llms.txt](https://docs.centox.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.centox.io/integrations/discord-bot-private-messages/how-to-activate.md).

# How To Activate

## Step 1: Go to the Integration Page

Then click on "**Setup Discord Bot**" and a box will pop up where you need to enter your Discord server ID and a name for the integration.

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

## Step 2: Find Your Discord Server ID

Next, find the ID of your Discord Server. To do this, right-click on your server and find the button that says "Copy Server ID". Copy this ID and save it for the next step in the process. Note that this ID is not secret and cannot be used for anything.

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

## Step 3: Insert your Server ID and a name

Next, you need to insert a name in the top box. It doesn't matter what you write here, it's just so you can keep track of it yourself. It is possible to set up multiple Discord servers so that the bot looks for users across multiple servers.&#x20;

Insert the Discord ID from your server in the bottom box. \
\* If the "**Centox**" bot is already on your discord server, click "**Complte Setup**" - if it is not, click "**Invite Bot**" and follow **Step 4.**

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

## Step 4: Invite Centox Bot To Your Server (required)

In order for the bot to send messages to your users, it needs to be on the server your users are on. You can't just invite it to any server, it can only send messages to a user if they are on the Discord server you have entered.&#x20;

Click "**Invite Bot**" and invite it to the server you are setting up. \
Although it asks for a few permissions, you can choose to turn them off, the only requirement is that it is on the server, it doesn't need any permissions. \
\&#xNAN;*These permissions are for future features related to automatic roles and automatic notifications on the server for different events.*

<figure><img src="/files/ZXc1p83B3qklkaPX4rrr" 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.centox.io/integrations/discord-bot-private-messages/how-to-activate.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.
