---
schema_version: "1"
id: 9ab48dd881529189475f290b94903db2684aaf3a36b7a7b87c1789731802760f
title: Set Up Dynamic Q&A for Knowledge Articles
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/enable_dynamic_q_a_for_knowledge_articles.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.enable_dynamic_q_a_for_knowledge_articles.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: f1ad47f3f278d9cb314be1a6fd88e72b05d26d7c3e4992e3bdf805fb141fd57a
description: Set up and configure the Dynamic Q&A component in Experience Cloud so article readers can view and interact with top questions.
products:
  - Service Cloud
release: "264"
---
# Set Up Dynamic Q&A for Knowledge Articles

Set up and configure the Dynamic Q&A component in Experience Cloud so article readers can view and interact with top questions.

### 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: Salesforce Classic and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Enterprise, Performance, and Unlimited Editions</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <a href="https://help.salesforce.com/s/articleView?id=experience.exp_cloud_basics_glossary.htm&amp;type=5&amp;language=en_US" target="_blank">Aura</a> and <a href="https://help.salesforce.com/s/articleView?id=experience.exp_cloud_basics_glossary.htm&amp;type=5&amp;language=en_US" target="_blank">LWR </a>Experience Cloud Sites</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Available in: Enterprise, Performance, Unlimited, and Developer Editions with Foundations or Agentforce 1 Editions. Access to some standard agent actions requires <a href="https://www.salesforce.com/agentforce/pricing/" target="_blank">additional add-on licenses</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="d173394e86">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d173394e86 ">To create and manage prompt templates in Prompt Builder:</td>

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

                <li> Execute Prompt Templates </li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d173394e86 ">To create and manage Agentforce Service agents: </td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d173394e86 ">Manage Agentforce Service Agents permission set AND Manage AI Agents To let the agent
              user securely access data and perform actions, see <a href="https://help.salesforce.com/s/articleView?id=ai.agent_user.htm&amp;language=en_US&amp;type=5" target="_blank">Best Practices for Agent User Permissions</a>.</td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d173394e86 ">To create an Experience Cloud site:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d173394e86 ">Create and Set Up Experiences AND View Setup and Configuration</td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d173394e86 ">To customize or publish an Experience Cloud site:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d173394e86 ">Create and Set Up Experiences AND View Setup and Configuration AND be a member of the
              site OR View Setup and Configuration AND be a member of the site AND have appropriate <a href="https://help.salesforce.com/s/articleView?id=experience.networks_access_control_overview.htm&amp;language=en_US&amp;type=5" target="_blank">role-based site access </a></td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d173394e86 ">To enable digital experiences</td>

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

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

Before you begin, make sure you've completed these steps:

- Your org has assigned CustomerCommunity or CustomerCommunityPlus licenses.
- An Experience Cloud site is active with at least one published knowledge article.
- Service AI Grounding is enabled for Knowledge data in Setup.
- An Agentforce Service Agent is configured for your site.
- The Improve Performance of Connect APIs in your LWR Sites setting is disabled in your site's Administration workspace.

1. From Setup, in the Quick Find box, enter Service Cloud Einstein, and then select **Service AI Grounding**.
2. On the Service AI Grounding page, turn on **Service AI Grounding**.
3. Under Knowledge, select only public fields that are accessible to portal and guest users for use in Q&A generation, and then click **Activate**.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support-264-0-0-production-enus/dd14551c-a772-4db6-9a1d-d84df8df2980/images/icon_note.png)
    
    Note To prevent exposure of sensitive data, make sure that only public Knowledge fields are selected. If a private field was previously selected, data from those fields may still appear in Q&A and summary content for guest users, while authenticated users are not affected.
    
    ![Tun on Service AI grounding](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support-264-0-0-production-enus/dd14551c-a772-4db6-9a1d-d84df8df2980/support/images/knowledge/turn_on_ai_service_grounding.png)
4. From Setup, in the Quick Find box, enter Digital Experiences, and then select **All Sites**.
5. Click **Builder** next to your site.
6. In the Components panel, drag Knowledge Article FAQs component onto the article detail page.
    1. For Aura sites, place it on the Article Detail page.
    2. For LWR sites, place it on the Knowledge Detail page.
7. Choose a label for the section.
8. Set the maximum number of questions to show on the component at runtime.
9. **Publish** the site to apply your changes.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support-264-0-0-production-enus/dd14551c-a772-4db6-9a1d-d84df8df2980/images/icon_note.png)
    
    Note After you publish the site, you can see answers in two ways: Prompt-Generated: Answers are generated from your configured knowledge data during the initial question generation. Agentforce Service Agent: Answers are generated in real time using the active agent you have configured for your site.