---
schema_version: "1"
id: 4c05965e25e6ce4fef69e623bda68f50cd95b5a18b467889b30782060bd1c5c6
title: Activate and Deactivate 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_activate_deactivate_templates.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.prompt_builder_activate_deactivate_templates.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: c8a2d8554fcfe5b5a78d61073d3832835f87cfb804a0cf74fc61a8d3f5c6feed
description: Use activation and deactivation of prompt templates to finely control which version your users can access.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Activate and Deactivate Prompt Templates

Use activation and deactivation of prompt templates to finely control which version your users can access.

### 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>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d202813e63">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d202813e63 ">To create and manage prompt templates in Prompt Builder:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d202813e63 ">
              <p>Prompt Template Manager permission set</p>
              <ul>
                <li>Manage Prompt Templates</li>

                <li>Execute Prompt Templates</li>

              </ul>
              <p>OR</p>
              <p style="margin-bottom:0;">Customize Application permission set</p>
            </td>

          </tr>
        </tbody>
      </table>

During the process of crafting a prompt template, you typically create a few versions to test which template body, grounding data, and LLM combination yields the most satisfying response. Because of this iterative drafting process, prompt templates aren’t available to your users by default. You must activate them first.

When you activate a prompt template, you’re making a specific version of the prompt template available to your users. Only one version of a template can be active at a time, and if no versions are active the template becomes unavailable to your users. Activating and deactivating versions gives you the control to make available only the version of a template you want to share.

1. Begin in the Prompt Template Workspace of Prompt Builder. See [Create a Prompt Template](https://help.salesforce.com/s/articleView?id=ai.prompt_builder_build_template.htm&release=264.0.0&type=5 "Select the type of prompt template to create based on your use case. Based on the template type, define the resources available for the template.").
2. Begin drafting your prompt in the Prompt section. When you’re ready to save your work, click **Save**. This prompt is now Version 1 of your prompt template, as denoted by the version number shown at the top of the Prompt Template Workspace.
3. When you’re ready to activate a template and make it available to your users, click **Activate**.
    
    ![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ai-generative_ai-264-0-0-production-enus/f8ef6498-d7b2-44e3-9b34-ffd5a850aae9/images/icon_important.png)
    
    Important Activating a template version makes it immutable. Even if deactivated, any version that was ever active remains immutable. To edit such a template, save it as a new version. See [Use Multiple Versions of a Prompt Template](https://help.salesforce.com/s/articleView?id=ai.prompt_builder_use_multiple_versions.htm&release=264.0.0&type=5 "Create and use multiple versions of prompt templates in Prompt Builder to compare prompt constructions and their responses.").
4. To deactivate an active template version, click **Deactivate**.