---
schema_version: "1"
id: b3b99386f6b6b665523032ca73909afb74692e2b90d6f14b8ea5ebb3d28bdfe1
title: Deployment Considerations for Prompt Templates
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/prompt_builder_considerations_deployment.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.prompt_builder_considerations_deployment.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: de54322700cc492fe192488d81d4ca6d57e3d49c7dfbe5fe12c9f02be46ebadd
description: Include a prompt template in managed, unmanaged, or unlocked packages. Before you deploy a package that contains a prompt template, in changesets or on the CLI understand the limitations and behaviors.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Deployment Considerations for Prompt Templates

Include a prompt template in managed, unmanaged, or unlocked packages. Before you deploy a package that contains a prompt template, in changesets or on the CLI understand the limitations and behaviors.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, and <strong>Unlimited</strong> Editions with the Einstein for Platform, or Einstein or Agentforce for Sales or Service add-on, or Agentforce Foundations</td></tr></tbody></table>

## Deploy Packages

- Use Manual Inputs when creating Template-triggered Flows. Deploy the prompt and the flow together in a single deployment.
- Flows with Automatic Inputs will cause a deployment to fail if a template references them.
- If a deployment fails, deploy the flow first, and then deploy the template separately.
- To deploy a package using the CLI, you must have at least one template version to deploy the template.