# Deploy a Loyalty Microsite

The microsite is a white-labeled web app that gives your users access to your loyalty program features without requiring custom front-end development. You can read more about its capabilities on the [Loyalty Microsite](https://kbase.whitelabel-loyalty.com/product/interfaces/white-label-interfaces/loyalty-microsite) overview page in the Product Docs.

{% hint style="info" %}
This guide is for developers responsible for **embedding the microsite.** It covers the key steps—domain, embedding and authentication. The steps should be followed in order.
{% endhint %}

{% hint style="info" %}
The microsite can also be used as a standalone website or PWA. More information on this implementation can be found in our [Get started with the microsite](https://kbase.whitelabel-loyalty.com/product/interfaces/white-label-interfaces/loyalty-microsite/get-started-with-the-microsite) guide.
{% endhint %}

{% stepper %}
{% step %}

### Configure your domain

When your microsite is provisioned, it is accessible using a default URL on a WLL domain.

To provide a fully white-labeled and seamless experience, configure the microsite to be served from a subdomain of your own domain.

<a href="/pages/aKrFFS8X67HTgVEWMXiL" class="button primary" data-icon="globe">Configure a microsite domain</a>
{% endstep %}

{% step %}

### Embed your microsite

Embed the microsite directly into your digital channels:

* Website: add it to your site using an <kbd>iframe</kbd>.
* Mobile app: add it using a <kbd>WebView</kbd>.

This ensures the microsite runs seamlessly inside your existing user experience.

<a href="/pages/PkVcFtzfZSz2vsNVJIsM" class="button primary" data-icon="square-dashed-circle-plus">Embed a microsite in a website or app</a>
{% endstep %}

{% step %}

### Authenticate your users

Choose how users will sign up and log in to the microsite. Most implementations use embedded authentication, where users authenticate through your existing system and the microsite session is created automatically.

Alternatively, you can configure interactive authentication using OAuth2, which redirects users to your identity server for sign-up and log-in before establishing a session.

<a href="/pages/w5inwE1s8xq9XpwbAKLn" class="button primary" data-icon="key">Authenticate users in a microsite</a>
{% endstep %}
{% endstepper %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kbase.whitelabel-loyalty.com/developer/guides/deploy-a-loyalty-microsite.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
