> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://tieback.io/docs/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://tieback.io/docs/_mcp/server.

# Advanced Studio (Track B)

> Author fully custom passport templates in Advanced Studio, rendered inside a sandboxed iframe under strict content security policy boundaries.

Advanced Studio is the **Track B** authoring environment for brands that need pixel-precise, fully bespoke passport templates that go beyond what theme tokens can express.

## When to Use Advanced Studio

| Situation                                                                               | Use                                                 |
| --------------------------------------------------------------------------------------- | --------------------------------------------------- |
| Brand identity is satisfied by token customisation                                      | [Theme Studio](/authoring-studios/theme-studio)     |
| Layout and content are well-served by standard sections                                 | [Content Studio](/authoring-studios/content-studio) |
| Brand requires unique HTML/CSS layouts, custom interactions, or non-standard typography | **Advanced Studio**                                 |

## Security Model

Advanced templates are **untrusted authoring input**. They are rendered under a strict zero-trust model:

* All template input is sanitised at publish time
* Rendered output is served inside a **sandboxed iframe** using `srcdoc`
* A strict Content Security Policy boundary prevents the template from reaching the parent page, the network, or workspace data
* Trusted data injection uses the `mergeCuratedTemplate` pipeline, the raw Handlebars `{{{ }}}` triple-mustache is never permitted

## Authoring Workflow

#### Draft

Author the template in Advanced Studio with live preview against representative product data.

#### Validate

The publish pipeline runs structural and security validation before accepting the template.

#### Publish

Publishing creates a new template version. Existing passports are not retroactively re-rendered.

#### Apply

Assign the published template at the product or batch level so future mints render against it.

## Plan Availability

Advanced Studio is gated by subscription plan. Workspaces on plans without Advanced Studio see the surface in read-only inventory mode.

## Related Docs

* [Theme Studio](/authoring-studios/theme-studio)
* [Content Studio](/authoring-studios/content-studio)
* [Themes & Presentation](/passports/themes-presentation)
* [Security Architecture](/getting-started/security-architecture)