# Setup Invite Tracking

## A) Using the dashboard

Firstly you need to go on [this page](https://invitelogger.me/dashboard/guilds) and Authorize the bot to access to your discord profile

![](https://1233429419-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MW_7KWGOtXaonSVC9Jd%2F-MW_7hB2mKRgw7cPJskO%2F-MW_AeWPenkItmhH5Hty%2Fimage.png?alt=media\&token=0b466061-cfc2-4778-a2ea-79ba1dc8d155)

Then select your server in the list:

<figure><img src="https://1233429419-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MW_7KWGOtXaonSVC9Jd%2Fuploads%2FSnPmimk0kvYbwAqWQ6pv%2Fimage.png?alt=media&#x26;token=3e1b74c2-6169-40a5-a42d-a80e1a868c72" alt=""><figcaption><p>For this example I'll select inviteLogger support</p></figcaption></figure>

{% hint style="warning" %}
You can't see your server in the list? Just click on your avatar at the top-right and click on the red logout button. Then restart this tiny tutorial. If it doesn't fix the problem please ensure you have administrator permissions on your server.
{% endhint %}

Once you've clicked, edit the settings to match with what you need and click on the invite section.

<figure><img src="https://1233429419-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MW_7KWGOtXaonSVC9Jd%2Fuploads%2FQkkd4QMTAgHa2ehf2dHc%2Fimage.png?alt=media&#x26;token=fa2b5308-777c-4d40-9582-c99babdbab4f" alt=""><figcaption></figcaption></figure>

You should see something like that:&#x20;

<figure><img src="https://1233429419-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MW_7KWGOtXaonSVC9Jd%2Fuploads%2FGOLREwCQLGr67ItYUULP%2Fimage.png?alt=media&#x26;token=6bae57d2-99e1-4045-be41-31c4708e8af2" alt=""><figcaption></figcaption></figure>

To enable invite logging in channels, tick the two switch on the right top of the frame&#x20;

<figure><img src="https://1233429419-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MW_7KWGOtXaonSVC9Jd%2Fuploads%2FmK82fV7xkddIsJttMO4w%2Fimage.png?alt=media&#x26;token=d1845147-0c12-4b3a-8812-a301ade4e523" alt=""><figcaption></figcaption></figure>

And below select channels where you want the join/leave messages to be sent

<figure><img src="https://1233429419-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MW_7KWGOtXaonSVC9Jd%2Fuploads%2F7tb0CpDb1y3DxTj0K6BW%2Fimage.png?alt=media&#x26;token=c62d3f2a-bfef-4da6-9f2a-79d4c8cb29bc" alt=""><figcaption></figcaption></figure>

It is done 🎉

{% hint style="danger" %}
If the logging message isn't sent, check the ability for the bot to send message in invite tracking channels\
Use the `/diagnose` command to have a complete overview of the bot permissions
{% endhint %}

## B) Using commands

To setup the invite tracking, you can use the `/setLogs` command

<figure><img src="https://1233429419-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MW_7KWGOtXaonSVC9Jd%2Fuploads%2FYdiMumEtUcFDGxLm8hRN%2Fimage.png?alt=media&#x26;token=d1e1c065-70df-4c26-b45d-9868728840c2" 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://docs.invitelogger.me/general-topics/invite-tracking/setup-invite-tracking.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.
