# Discord Bot Guide

1. **Add the InvtAi Assistant Bot to your Discord server.**

* Click [here](https://discord.com/api/oauth2/authorize?client_id=1143078535339184239\&permissions=8\&scope=bot) to add it now.

If you are logged out, please log in with your Discord credentials.

* Select a server to add the InvtAi Bot to.

<figure><img src="https://lh6.googleusercontent.com/OQlle6AzcjQAmemFMMRkwzndxpGVxIIPSzNcGFQh2pbLQ7EYoGCU_E8u72JHCpAKwiXmjRR5N7riR7iiW_LroPJMSdtRroATFES-C7ICgBAILcWsKGSs7j8bnCHOV_RMJe3i_78scfApNSwQc1JCff8" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Ensure that you grant the "Administrator" permission.
{% endhint %}

* Click the "Authorize" button.

2. **Connect your Discord server to the InvtAi service.**

* Run the "/connect" command in the Discord channel.

  <figure><img src="https://lh5.googleusercontent.com/pnyE6sTenZFalXy8GSAuR5yfpeoSlD9Rn72NcvlOP9C4aMXKYRrjscco-swKMWTOnkpQcu4sxkxOZxc3izyntOmcIVbR25FKDyZlRYTLWEVtDE-MNYtgaOqpTn-Kt7LZz5Rr9XH8_c3yi3Vhf_ViK2M" alt=""><figcaption></figcaption></figure>
* Click the "Register Now" button.

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

After clicking 'Register Now,' you will be redirected to [https://app.invt.ai/discord](https://app.invt.ai/). If you are signed out, please sign in. Then, the 'Discord' page will open.

* Submit the Discord server information.

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

On this page, write a simple description of your group, community, or project. \
\
Finally, click 'Submit' button.


---

# 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.invt.ai/product-guides/invtai-bots-guides/discord-bot-guide.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.
