# Inviting a Discord Bot to Your Server

First, navigate to the Discord Developer site at <https://discord.com/developers/applications>.&#x20;

![](/files/-MF3ab1-XXtbdHk_wGYG)

From here you will see your applications (bots). If you haven't created a bot yet, see the tutorial above this to learn how. Click the box for the bot you want to create an invite link for. This will take you to that application. Then click to the OAuth tab.

![](/files/-MF3asH01QVpK3CtkUsG)

From here you can click the "bot" checkbox, and a link will automatically appear in the bottom textbox, which you can then copy.&#x20;

![Link is shown at the bottom next to the copy button](/files/-MF3bBNZ32KePEbTPcOk)

Now paste that link into any browser window, and Discord will prompt you to add the bot to any servers that you are an owner of.&#x20;

![](/files/-MF3bTAFxqiYzsBLurfe)

Click the **Authorize** button, and you're done!


---

# 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.discordbotstudio.org/setting-up-dbs/inviting-a-bot-to-your-server.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.
