---
schema_version: "1"
id: 2bdad26f35233aebe10ccc7ce3a83ed38bbf5963ecd8998f709d25cdcc601c43
title: Use AI Assist in Prompt Builder (Beta)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/prompt_builder_ai_assist.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.prompt_builder_ai_assist.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: a6c4cd8fb03c94c55e95c50868b04afd4f97da1b0a4c193e0e8c9ec643c60069
description: Use AI Assist to create a structured, Jinja-based prompt template from a natural language description. AI Assist is powered by an Agentforce agent that pulls in relevant fields from your org and structures prompts using role, task, and audience formatting.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Use AI Assist in Prompt Builder (Beta)

Use AI Assist to create a structured, Jinja-based prompt template from a natural language description. AI Assist is powered by an Agentforce agent that pulls in relevant fields from your org and structures prompts using role, task, and audience formatting.

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

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ai-generative_ai-264-0-0-production-enus/f8ef6498-d7b2-44e3-9b34-ffd5a850aae9/images/icon_note.png)

Note Note: This release is in preview. Features described in this document don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

When you create a new prompt template, you can choose to draft it with AI Assist instead of building it from scratch. Describe what you want your prompt to accomplish in natural language, and AI Assist creates a structured, Jinja-based template with recommended inputs and grounding data. You can add resources such as objects directly in the composer, and AI Assist automatically creates the corresponding template inputs.

After AI Assist creates a draft, the template appears in the canvas with visual indicators that show what was added. You can then provide additional instructions to customize the draft before accepting the final version.

## Understand How AI Assist Works

AI Assist is powered by an Agentforce agent built into Prompt Builder. The agent interprets your natural language description and creates a structured Jinja-based template that includes:

- Role, task, and audience formatting
- Recommended merge field inputs based on the resources you specify
- Grounding data recommendations relevant to your described use case

After the draft is created, review it in the canvas. Visual indicators show additions in green and removals in red. You can customize the draft by providing additional instructions — for example, Make the tone casual — and review the updated version before accepting.

## Accept and Discard Changes

After reviewing the drafted or customized template, use the controls at the bottom of the canvas to accept or discard all changes. Accepting applies the draft to your template. Discarding returns the template to its previous state.

You can customize and accept changes multiple times before saving the final template.