> For the complete documentation index, see [llms.txt](https://docs.getpolsec.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getpolsec.com/basics/quick-start.md).

# Quick Start

A quick start on using PolSec

## Making a script

You can use the <mark style="color:blue;">**/createscript**</mark> command to make a new script project inside the bot!

You also need to save the keys the bot sends you when you do <mark style="color:blue;">**/createscript**</mark>

**Arguments:**

* scriptname: \<string> The name of your script
* webhook: \<string> A discord webhook where the notifications will be sent

***

## Linking your discord server

You need to use the <mark style="color:blue;">**/link**</mark> command to link your script with the discord server!

**Arguments:**

* apikey: \<string> The api key the bot sent you when you did <mark style="color:blue;">**/createscript**</mark>
* role: \<discord role> This role will be able to access the PolSec commands

***

## Adding the whitelist to your script

You need to run <mark style="color:blue;">**/apply**</mark> with your script which will automaticly add the whitelist to your script and upload it to the panel if you click the "setup" button

**Arguments:**

* file: Your script that you want to add the whitelist to
* enhancedsecurity: Adds a better anti tamper to your script which can cause performance issues

***

## Making a panel

You can make a panel with the <mark style="color:blue;">**/panelsetup**</mark> command

***

## TLDR

Run these commands in order if you didnt understand this

1. <mark style="color:blue;">**/createscript**</mark> with your scripts name and a [discord webhook](https://www.youtube.com/watch?v=fKksxz2Gdnc)
2. /link with the api key createscript gave you and the role you want to have access to admin commands (like /whitelist etc)
3. /apply with your script source and click setup
4. Run /panelsetup to get a panel


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.getpolsec.com/basics/quick-start.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
