# Setting Up

## Step 1 — Invite the Bot

Click the link below to add InviteCount to your server:

{% embed url="<https://invite-count.xyz/invite>" %}

Select the server you want to add the bot to, then click **Authorize**. Make sure all requested permissions are granted.

## Step 2 — Verify Permissions

Once InviteCount joins your server, run:

```
/permscheck
```

This will tell you if any permissions are missing. See [Permissions](/getting-started/permissions.md) for the full list.

{% hint style="warning" %}
Without **Manage Server** and **Manage Channels**, InviteCount **cannot track invites**.
{% endhint %}

## Step 3 — Automatic Tracking

InviteCount starts tracking invites **immediately** after joining. No additional setup is required for basic invite tracking.

To sync existing invites that were created before the bot joined, run:

```
/syncinvites
```

## Step 4 — Configure Features

Use the [**Dashboard**](https://invite-count.xyz/dashboard) to configure:

* **Join/leave messages**
* **Autoroles**
* **Ranks**
* **Verification**
* **Giveaways**

Use `/help` to see the full list of available commands, or `/help <command>` for details about a specific command.

## Step 5 — Explore Premium (Optional)

InviteCount works great for free, but [**Premium**](/reference/premium.md) unlocks advanced features like:

* Pinned leaderboards
* Server logging
* Alert invites with webhooks
* XP management
* Extended graph history
* And more

Visit [invite-count.xyz/premium](https://invite-count.xyz/premium) to learn more.


---

# 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.invite-count.xyz/getting-started/setup.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.
