# Inviting Your Bot

In your Application Overview for your Bot in the Discord Developer Dashboard, click on the OAuth2 button in the navigation on the left.

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

Scroll down to the OAuth2 URL Generator and tick the boxes for `applications.commands` and `bot`

{% hint style="info" %}
When you check the `bot` box, a new area will appear underneath for extra Permissions, unless specified, you wont need to tick any of these.
{% endhint %}

<figure><img src="/files/68LII50nUBo12eCzBopv" alt=""><figcaption></figcaption></figure>

After ticking the boxes, an Invite URL is generated at the bottom of the page. Keep note of this and paste it into your Browser's Address Bar. Then follow the normal steps for choosing which server to invite the bot to etc.

<figure><img src="/files/1RoR4bY7j3GS2BMQYd0H" alt=""><figcaption></figcaption></figure>


---

# 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://puppy-tools.gitbook.io/setup-guides/discord-bot/inviting-your-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.
