Embedding a public app

Embed a public Juicebox app on any webpage using a simple iframe.

If your Juicebox app is shared as a Public link, you can embed it on any webpage without needing the API or user accounts.

How to get the embed code

  1. Open your app in the Juicebox editor.

  2. Click Share (or Sharing) in the upper-right.

  3. Make sure the app access is set to Public link.

  4. Select Copy Embed Code.

  5. Paste the embed code into your webpage's HTML. It will look something like this:

<iframe
  src="https://your-workspace.myjuicebox.io/a/your-app-slug/embed/"
  width="100%"
  height="800"
  frameborder="0"
></iframe>

When to use this approach

Public embedding works well when the data is not sensitive and you want the broadest possible access. Anyone who can view the webpage will be able to see the app.

If you need to control who can see the app or limit what data different users see, use access views instead.

circle-exclamation

Customizing the iframe

You can adjust the width, height, and other standard iframe attributes to fit your page layout. For a responsive embed, you can wrap the iframe in a container with CSS:

Last updated

Was this helpful?