Skip to main content

Embedded Component

Embed Q-Flow UI components into your application

Prerequisites

To embed Q-Flow UI components into your application, you'll need a valid API Key and a Subscriber Group key.

The Embedded Component feature allows you to easily integrate Q-Flow UI components directly into your application, providing a seamless user experience without having to switch between platforms.

Embedded Component

Embedding Options

Currently, the solution can be embedded using an iframe. We're working on expanding embedding options in future updates, so stay tuned!

Retrieve Your Embedded Token

To embed the Qala Subscriber Component, you first need to retrieve your embedded token from the API.

curl -X GET "https://api.qalatech.io/v1/security/subscriber-groups/<your-subscriber-group-id>/session-token" \
-H "x-auth-token <your-api-key>"

Embedding the Subscriber Component

Once you've retrieved your embedded token, you can embed the Qala Subscriber Component into your application. Here's how you can do it:

<iframe
title="Qala Embedded Subscriber"
src="https://embedded-subscriber.qalatech.io?token=<your-embedded-token>&themeMode=<light|dark>"
style="width: 100%; height: 100%; border: none; background-color: transparent;" />