# Setup

<figure><img src="/files/7TG0QfBkQIAPUV4ZKNde" alt=""><figcaption></figcaption></figure>

{% stepper %}
{% step %}

#### Click [**here**](https://voicestats.xyz/invite) to access the VoiceStats server invitation screen.

{% endstep %}

{% step %}

#### After seeing a screen like the one above, select the server where you want to add VoiceStats and use the <mark style="color:blue;">continue</mark> button.

{% endstep %}

{% step %}

#### Then, VoiceStats will only ask for the permissions required for operation by default. We recommend making sure you invite VoiceStats with the necessary permissions. Otherwise, the bot may not work properly.

| Permission           | Usage                                             |
| -------------------- | ------------------------------------------------- |
| View Channel         | Required to view voice channels.                  |
| Send Messages        | Required to respond to commands.                  |
| Embed Links          | Required to send embeds.                          |
| Attach Files         | Required to send statistic images and graphs.     |
| Read Message History | Required to view and edit older messages.         |
| Use External Emojis  | Required for VoiceStats to use its custom emojis. |
| {% endstep %}        |                                                   |

{% step %}

#### Then use the <mark style="color:blue;">authorize</mark> button.

{% endstep %}

{% step %}

#### Successfully added the bot.

{% endstep %}
{% endstepper %}

{% hint style="success" %}
You have successfully added the bot to the server! Now try running your first command.
{% endhint %}

#### **Try Your First Command!**

You have successfully added VoiceStats to your server, great! To test that everything is working smoothly and to see your own data, spend at least 30 seconds in a voice channel, and then type `/my stats` in any text channel. If you want to explore all the other features the bot offers, the `/help` command will guide you.

Now VoiceStats has been added to your server. You can enjoy using VoiceStats on your server with the <kbd>/</kbd> prefix..


---

# 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.voicestats.xyz/getting-started/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.
