> ## Documentation Index
> Fetch the complete documentation index at: https://docs-classic.cognigy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# xApp: Get Session PIN

![xApp Get Session PIN Node configuration panel](https://mintcdn.com/cognigy-docs-legacy/sbu8K_1z3Hht9e7i/_assets/ai/develop/node-reference/xApp/get-xApp-session-PIN.png?fit=max\&auto=format\&n=sbu8K_1z3Hht9e7i\&q=85\&s=22b23ea9db3a4c61950cfd478e435b23)

## Description

This Node generates a new xApp session PIN. You can access it using the [xApp: Get Session PIN](https://docs-classic.cognigy.com/xApps/tokens.md#xapp-session-pin) token or via `input.apps.session.pin`.

The PIN code is only valid for 5 minutes.

With this PIN, users can log in via an xApp PIN webpage.

### xApp PIN Page URL

Share the xApp PIN Page URL with users, where they can enter the PIN. The URL can be sent in the Flow with an [xApp PIN Page URL](https://docs-classic.cognigy.com/xApps/tokens.md#xapp-pin-page-url) Cognigy token.

## More Information

* [xApp Tokens](https://docs-classic.cognigy.com/xApps/tokens.md)
* [xApp Nodes](https://docs-classic.cognigy.com/ai/agents/develop/node-reference/xApp/overview)
* [xApp: Init Session](https://docs-classic.cognigy.com/ai/agents/develop/node-reference/xApp/init-xApp-session.md)
* [xApp: Show HTML](https://docs-classic.cognigy.com/ai/agents/develop/node-reference/xApp/set-html-xApp-state.md)
* [xApp: Show Adaptive Card](https://docs-classic.cognigy.com/ai/agents/develop/node-reference/xApp/set-AdaptiveCard-xApp-state.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.