# Save and update masters from your design app

Save a master to Mestra from InDesign, Figma or Canva, pull changes made in the web app back into your file, set each element's role, and open a design made in Mestra.

The Mestra app in InDesign, Figma and Canva can save your master to Mestra, so it shows on the [Masters](https://withmestra.com/docs/how-to/masters/) page and can be run from the web. It can also bring changes made in the web editor back into your file.

> **Before you start:**
>
> - Install the Mestra app for your tool and sign in. See [Install](https://withmestra.com/docs/install/indesign/).
> - You need the **Editor** or **Owner** role.
> - Choose a **Campaign** in the app first. The brand list is labelled **Centres** in the plugins. It's the same thing as a brand.

## Save master

1. Open your master: the document in InDesign (page 1), the master frame in Figma, or the master page in Canva.
2. In the Mestra app, tick the master's brand. Tick one brand. Without one, the app says "Tick the master's brand first." With more than one, "Tick one brand."
3. Select **Save master**. It says "Saving master…", then "Checking the master…".

When it is saved, a tag shows how the master stands: **Ready**, **Not ready** or **Checking**. A line says "Master saved." or "Master saved, but it can't be built from yet." The same master shows on the **Masters** page in the web app.

- Saving the same document again says "Replaced the earlier save of this document." If nothing changed it says "Nothing has changed since the last save."
- If the brand has a master with that name already, **Already exists** asks: "A master called … is already saved for" the brand. Select **Use it**, or **Save as a copy**.
- If something could not be read, the app says so: for example how many text frames or images are missing from the saved master, or that pictures were saved at preview quality because their links are missing.
- A master that uses fonts the brand doesn't have shows "Fonts missing:" with their names. Select **Add font** (or **Add fonts**). It opens the brand's **Font files** in your browser. Add them, then save again. See [Set up a brand](https://withmestra.com/docs/how-to/set-up-a-brand/#fonts).
- A master that doesn't match the design shows "Open it in Masters on the web to accept it." See [Masters in the web app](https://withmestra.com/docs/how-to/masters/#when-a-master-is-not-ready-on-a-difference).

A saved master counts to your storage. See [Library](https://withmestra.com/docs/concepts/library/).

Select **Run on the web** to open the saved master in your browser and run it there.

## Pull master changes

Pull master changes works in InDesign and Figma. In Canva it says "Pull is coming for Canva."

When someone edits a master in the web app and saves, the design file you have open is behind. The app says "Mestra has changes to this master (version N)." Select **Pull master changes** to bring them in.

If a document has no record of its version, the app doesn't look it up by itself. Select **Check for Mestra changes**. If there are none, it says "No changes from Mestra to pull."

Pulling lists each size's changes and any conflicts, where you changed the same thing the web app did. For each conflict, choose:

- **Keep mine**, to keep your version of that element.
- **Take Mestra's**, to take the web app's.

**Keep mine for all** and **Take Mestra's for all** answer every conflict at once. Select **Pull** to apply your choices. The app says how many were updated, kept, taken or skipped. If it says **Pull again for the rest**, select **Pull master changes** again.

If a pull fails, it says "Couldn't pull changes. Nothing was changed."

If you save a document that is behind, the app stops you with **Changed in Mestra**:

- **Pull Mestra's changes** pulls first. Then save again.
- **Save anyway as a new version** saves your file as the next version, over the web changes.
- **Cancel**.
- In Canva, where changes can't be pulled, **Open in Mestra** opens the master on the web.

## Roles

The **Roles** section lists the elements of your master with the role each plays. The roles are **Headline**, **Subhead**, **Body**, **CTA**, **Legal**, **Logo**, **Icon**, **Photo**, **Background** and **Decorative**. Mestra works out a role for each element, shown as **Auto**. The role decides how each size lays the element out.

To change a role, choose another in the element's row. A role set from the layer name shows "Set by the layer name". The section may say "No logo found. Pick it below.", "Two CTAs" or "No legal line" when something looks missing. Select **Refresh roles** to read the file again. When the list is long, it folds to a line such as "Roles · 3 frames". Select **Show** to open it, **Hide** to fold it.

Photos, logos, icons and backgrounds can only be pictures or shapes, so text can't take those roles.

## Open from Mestra

**Open from Mestra…** puts a design made in Mestra's editor into your design app. Select it, search the list (**Search designs**), and choose one. If there are none, it says "No designs yet. Start one in Mestra Studio." See [Start a design in Mestra](https://withmestra.com/docs/how-to/start-a-design/). A design opened this way keeps its link to its master, so **Save master** continues that master.

## What's next

- [Masters in the web app](https://withmestra.com/docs/how-to/masters/)
- [Run a campaign](https://withmestra.com/docs/how-to/run-a-campaign/)
- [Edit a size or master in the browser](https://withmestra.com/docs/how-to/edit-in-the-browser/)
