> For the complete documentation index, see [llms.txt](https://docs.inogic.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.inogic.com/next-best-action/configuration/configure-next-best-action/adding-next-best-action-pcf-section-in-crm.md).

# Adding Next Best Action PCF section in CRM

Follow the steps below to add the Next Best Action PCF component to your CRM form:

**Using Power Apps**

1\.   Open **make.powerapps.com** and navigate to **Tables**.\
\
Search for the desired entity (for example, *Lead*) and select the standard table.

<figure><img src="/files/gjrVbnaNhImT6SDvA7ZI" alt=""><figcaption></figcaption></figure>

2\. Click on **Forms** to view all available forms associated with the selected table.

<figure><img src="/files/Jui9wtzNMOdFlc8w8wAm" alt=""><figcaption></figcaption></figure>

3. From the list of forms, identify the form with:

* Form Type: Main
* Status: On

Click to open it in the form editor. This is the primary form where the PCF component will be added.

<figure><img src="/files/7TxgOuwVZg6LyRnAFvG3" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/tkFsOQyeBTbYiRD9VKJg" alt=""><figcaption></figcaption></figure>

4. Add a new section in the desired area of the form where you want to display Next Best Actions.

<figure><img src="/files/OjH8uug23wa09j141BjN" alt=""><figcaption></figcaption></figure>

5. Insert a Subgrid within the section and configure it to display:

&#x20;     View: *Next Best Action (Cards)* or *Next Best Action Timeline*

&#x20;     *(Example: All Next Best Actions View)*

<figure><img src="/files/H39NreaGqDNZHLDew6Vk" alt=""><figcaption></figcaption></figure>

6. Save and publish the form.

**Classic Setup**

<figure><img src="/files/xSx66zQAPkGt0rcrMrso" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/C6MAHqEu8JB2T5jmJmCP" alt=""><figcaption></figcaption></figure>

In the form editor, scroll to the bottom and select Add Component. If the component is not visible, use the search option to find it.

<figure><img src="/files/FYtS6uhgYoT0XI4vEP2w" alt=""><figcaption></figcaption></figure>

Select the **Next Best Action PCF component** and click **Done**.

<figure><img src="/files/T5QNmuLwQcHz6pocVUUX" alt=""><figcaption></figcaption></figure>

Save and publish the form.
