# STG Developments Login Script and Discord Bot Installation Guide

## Step 1 - Go to Server Developer Portal

Go to <https://discord.com/developers/applications> and Click on "New Application"

<figure><img src="https://3187277181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU12M7oy26c45QKFwdnAc%2Fuploads%2Fd3ZnE0tYX7SqR868AcLN%2Fffg.PNG?alt=media&#x26;token=db2ec915-df11-4f2a-b3bf-1174bec1e6d0" alt=""><figcaption></figcaption></figure>

## Step 2 - Add Bot

Go to the "Bot" section and click on the "Add Bot" button

<figure><img src="https://3187277181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU12M7oy26c45QKFwdnAc%2Fuploads%2FjTGfFIdVPXGesjTFApHB%2F2addbot.PNG?alt=media&#x26;token=151e9e42-bda6-4786-ac6f-92324887e698" alt=""><figcaption></figcaption></figure>

## Step 3 - Activate 3 options

Activate 3 options that showed in the picture

<figure><img src="https://3187277181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU12M7oy26c45QKFwdnAc%2Fuploads%2FBpRHvLLSvwqTzmqxGWBZ%2F3butonaktif.PNG?alt=media&#x26;token=399922e8-1223-4967-a456-bee68f048b2c" alt=""><figcaption></figcaption></figure>

## Step 4 - Reset Token

Click on the "Reset Token" button

<figure><img src="https://3187277181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU12M7oy26c45QKFwdnAc%2Fuploads%2Fj4wBma1rXri6BQtdDqIy%2F4resettoken.PNG?alt=media&#x26;token=f9badfa3-c88c-4534-88b2-120094dfc4ef" alt=""><figcaption></figcaption></figure>

## Step 5 - Copy Token

Copy the Token&#x20;

<figure><img src="https://3187277181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU12M7oy26c45QKFwdnAc%2Fuploads%2FwzODV3QQ42uJXRmENPrj%2F5copyt%C4%B1kla.PNG?alt=media&#x26;token=bbc1ae4a-5c5c-457c-ac95-7fd998e70be9" alt=""><figcaption></figcaption></figure>

## Step 6 - Config

Paste the token you copied before into Config file

<figure><img src="https://3187277181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU12M7oy26c45QKFwdnAc%2Fuploads%2FPziATlSEPeRS2gskIGRL%2F6token.PNG?alt=media&#x26;token=7e607572-9474-42a6-b403-f78aa2304f7b" 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://uur-dogan.gitbook.io/stg-developments-login-script-and-discord-guide/stg-developments-login-script-and-discord-bot-installation-guide.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.
