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

# xApps Overview

> Learn about Cognigy xApps concepts, including sessions, screens, and how to build flexible micro-web applications for customer self-service within conversational journeys.

<a href="/release-notes/4.51"><Badge className="version-badge" color="blue">Updated in 4.51</Badge></a>

<Note>
  The existing payment terms for xApps are outlined in the [Billing](https://docs.cognigy.com/ai/administer/billing/) article. Cognigy reserves the right to change the billing of xApps in the future.
</Note>

Cognigy xApps are infinitely flexible micro-web applications for customer self-service.
xApps can be used stand-alone or complementary to any channel to enhance AI and human agents'
capabilities and to overcome channel limitations compromising user experiences.

The behavior of xApps is controlled via a set of [xApp Flow Nodes](/ai/agents/develop/node-reference/xApp/overview).
You can build the actual xApp pages in two ways,
by providing [HTML code](/ai/agents/develop/node-reference/xApp/set-html-xApp-state)
or by specifying an [Adaptive Card in JSON](/ai/agents/develop/node-reference/xApp/set-AdaptiveCard-xApp-state).
Alternatively, for more customization, you can create your own Node by implementing and uploading an Extension.

Watch this webinar to get a quick overview of what xApps are, how they work, and in which scenarios you can use them. The webinar also includes a tutorial on how to build a simple xApp.

<iframe width="701" height="438" src="https://www.youtube.com/embed/4qvZGG6qK6w" title="Design Multimodal Customer Journeys with Cognigy xApps" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen class="centered-iframe" />

## Compatibility

* Cognigy xApps are compatible with the [supported browsers and channels](/xApps/supported-browsers-and-channels).

## Concepts

### Session Concept

An xApp Session can be accessed via the URL and be initialized via the [xApp: Init Session](/ai/agents/develop/node-reference/xApp/init-xApp-session) Flow Node. The xApp Session displays a sequence of xApp pages that can be configured as desired. A maximum of one xApp Session can be initialized per Cognigy Session.

### Screen Concept

The Shell Page has a set of configurable built-in screens. These default screens can be used to interact with end users, for example, when the xApp content is not displayed. These default screens are part of the Shell Page, which holds the connection to the Cognigy.AI backend.

#### xApp Screen

The xApp Screens are shown when the xApp page is launched, fails to launch, encounters an Error, and is halted.

<Frame>
  <img src="https://mintcdn.com/cognigy-15abf2ba/ro36lDWu-iFO3b_v/_assets/xApps/success-screen.png?fit=max&auto=format&n=ro36lDWu-iFO3b_v&q=85&s=855025acab5a01c4f3d3a6f6be47aa0e" alt="xApp success screen displayed when a page launches successfully" style={{ width: 'auto' }} width="928" height="695" data-path="_assets/xApps/success-screen.png" />
</Frame>

<Frame>
  <img src="https://mintcdn.com/cognigy-15abf2ba/ro36lDWu-iFO3b_v/_assets/xApps/error-screen.png?fit=max&auto=format&n=ro36lDWu-iFO3b_v&q=85&s=d110e07e0b2fb3507e7ed6316902346e" alt="xApp error screen displayed when a page fails to launch" style={{ width: 'auto' }} width="928" height="663" data-path="_assets/xApps/error-screen.png" />
</Frame>

#### Intermediate Screen

The Intermediate Screens are displayed to the end user while no xApp page is configured to be displayed. The default Intermediate Screen can be replaced with a custom-built xApp page.

<Frame>
  <img src="https://mintcdn.com/cognigy-15abf2ba/ro36lDWu-iFO3b_v/_assets/xApps/intermediate-screen.png?fit=max&auto=format&n=ro36lDWu-iFO3b_v&q=85&s=0004b6d1ed94872f022f27095a7730c5" alt="Default intermediate screen shown while no xApp page is configured" style={{ width: 'auto' }} width="928" height="695" data-path="_assets/xApps/intermediate-screen.png" />
</Frame>

#### Connection Screen

The Connection Screens are shown while the real-time connection to the backend is re-established. The default Connection Screen can be replaced with a custom-built xApp page.

<Frame>
  <img src="https://mintcdn.com/cognigy-15abf2ba/ro36lDWu-iFO3b_v/_assets/xApps/connection-screen.png?fit=max&auto=format&n=ro36lDWu-iFO3b_v&q=85&s=3b48826fce0ed01fc77afaa05410cb92" alt="Connection screen shown while re-establishing the backend connection" style={{ width: 'auto' }} width="928" height="695" data-path="_assets/xApps/connection-screen.png" />
</Frame>

#### PIN Screen

The PIN Screen prompts the end user to enter the xApp Session PIN. The user needs to provide the correct PIN to access the xApp pages. Requesting a PIN to enter the session is optional.

<Frame>
  <img src="https://mintcdn.com/cognigy-15abf2ba/ro36lDWu-iFO3b_v/_assets/xApps/pin-screen.png?fit=max&auto=format&n=ro36lDWu-iFO3b_v&q=85&s=dd8acb736d73655cc5b9c3118fa2fd74" alt="PIN entry screen prompting the user to access the xApp session" style={{ width: 'auto' }} width="928" height="663" data-path="_assets/xApps/pin-screen.png" />
</Frame>

## How it Works

To learn more about how an xApp works, read the [Use cases](/xApps/use-cases) and [Build your first xApp](/xApps/build/first-xApp) articles.
You can find ready-made examples of xApps in the [Cognigy GitHub](https://github.com/Cognigy/xApps/tree/main) repository.

## More Information

* [Architecture](/xApps/architecture)
* [xApp Nodes](/ai/agents/develop/node-reference/xApp/overview)
* [xApp Tokens](/xApps/tokens)
* [xApp Flow API](/xApps/api)
