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

# Prompt Studio

> Save reusable prompt templates with variables and use them in any chat

Prompt Studio is where you keep prompts you use again and again. A prompt template can contain variables, placeholders you fill in each time you use it. Keep templates private, or share them with your team, workspace or organization.

![The Prompt Studio](https://mintcdn.com/blackmountaingmbh/XFag3CE4nO-WN3UD/images/screens/en/assistants/prompt-studio.png?fit=max\&auto=format\&n=XFag3CE4nO-WN3UD\&q=85\&s=76eace6729e3cf74143934756c58919c)

## Open Prompt Studio

In the **Chats** sidebar, click **Prompt Studio**. The page lists every template you can use, grouped by where it is shared: **Personal**, **Team**, **Workspace** and **Organization**. Use the name filter and the visibility filter to find a template.

## Create a template

1. In Prompt Studio, click **New template**.
2. Under **Identity**, choose an **Icon**, and enter a **Name** and a one-line **Description**.
3. Under **Content**, write the **Prompt body**.
4. Add variables for anything that changes from use to use (see below).
5. Under **Sharing**, choose who can see the template.
6. Click **Create template**.

The **Preview** on the right shows how the template will look in the picker.

## Variables

A variable is a placeholder in double curly braces, such as `{{customer_name}}`. When someone uses the template, 48° asks them to fill in each variable before the text goes into the composer.

To add a variable:

1. Place the cursor in the prompt body and click **Insert variable**.
2. Enter a **Name**. Use letters, numbers and underscores only, and don't start with a number.
3. Optionally, add a **Short description**. It is shown as help text when someone fills in the template.
4. Choose an **Input type**: **Single line** or **Multi-line**.
5. Optionally, set a **Default value**.

If you type a placeholder such as `{{topic}}` directly into the body, 48° registers it as a variable when you save. Use **Insert variable** afterwards if you want to add a description.

### Example

```text theme={null}
Write a friendly reply to {{customer_name}} about their request:

{{request}}

Keep it under 150 words and offer a call if anything is unclear.
```

## Sharing

| Visibility | Who can see it |
| - | - |
| **Private** | Only you |
| **Team** | Members of a team |
| **Workspace** | Everyone in a workspace |
| **Organization** | Everyone in the organization |

You need the Manager or Owner role in a team, workspace or organization to share a template there. Without it, you can only create private templates. Shared templates can only be edited by Managers and Owners. Templates shared by others are marked **View only — shared by another user**.

## Use a template in a chat

From the chat:

1. In the composer, click **+** (or type **@**).
2. Open **Templates** and pick a template. You can search by name.
3. If the template has variables, fill them in. The dialog shows a **Preview**.
4. Click **Insert**. The text goes into the composer, where you can edit it before sending.

Inserting a template replaces any text that is already in the composer.

From Prompt Studio:

* Click **Start Chat** on a template. A new chat opens with the template in the composer. If the template has variables, you fill them in there.

## Edit or delete a template

In Prompt Studio, use the **Edit** and **Delete** actions on a template's row. Deleting a shared template removes it for everyone who could see it. This cannot be undone.

> [!TIP]
>
> Templates can also appear as conversation starters on an assistant. See [Assistant configuration](https://docs.blackmountain.io/assistants/configuration.md).

## Related

> [card] [Prompting basics](https://docs.blackmountain.io/resources/prompting-basics.md)
>
> Write prompts that work.

> [card] [Skills](https://docs.blackmountain.io/editor/skills/introduction.md)
>
> Reusable instructions the model loads when needed.

> [card] [Scheduled tasks](https://docs.blackmountain.io/scheduled-tasks/introduction.md)
>
> Run a prompt on a schedule.

> [card] [Chat basics](https://docs.blackmountain.io/chat/basics.md)
>
> The composer and the + menu.


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