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

# Offline Messaging

> Learn how to receive push notifications when the app is not running.

## Before you begin

1. Register a [QuickBlox account](https://admin.quickblox.com/signin). This is a matter of a few minutes and you will be able to use this account to build your apps.
2. Configure QuickBlox SDK for your app. Check out [Setup](/sdks/js-setup) page for more details.
3. Create a user session to be able to use QuickBlox functionality. See [Authentication](/sdks/js-authentication) page to learn how to do it.
4. Connect to the Chat server. See [Connection](/sdks/js-chat-connection) page to learn how to do it.

Visit [Key Concepts](/docs/key-concepts) page to learn the most important QuickBlox concepts.

## Enable offline messaging

When you send a chat message and the recipient is offline, then an automatic push notification will be fired. To receive push notifications you need to subscribe for them. Please refer to [Push Notifications](/sdks/js-push-notifications) guide.

To configure push template that users receive, go to **Dashboard => *YOUR\_APP* => Chat => Offline messaging**.

<Warning>
  FCM data messages can be sent to the Android app. QuickBlox doesn't support FCM notification messages.

  To process FCM data messages on your app when the app is in the background, you need to handle them. If not handled, they will not pop on the screen even if the app has received such push notification. See [FCM documentation](https://firebase.google.com/docs/cloud-messaging/concept-options#notifications%5Fand%5Fdata%5Fmessages) to learn more about data messages.
</Warning>

<Warning>
  Currently, push notifications are supported in a mobile environment only.
</Warning>
