# Using Embed + API/Zapier

The White Swan embedded experience is designed for adaptability. Using our API and/or Zapier integration, you can customize any [plan request experience](/partner-knowledge-base/platform-overview/client-experience/personal-plan-requests.md) and use the returned URL in your embed.

**Example Customizations:**

* **Tailor Plan Requests:** You can cater to specific scenarios by exclusively offering expedited products, specific policy types, and more. Provide answers to any [personal plan](/partner-knowledge-base/platform-overview/client-experience/personal-plan-requests.md) question to skip this question for the end-user.&#x20;
* **Turbo-Mode Configuration:** Configure the request to be in **turbo-mode** to bypass the entire extras section.
* **Pre-fill Client Data:** Pre-fill requests with information you already possess, such as contact details, gender, and date of birth. These question are then skipped, expediting the request process for your client.

{% hint style="info" %}
To go the extra mile in leveraging existing client data to make the experience more convenient for the client, you can additionally use the Create Pre-Fill Information action [on Zapier](/partner-knowledge-base/zapier-integration/create-actions/create-pre-fill-information.md) or [in our API](broken://pages/cYM4fq0ODXlaFn0UH48A) to pre-fill information in [end-users applications](/partner-knowledge-base/platform-overview/client-experience/applications.md).
{% endhint %}

***

**How to Embed Customized URLs**

1. When setting up the [API Call: Start Personal Plan Request](/partner-knowledge-base/api-documentation/action-calls/start-personal-plan-request.md) (or comparable [action in Zapier](/partner-knowledge-base/zapier-integration/create-actions/start-personal-plan-request.md)), set the `Embed URL` parameter to `true` .
2. The action/call will return a unique URL. In your White Swan embed code, the **UNIQUE URL** should be replaced with the unique URL returned from the action/call.

```markup
<iframe src="UNIQUE URL" id="WhiteSwanIframe" style="width:100vw;min-width:100%;min-height:100vh" loading="eager" allowfullscreen></iframe>
<script src="https://cdn.jsdelivr.net/gh/pontuslagerberg/whiteswan@latest/partner_embed.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/pontuslagerberg/whiteswan@latest/partner_embed_styles.css">
```

3. Dynamically inserting the unique URL will vary based on your tech stack. For developers, our API provides a straightforward route. For Zapier users, your website builder may have a Zapier integration or a method to transfer data from another Zapier app into your website environment.

{% hint style="info" %}
If you're uncertain about building this integration, consider consulting with ChatGPT, a developer familiar with your tech stack, or get in touch with the White Swan for Partners team for assistance.
{% endhint %}


---

# 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://docs.whiteswan.io/partner-knowledge-base/embedding-white-swan/using-embed-+-api-zapier.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.
