# Creating and Editing

Use the prompt editor to write a standalone prompt, pass test inputs, and check the response before you create a prompt deployment.

## Overview

You start in the **Prompts** list, create a prompt, and open the editor. From there, you can add messages, work with prompt inputs, adjust editor settings, and click **Run** to test the prompt inside the dashboard.

The in-editor **Run** action is for testing. It is separate from calling a prompt through the public API.

## How do I create a prompt? <a href="#create-prompt" id="create-prompt"></a>

Open **Prompts** in the sidebar.

Click **Create Prompt**.

Enter a name for the prompt. If your workspace uses categories, you can also choose a category before you save.

Click **Create Prompt** again to open the prompt editor.

## How do I add and edit prompt messages? <a href="#add-edit-messages" id="add-edit-messages"></a>

Open the prompt in the editor.

In the prompt configuration area, click **Add Message**.

Choose the message content you want the model to receive. Keep the instructions short and direct when you're testing a new prompt.

Edit existing messages in the same prompt area until the prompt behaves the way you want.

If you want the prompt to accept dynamic values, add variables in your message content using the same variable format used elsewhere in the editor, such as `{{text}}`.

## How do I work with inputs? <a href="#work-with-inputs" id="work-with-inputs"></a>

When your messages include variables, click **Inputs** in the editor header.

Use the input values sheet to enter test values for each variable used by the prompt.

Update the values any time you want to test a different input without changing the prompt messages themselves.

These input values are for editor testing. They help you run the prompt with realistic sample data before you create a prompt deployment.

## How do I test a prompt in the editor? <a href="#test-in-editor" id="test-in-editor"></a>

After you add your messages and any input values, click **Run**.

Fetch Hive sends the current prompt configuration to the model and shows the result in the response area of the editor.

Use this step to check the output before you save a version or create a prompt deployment. If the result is not what you want, update the messages or inputs and run it again.

## What else can I configure in the prompt editor? <a href="#prompt-editor-config" id="prompt-editor-config"></a>

The prompt editor includes additional configuration areas beyond the message list. Depending on the prompt and provider, you may see model settings, response format controls, tools, evaluations, and other editor options.

Use these controls when you need to refine how the prompt runs in the editor.

See also: [Publishing and Versioning](https://docs.fetchhive.com/prompts/publishing-and-versioning) and [Run with API](https://docs.fetchhive.com/prompts/run-with-api)
