# Add a page from a template

## Templates

To add a bundled service, open the collection chevron and choose **New from
Template…** beside **New Collection**. The install window adds pages to that
collection. Choose a service, then work down the steps in its sidebar: **Connect**
(or **Place**) for its address or location, **Sign in** for its token, **List** when
its pages read one, and **Review**. Each service shows only the steps it needs.
**Continue** checks the step you're leaving; a step with something to fix gets a dot
in the sidebar, and you can click any step to go back to it.

**Review** shows the hosts the pages will contact, the pages it adds, how often they
check, and the server buttons; **Requests** lists each button's method and path.
Nothing is sent before you continue from **Sign in** or click **Install**.

Each secret is required: keep the one already saved, give a 1Password reference, or
paste a token. **Continue** on **Sign in** checks the service with it, and **Install**
checks again and writes no page if the service refuses it or can't be reached. Tokens
go to the Keychain, bound to the displayed host, after the pages are written. You can
also manage these in **Settings → Secrets**.

A list the pages read is optional. Pick one from **Settings → Lists**, make a new
one, or leave **No list**. Add or remove its names right there, or click a suggested
name; changes are saved to the list when you click **Install**.

Install opens the first sidebar page. If pages already exist, the window names
them and offers to open them without replacing them.

A service that adds two or more pages to the sidebar, such as YNAB or Lunch Money,
puts them in a section named after the service, in the order the service lists
them. If that collection already has a section with the name, the pages go at its
end. Detail pages never count toward the two and stay out of the sidebar. With no
collections, the pages are ungrouped as before. If Legato can't make the section,
nothing is installed, and you can try again.

A `legato://install/<service>` link opens this same window on that service's
**Review** step, with the steps still to fill marked, using the
default collection, or ungrouped when there are no collections. A service page with a
template has one as its **Install in Legato** button. A link may also carry answers
(`?url=…`), but the site's buttons don't: Legato asks for them.
A link never installs by itself. Invalid links show a short error and do nothing.
