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

# Embeds Overview

`Embeds` provide a complete user experience for editing campaigns, email
templates, and other marketing primitives available within Pocketflows. Use
`Embeds` when you need to present a user interface to a small-business owner or
even to internal teams.

## Quickstart

1. Ensure that you have a business created either via the sync or business
   creation endpoints.
2. `POST /businesses/:id/embeds` returns
   ```json theme={null}
   {
     "id": "e_XXXXXX",
     "business": "bu_XXXXX",
     "expires_at": "2025-03-31T16:42:03.155Z",
     "url": "embeddable url"
   }
   ```
3. Take the `url` provided in the response and pass it as the `src` in an
   `iframe` to render the embed!
   ```html theme={null}
   <iframe src="{response.url}"></iframe>
   ```
   We recommend that the `iframe` take up the as much of the viewport as
   possible.
