---
schema_version: "1"
id: 3d707556b343e63950e05610264d2c98363f0a4e9802558c024b20ddd75ac555
title: Configure Citation Mode for Custom Actions
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/generative_ai_trust_configure_citation_mode_custom_action.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.generative_ai_trust_configure_citation_mode_custom_action.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: a3a0b2f8e717caa242fdce11738a9a844295742393feb50f537ad09d01081f69
description: With citations mode, custom actions that are created by using prompt templates can be configured to show source URLs in the generated response.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Configure Citation Mode for Custom Actions

With citations mode, custom actions that are created by using prompt templates can be configured to show source URLs in the generated response.

### 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>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions. <a href="https://help.salesforce.com/s/articleView?id=ai.agent_setup_explore_types.htm&amp;release=264.0.0&amp;type=5" title="Learn about agent types and default templates for specific clouds and common use cases.">Required add-on licenses vary by agent type.</a></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="d168654e81">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d168654e81 ">To configure citations mode for actions:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d168654e81 ">Manage AI Agents AND the required permissions for your agent type </td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d168654e81 ">&nbsp;</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d168654e81 ">OR</td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d168654e81 ">&nbsp;</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d168654e81 ">Customize Application</td>

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

Action should be based on a prompt template with at least 1 [Einstein Search retriever](https://help.salesforce.com/s/articleView?id=ai.prompt_builder_ground_rag.htm&release=264.0.0&type=5 "Retrieval augmented generation (RAG) in Data 360 improves the quality, accuracy, and relevance of your LLM-generated responses. Enhance your prompt templates using retrievers with Einstein Search. Add relevant knowledge from unstructured text sources into your LLM prompts. Retrieve knowledge from articles, emails, chat transcripts, and other sources.").

To see citations in responses, the agent must be [activated](https://help.salesforce.com/s/articleView?id=ai.copilot_setup_activate_deactivate.htm&type=5&language=en_US).

1. From Setup, in the Quick Find box, enter agents, and then select **Agentforce Assets.**.
2. On the **Actions** tab, click to open the custom action that you want to configure.
3. Under citation mode, Check the **Require Input** option to enable citations. When enabled, the input parameter gathers a list of sources. This input parameter is available only when the custom action is based on a prompt template.
    
    Make sure the custom action only uses knowledge articles the requesting user can access.
    
    Currently, inline citations aren’t available for custom actions that are based on prompt templates.

#### See Also

- [Build Trust in AI Responses with Citations](https://help.salesforce.com/s/articleView?id=ai.generative_ai_trust_citations.htm&release=264.0.0&type=5 "Citations link AI-generated responses to the grounding sources that are relevant to the response. Use citations to see what information the large language model (LLM) used to generate the response, and to verify the validity of the source data. Citations help you identify potential inaccuracies or hallucinations in the generated responses, increasing your confidence in using AI tools.")