> For the complete documentation index, see [llms.txt](https://banana-gun.gitbook.io/banana-gun/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://banana-gun.gitbook.io/banana-gun/trading/settings/security-pin-settings.md).

# Security Pin Settings

This menu lets you set a security PIN, locking the bot for a specified duration to prevent unauthorized access on your device.

<figure><img src="/files/A2YTbqmdGFpBYoEVqc6C" alt=""><figcaption><p>PIN Menu</p></figcaption></figure>

* Click "Set Security Pin" and follow the steps to enter a Pin.&#x20;
* The bot will now be protected by a PIN, which will be required to re-enter after your session ends to start a new one.

<figure><img src="/files/i5tRy2QUvyh52Y220hoM" alt=""><figcaption><p>PIN Settings Menu</p></figcaption></figure>

1. **Pin set:** Indicates whether a PIN is currently set.
2. **Pin pending:** True or False.
3. **Pin session:** Session duration.
4. **Scraper bypasses pin lock:** Indicates "true" if scraper is bypassing pin lock.&#x20;
5. **Session Length:** Set session duration.
6. **Scraper bypasses pin lock:** Set the scraper to work even when session is locked.&#x20;

{% hint style="info" %}
Type `/refresh` to extend a session nearing expiration.
{% endhint %}


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://banana-gun.gitbook.io/banana-gun/trading/settings/security-pin-settings.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
