# Inviting the bot

The first and most important step to do before you can dive deep into how to use the app is actually adding the bot to your Discord Server(s). This will cover the different ways to invite the bot and which permissions it requires.

{% hint style="info" %}
If you changed ComBot's permissions or maybe it randomly stops working, you can reinvite the bot and Discord will reset its permissions.
{% endhint %}

## Using the invite link

To invite the bot with **ADMINISTRATOR** permissions you can use [this link](https://discord.com/api/oauth2/authorize?client_id=652938911642943498\&permissions=8\&scope=bot%20applications.commands). This will give ComBot access to your entire server with almost no restrictions. This is not preferred by most servers as the `Administrator` permission is often viewed as a security flaw to give to bots or users in general.

To invite the bot with **RECOMMENDED PERMISSIONS** you can use [this link](https://discord.com/oauth2/authorize?client_id=652938911642943498\&permissions=537259088\&scope=bot%20applications.commands).

## In-app Authorization

If you already see the bot within Discord, you can invite it using its profile invite link. This will invite the bot with **RECOMMENDED PERMISSIONS.**

<img src="/files/zYCqKsGMupKreb6rcUcr" alt="" data-size="original">

## Invite **Permissions Table**

| Invite type and link                                                                                                                           | Permissions                                                                                                                                                                                                                                                                                                                                                                   |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Administrator](https://discord.com/oauth2/authorize?client_id=652938911642943498\&permissions=8\&scope=bot%20applications.commands)           | `ADMINISTRATOR`                                                                                                                                                                                                                                                                                                                                                               |
| [Recommended](https://discord.com/api/oauth2/authorize?client_id=652938911642943498\&permissions=537259088\&scope=bot%20applications.commands) | <p><code>MANAGE\_CHANNELS</code><br><code>MANAGE\_WEBHOOKS</code><br><code>READ\_MESSAGES</code><br><code>SEND\_MESSAGES</code><br><code>MANAGE\_MESSAGES</code><br><code>EMBED\_LINKS</code><br><code>ATTACH\_FILES</code><br><code>READ\_MESSAGE\_HISTORY</code><br><code>MENTION\_EVERYONE</code><br><code>ADD\_REACTIONS</code><br><code>USE\_EXTERNAL\_EMOJIS</code></p> |


---

# 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.combot.xyz/guides/inviting-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.
