> ## Documentation Index
> Fetch the complete documentation index at: https://paper.brimble.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Deploy an app from a template

> Templates deploy a ready-made app, with its services, databases, and storage, into your workspace in one step.

A template is a ready-made `brimble.toml` for a popular app, such as n8n, Metabase, Plausible, or WordPress. Deploying it creates every service and database the app needs, wires them together, and generates its passwords and keys.

Templates replaced the MCP server marketplace. To run an MCP server, [deploy it as a project](https://paper.brimble.io/projects/deploy-an-mcp-server.md).

## Browse templates

1. In the sidebar, click **Templates**. The overview page also shows **Featured templates**, with a **Browse templates** button.
2. Narrow the list:
   * **Category tabs**: `All`, plus one tab per category.
   * **Search**: matches a template's name, description, and tags.

Click a card to open the template. Its page shows:

* A long description: what the app does, what the template includes, the environment variables it sets, and first steps after deploying.
* The number of services and databases it creates, its category, and when it was last updated.
* Links to the app's website and documentation, when the author provided them.
* **Download brimble.toml**, the file the template deploys.
* **Similar templates** from the same category.

### The verified badge

A **Verified by Brimble** badge next to a template's name means the Brimble team has marked it as verified. Only the Brimble team can set it. Submitted templates don't get it automatically.

## What a template sets up

A template is a [brimble.toml](https://paper.brimble.io/config-as-code/brimble-toml.md) file, so it can describe anything that file can:

* **Services** that run from a public, prebuilt image, with their port, CPU and memory, and [volumes](https://paper.brimble.io/volumes/overview.md) for data that must survive restarts.
* **Managed databases**, linked to the services that use them.
* **Buckets** for [object storage](https://paper.brimble.io/object-storage/overview.md).
* **Environment variables** on each service, including references to the database's connection details.

Each service and each database becomes its own project in your workspace.

## Deploy a template

**1. Open the template**

Open the template's page and click **Deploy template**.

**2. Pick a region**

The dialog lists the regions you can deploy to. If the template includes a database, only regions that support both services and databases are listed. Every service and database in the template is placed in the region you pick. See [Regions](https://paper.brimble.io/projects/regions.md).

**3. Fill in the inputs**

Some templates ask for values only you can provide, such as an admin email address. Required fields must be filled before **Deploy** is enabled. Fields with a default are prefilled.

**4. Deploy**

Click **Deploy**. The template deploys straight from the dialog into your active environment.

The dialog shows how many services and databases the template creates. They run on public images maintained by the template's author, and they're billed like any other resource once they're created.

You need permission to create projects in the workspace to deploy a template. See [Roles and permissions](https://paper.brimble.io/workspaces-and-teams/roles-and-permissions.md).

### Values Brimble fills in for you

You don't type passwords, keys, or the app's own address. Brimble fills these in when you deploy:

* **Secrets**, such as encryption keys and admin passwords, are generated as random values. Each deploy gets new values. If two services in the template need the same secret, they get the same value.
* **Public URL and hostname**. When an app needs to know its own address, for example for webhook or login callback URLs, the variable is set to a reference to the service's public URL (`{{@service.BRIMBLE_PUBLIC_URL}}`) or hostname (`{{@service.BRIMBLE_PUBLIC_HOST}}`). It resolves on each deploy to the service's primary domain. If you add a [custom domain](https://paper.brimble.io/domains/custom-domains.md) and make it primary, the next deploy picks it up.

### If the template can't deploy as is

If part of the template can't be created, for example it uses a feature your plan doesn't include, Brimble doesn't deploy it. The template page shows the plan instead, with the blocked resources marked, and **Deploy** stays disabled. Click **Back to overview** to return.

## After you deploy

You're taken to **Projects**, and a notification says "Deploying the *name* template." The services and databases are created, and the services deploy once their databases are ready.

Every project the template creates is tagged with the template's name. Filter the Projects page by that tag to see them together.

### Find generated secrets

Generated secrets are stored as environment variables on the service that uses them. Open the service's project and go to **Environment**. Some apps need a generated key to read their own data later, such as n8n's `N8N_ENCRYPTION_KEY`. Keep a copy of those.

### Change the configuration

A deployed template is a set of ordinary projects. Change resources, environment variables, domains, and anything else in each project's **Configuration** tab, the same way as any other project. See [Environment variables](https://paper.brimble.io/environments/environment-variables.md) and [Custom domains](https://paper.brimble.io/domains/custom-domains.md).

## Download the brimble.toml and deploy it yourself

Click **Download brimble.toml** on a template's page to get the file the template deploys. Use it to read exactly what will be created, or to change it before deploying.

The downloaded file doesn't include the template's inputs: the generated secrets, the public URL and hostname variables, and the values you'd type in the deploy dialog. The template's long description lists them. Add them yourself after deploying, under each service's **Environment**, or add the URL and hostname references to the file before you deploy it.

To deploy the file:

1. Click **Create**, then **Create project**.
2. Choose **brimble.toml**.
3. Upload or paste the file and click **Create plan**.
4. Review what will be created, then click **Deploy**.

For every field the file supports, see the [brimble.toml reference](https://paper.brimble.io/config-as-code/reference.md).

## Next steps

* [Submit a template](https://paper.brimble.io/templates/submit-a-template.md), share a `brimble.toml` for an app others would find useful.
* [Configure projects with brimble.toml](https://paper.brimble.io/config-as-code/brimble-toml.md).
* [Reference shared and cross-project variables](https://paper.brimble.io/environments/env-references.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.