These features are only available for Census Embedded customers. If you don’t see these options, please reach out to Customer Support.

iframe
embedded in your application, pointing to a Census sync management link. To see a working example, check out our Embedded Demo application (source code).
This component allows end users to create and manage their Census syncs from your application.
1
Initial Setup
The origin URL is the domain of the application you embed
the
iframe
in. For instance, https://my-site.com
. Only approved URLs
are allowed to embed these components. Before you get started, you’ll
need to provide your Census account manager with your URL(s), or reach
out to us at support@getcensus.com.If you’re developing locally, please send us a unique, publicly accessible URL pointing to your local instance. You can use ngrok or other similar tools to generate this for your localhost.
2
Generate a Sync Management Link
You can create Sync Management Links via the Sync Management Link API.
3
Embed the Sync Management Link in an iframe
4
Handle events from the iframe
The ExitedThis event indicates the user has quit the sync management flow. If a sync was succesfully created, the following payload will be returned:otherwise the payload will indicate a sync was not created:
iframe
emits events using the postMessage API.
The following events are available to help you manage the iframe
lifecycle, via the data
property of the message:LoadedThis event indicates the iframe
is ready to be shown to the user.