> 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

Setting a security pin.

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="https://1245177586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRR6d8n2Nuia20P04f2UH%2Fuploads%2FOU0ntXK9f6UALexJ1pWg%2Fimage.png?alt=media&amp;token=70338312-857d-415c-b562-364a753d1ec7" 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="https://1245177586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRR6d8n2Nuia20P04f2UH%2Fuploads%2FO3RfRWJx8VpxXFBb4Fwd%2Fimage.png?alt=media&amp;token=4403ab9c-3f62-44e4-aa6e-e7815a4549d1" 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 %}
