# Admin Commands & Configuration

#### Q: How do I set up admin roles?

A: Use /add admin-role \<role> to grant admin permissions to a role. Only server administrators can assign admin roles.

#### Q: What can admin roles do?

A: Admin roles can:

* Deploy ticket panels
* Configure AI settings
* Manage knowledge base
* View analytics
* Set up ping roles
* Configure ticket limits

#### Q: How do I set up ping roles?

A: Use /add pingrole \<role> to configure roles that will be pinged when:

* New tickets are created
* Tickets remain unresolved after 2 AI responses
* Continue responses are triggered

#### Q: How do I deploy the ticket panel?

A: Use /add support \<channel> to deploy the ticket panel to a channel. The panel includes the "Open Ticket" button and any custom buttons you've configured.

#### Q: How do I set the logs channel?

A: Use /add logs \<channel> to set a custom channel for ticket logs. If not set, logs go to the default support-logs channel.

#### Q: How do I add custom buttons to the panel?

A: Use /add button \<button\_id> to add a custom button. You'll configure:

* Button label
* Button color (hex code)
* Maximum 4 custom buttons allowed

#### Q: How do I remove a custom button?

A: Use /remove button \<button\_id> to remove a button, then redeploy the panel with /add support.

#### Q: How do I set ticket limits per user?

A: Use /set-ticket-limits \<number> to set the maximum number of open tickets a user can have. Default is 1, but you can allow multiple tickets.

#### Q: What analytics are available?

A: Use /analytics to view:

* Ticket statistics (created, closed, open)
* Activity trends
* Staff performance metrics
* AI performance metrics
* Usage analytics
* Subscription health


---

# 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/faqs/admin-commands-and-configuration.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.
