# 1. Initial Setup

#### Step 1: Add the Bot to Your Server

1. Invite the bot using the Discord OAuth2 link through the official website and grant all the necessary permissions

<https://discord.com/oauth2/authorize?client_id=1445404816225337426&permissions=4503601775242384&integration_type=0&scope=bot+applications.commands>

When you add the bot, it automatically:

* Creates a `support` channel for ticket creation
* Creates a `support-logs` channel for activity logs
* Starts a 5-day free trial with AI features enabled
* Sends you a welcome message

{% hint style="info" %}
Note: If channels weren't created automatically, ensure the bot has "Manage Channels" permission.
{% endhint %}


---

# 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://ansari-labs.gitbook.io/ansari-labs/products/ai-powered-ticket-tool/setup-guide/1.-initial-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.
