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

# Overview

> Understanding how embedding works

<Snippet file="embed-feature.mdx" />

This section provides an overview of how to embed the Activepieces builder in your application and automatically provision the user.

The embedding process involves the following steps:

**1. Provision Users**

Generate a JSON Web Token (JWT) to identify your customer and pass it to the SDK, read more [here](https://www.activepieces.com/docs/embedding/provision-users.md).

**2. Embed Builder**

You can use the SDK to embed and customize Activepieces in your SaaS, read more [here](https://www.activepieces.com/docs/embedding/embed-builder.md).

Here is an example of how it looks like in one of the SaaS that embed Activepieces:

![Embedding Example](https://mintcdn.com/activepieces/uHZ35vXyxX7goNO-/resources/screenshots/embedding-example.png?fit=max\&auto=format\&n=uHZ35vXyxX7goNO-\&q=85\&s=4ef307c798f68cfbdbab3a90e275a512)

> [!TIP]
>
> In case, you need to gather connections from your users in your SaaS. You can do this with the SDK. Find more info [here](https://www.activepieces.com/docs/embedding/embed-connections.md).

> [!TIP]
>
> If you are looking for a way to communicate between Activepieces and the SaaS embedding it through a piece, we recommend you check the [custom property doc](https://www.activepieces.com/docs/build-pieces/piece-reference/properties.md#custom-property-beta)


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