---
url: /technical/embed-tokens.md
description: >-
  Embed tokens generate a URL that gives public or password-protected access to
  a screen, without requiring a MODLR login.
---

# Embed Tokens

An embed token is a URL that gives access to a single screen without requiring a MODLR login. Embed tokens are created within an application, directly from the screen they grant access to.

## Access control

* **Public or password-protected** - an embed token can be generated to require a password on access, or left open for anyone with the URL.
* **Element-level access** - within the embed token, access can be set at an element level, scoping what data the screen shows independently of any requesting user, since there is no logged-in user.

## Use cases

Embed tokens are useful for sharing a screen outside of MODLR, for example embedding it in an external website via an iframe, or sending a link to someone without a MODLR account.

## Examples

These are examples of embeds built by the MODLR team, showing what an embedded screen can look like:

* **[Reporting and Planning](https://demo-xero-planning.modlr.cloud/embed?t=3f188681db05f7addb70494ae2abce58c61d13a1cc5ba6706153a535eeae9579)** - a multi-page embed illustrating the crossover between reporting and planning. The sections highlighted in blue are clickable and drill through into full planning interfaces, and the **Instructions** page inside the embed walks through each of them in more depth. It also demonstrates a Card [drilling through to a live SQL query](/card-guides/drill-down-to-sql.html) - using the [SQL Table and SQL Variable components](/card-guides/sql-table.html) to run and display a query straight from a database table rather than a MODLR Cube - and that same Card [running inside Excel](/card-guides/cards-in-excel.html) as well as the web portal.
* **[Charts for BI](https://pipeline-demo.modlr.cloud/embed?t=e02b6c0a2dd460c7c77af71d5e5ee63a908f97087e3ee849f31137d19f41ce6a)** - a single-page embed showing the range of chart types MODLR can produce for BI purposes. On several of the charts, the legend itself is interactive - clicking an entry toggles that series on or off.
* **[Sales Pipeline](https://pipeline-demo.modlr.cloud/embed?t=a9148bda714a67130e8cb200c6c2a443682703e9b47a040570d47ca742761829)** - a single-page sales pipeline model.
* **[Campaign Planning](https://pipeline-demo.modlr.cloud/embed?t=a09ee3bd636d2a734b3df21eb53f1410140fc9673535dbf8029cdb3c1a87be32)** - a single-page campaign planning model.
* **[Waterfall Analysis](https://pipeline-demo.modlr.cloud/embed?t=9c2af6e153850f6236dd00912fe777ef39ff8d3834e40eabd7597f27afba4d3f)** - a single-page embed showing a model used for comparison, utilising a waterfall chart.

::: info
These demo servers are hosted in Sydney, Australia.
:::

## Related entries

* [Screens](/technical/screens)
* [About Applications](/technical/about-applications)
* [Custom Pages](/technical/custom-pages)
