---
sidebar_position: 2
sidebar_label: Invite Bot To Server
---

# How to Invite a Discord Bot to a Discord Server

In order to invite a Discord bot to your Discord server, you will need to follow these steps:

## Step 1: Get Your Bot's ID

1. Go to the [Discord Developer Portal](https://discord.com/developers/applications) and log in to your account.
2. Click on your application and go to the "General Information" tab.
3. Copy your bot's ID. It may be called Application ID.

## Step 2: Generate an Invite Link for Your Bot

1. Go to the [Discord Permissions Calculator](https://discordapi.com/permissions.html).
2. Enter your bot's client ID in the "Client ID" field.
3. Select the permissions you want your bot to have on your server.
4. Click the "Generate Link" button.
5. Copy the generated link.

## Step 3: Invite Your Bot to Your Server

1. Open the generated invite link in your web browser.
2. Select the server you want to invite the bot to.
3. Click "Authorize" to add the bot to your server.

And that's it! Your bot should now be in your Discord server and ready to use. If you encounter any issues, be sure to check your bot's permissions and make sure it has the necessary permissions to perform its tasks.
