--- title: "How to display HG Fields and HG Sales Copilot in Salesforce?" slug: "how-to-display-madkudu-info-in-salesforce" updated: 2026-08-21T09:18:45Z published: 2026-08-21T09:18:45Z canonical: "help.madkudu.com/how-to-display-madkudu-info-in-salesforce" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.madkudu.com/llms.txt > Use this file to discover all available pages before exploring further. # How to display HG Fields and HG Sales Copilot in Salesforce? You've installed HG Insights Salesforce package and now need to display the components to your layout. Here's how to do that! **Pre-requisite**: you have permissions in Salesforce to edit the Account, Lead and Contact layouts, and the Sales team tabs Before we start, there are 3 main things to install (you'll need them all) 1. **HG Sales Copilot** to display the Inbox and Explore dashboard. These will be used by your Sales reps to organize their day, reaching out to prospects based on playbooks, and to explore their accounts and contacts in views. Used also by Sales management and Ops to explore prospects. ![](https://cdn.document360.io/a55e7ea5-b8ac-4456-874d-10cc92097370/Images/Documentation/image(877).png?sv=2026-02-06&spr=https&st=2026-10-12T22%3A35%3A47Z&se=2026-10-12T23%3A35%3A47Z&sr=c&sp=r&sig=hVaFtU1FETcDnKvuF3c93qFSn9ra%2FgnQCV2M%2Fy0kXck%3D) 2. **HG Sales Copilot Visualforce** on the Lead/Contact/Account object and your home page. These will be used by your Sales team to know everything about an account or lead/contact. ![](https://cdn.document360.io/a55e7ea5-b8ac-4456-874d-10cc92097370/Images/Documentation/image(878).png?sv=2026-02-06&spr=https&st=2026-10-12T22%3A35%3A47Z&se=2026-10-12T23%3A35%3A47Z&sr=c&sp=r&sig=hVaFtU1FETcDnKvuF3c93qFSn9ra%2FgnQCV2M%2Fy0kXck%3D) 3. **HG Insights scoring fields** on the Lead/Contact/Account objects (these will be used in reports, workflows...). These will be used by your Ops team to create workflows and reports based on HG Insights data ![A report built on HG Insights fields (example)](https://cdn.document360.io/a55e7ea5-b8ac-4456-874d-10cc92097370/Images/Documentation/sfdc-hg-fields-report.png?sv=2026-02-06&spr=https&st=2026-10-12T22%3A35%3A47Z&se=2026-10-12T23%3A35%3A47Z&sr=c&sp=r&sig=hVaFtU1FETcDnKvuF3c93qFSn9ra%2FgnQCV2M%2Fy0kXck%3D) # **1. Installing HG Sales Copilot visualforce pages (iframes)** These iframes gather in one place, directly in your Salesforce, all relevant information for your Sales reps so that they can reach out to qualified accounts and leads. ### **Step 1: Create a Custom Tab for HG Sales Copilot** - In Salesforce, click on the gear icon at the top right then **Setup** - Search for **Tabs** **![Setup: search for Tabs in the Quick Find box](https://cdn.document360.io/a55e7ea5-b8ac-4456-874d-10cc92097370/Images/Documentation/sfdc-setup-search-tabs.png?sv=2026-02-06&spr=https&st=2026-10-12T22%3A35%3A47Z&se=2026-10-12T23%3A35%3A47Z&sr=c&sp=r&sig=hVaFtU1FETcDnKvuF3c93qFSn9ra%2FgnQCV2M%2Fy0kXck%3D)** - Scroll down and search for **Visualforce Tabs** - Click **New** - Configure with - Visualforce page: **HG Sales Copilot** - Tab Label**:** **HG InsightsCopilot** - Tab Name**:** **HG InsightsCopilot** - Tab Style: **Jewel** - Description**: HG Sales Copilot allows you to understand any relevant activity that happened in your book of accounts. Don't miss anything thanks to the HG Insights playbooks! The Copilot allows you to slide and dice in your book of accounts to understand who is active and what you should mention when reaching out.** - Click on **Next** ![Create a new Visualforce tab for HG Insights Copilot, then click Next](https://cdn.document360.io/a55e7ea5-b8ac-4456-874d-10cc92097370/Images/Documentation/sfdc-copilot-new-tab.png?sv=2026-02-06&spr=https&st=2026-10-12T22%3A35%3A47Z&se=2026-10-12T23%3A35%3A47Z&sr=c&sp=r&sig=hVaFtU1FETcDnKvuF3c93qFSn9ra%2FgnQCV2M%2Fy0kXck%3D) - Select **user profiles** for which the new page tab will be available. You can keep "all profiles" if you want everyone in your organization to get access to HG Insights Copilot ![Keep all profiles so everyone can access the HG Insights Copilot tab](https://cdn.document360.io/a55e7ea5-b8ac-4456-874d-10cc92097370/Images/Documentation/sfdc-copilot-tab-profiles.png?sv=2026-02-06&spr=https&st=2026-10-12T22%3A35%3A47Z&se=2026-10-12T23%3A35%3A47Z&sr=c&sp=r&sig=hVaFtU1FETcDnKvuF3c93qFSn9ra%2FgnQCV2M%2Fy0kXck%3D) - Click on **Next** - Select the **Custom Apps** that should have this tab. We recommend the **Sales Console** and any custom app that your Sales team is using. - Click on **Save** ### **Step 2: Make sure the tab is visible to the Sales team** - Search for **App Manager** - Select **All Tabs** - Click on the arrow and select **Edit** **![In App Manager, open the app row menu and select Edit](https://cdn.document360.io/a55e7ea5-b8ac-4456-874d-10cc92097370/Images/Documentation/sfdc-app-manager-edit.png?sv=2026-02-06&spr=https&st=2026-10-12T22%3A35%3A47Z&se=2026-10-12T23%3A35%3A47Z&sr=c&sp=r&sig=hVaFtU1FETcDnKvuF3c93qFSn9ra%2FgnQCV2M%2Fy0kXck%3D)** - Select **HG Insights Copilot** and click on **Up** to be at the very top - Default **Landing Tab: HG Insights Copilot** **![Set the Default Landing Tab to HG Insights Copilot](https://cdn.document360.io/a55e7ea5-b8ac-4456-874d-10cc92097370/Images/Documentation/sfdc-default-landing-tab.png?sv=2026-02-06&spr=https&st=2026-10-12T22%3A35%3A47Z&se=2026-10-12T23%3A35%3A47Z&sr=c&sp=r&sig=hVaFtU1FETcDnKvuF3c93qFSn9ra%2FgnQCV2M%2Fy0kXck%3D)** - Assign to all the relevant **Profiles** ### **Step 3: Add HG Sales Copilot VisualForce pages to your Salesforce Account, Lead and Contact** Go to your Salesforce account **Setup** (upper right corner gear icon) ### **Salesforce Lightning** ***Account Layout*** - In the left sidebar menu, click **Objects and Fields >** **Object Manager** then click on **Account** and **Lightning Record pages.** - Select the **Layout** and click **Edit.** - Insert a component section or tab, wherever is best for the Sales users - Drag into the component from the left navigation bar a **VisualForce** component. - On the right of the page where the VisualForce component is configured, select from the picklist **HG Insights Account Sales Intelligence Embed.** - Uncheck "Show label". - Adjust the height of the page to minimum 700. ![In the Lightning App Builder, configure the Visualforce component: uncheck Show label and set the height to at least 700](https://cdn.document360.io/a55e7ea5-b8ac-4456-874d-10cc92097370/Images/Documentation/sfdc-vf-component-properties.png?sv=2026-02-06&spr=https&st=2026-10-12T22%3A35%3A47Z&se=2026-10-12T23%3A35%3A47Z&sr=c&sp=r&sig=hVaFtU1FETcDnKvuF3c93qFSn9ra%2FgnQCV2M%2Fy0kXck%3D) Make sure the profiles associated with your Sales users have permission to see the VisualForce page: - In **Setup**, search **Users** and select **Profiles**. - Select the user associated with the people who should see the HG Insights Sales Intelligence - In the section “**Enabled VisualForce Page Access” →** click **Edit,** then **add t**he VisualForce HG Insights Account Sales Intelligence [https://help.salesforce.com/s/articleView?id=000325936&type=1](https://help.salesforce.com/s/articleView?id=000325936&type=1) ![The HG Insights Visualforce pages available in Setup](https://cdn.document360.io/a55e7ea5-b8ac-4456-874d-10cc92097370/Images/Documentation/sfdc-visualforce-pages-list.png?sv=2026-02-06&spr=https&st=2026-10-12T22%3A35%3A47Z&se=2026-10-12T23%3A35%3A47Z&sr=c&sp=r&sig=hVaFtU1FETcDnKvuF3c93qFSn9ra%2FgnQCV2M%2Fy0kXck%3D) Repeat for **Lead** and **Contact** layouts with their corresponding visualforce pages (**HG Insights Lead Sales Intelligence Embed** and **HG Insights Contact Sales Intelligence Embed)** ### **Salesforce Classic** ***Account Layout:*** - In the left sidebar menu, click **Objects and Fields >** **Object Manager** then click on **Account** and **Page Layout** - Click on the name of the layout visible to the Sales reps. If multiple page layouts exist, you’ll need to add the iFrame to each page layout for which you’ll want to see the HG Insights Sales Intelligence iFrame displayed. - In the toolbar, drag and drop a **Section** in the desired location of the page layout to host the iFrame. - As Section name, enter HG Insights Sales Intelligence and select 1-Column Layout, then click OK. - Adjust the height to 700px ![Create a 1-Column section named HG Insights Intelligence](https://cdn.document360.io/a55e7ea5-b8ac-4456-874d-10cc92097370/Images/Documentation/sfdc-account-section-1col.png?sv=2026-02-06&spr=https&st=2026-10-12T22%3A35%3A47Z&se=2026-10-12T23%3A35%3A47Z&sr=c&sp=r&sig=hVaFtU1FETcDnKvuF3c93qFSn9ra%2FgnQCV2M%2Fy0kXck%3D) - In the toolbar, select in the list 'VisualForce pages', then drag and drop the HG Insights Account Intelligence into the section you created. ![Select Visualforce Pages and drag HG Insights (Account) into the section](https://cdn.document360.io/a55e7ea5-b8ac-4456-874d-10cc92097370/Images/Documentation/sfdc-vf-page-drag.png?sv=2026-02-06&spr=https&st=2026-10-12T22%3A35%3A47Z&se=2026-10-12T23%3A35%3A47Z&sr=c&sp=r&sig=hVaFtU1FETcDnKvuF3c93qFSn9ra%2FgnQCV2M%2Fy0kXck%3D) - In the top left of the toolbar, click **Save** to apply your layout changes. - Navigate to a Salesforce Account record and click the **Details** tab to view the HG Insights Account Intelligence. Repeat for **Lead** and **Contact** layouts with their corresponding visualforce pages (**HG Insights Lead Sales Intelligence Embed** and **HG Insights Contact Sales Intelligence Embed)** # **2. Visualizing HG Insights components** **Pre-requisite**: you are a user on HG Insights platform (app.HG Insights.com). If not, please ask your [HG Insights admin to add you as a user](/v1/docs/invite-users-to-madkudu). 1. In Salesforce, open HG Insights Copilot tab installed and click on **Login.** Check you are able to login 2. In Salesforce, open any account, any lead or any contact and navigate to the section where you added the VisualForce page. Check you are able to see data in it. 3. And that's it! ## Troubleshooting - If users see a **blank page,** make sure they are added to your HG Insights account as users ([app.HG Insights.com](https://app.madkudu.com/) > Settings > Users ). Note: you need to have Admin permissions in HG Insights to add users. - If users see “**Insufficient Privileges**”, make sure the Salesforce profiles associated with these users are enabled with the VisualForce page access (see above). ![Enable Visualforce Page Access on the relevant profiles](https://cdn.document360.io/a55e7ea5-b8ac-4456-874d-10cc92097370/Images/Documentation/sfdc-vf-page-profile-access.png?sv=2026-02-06&spr=https&st=2026-10-12T22%3A35%3A47Z&se=2026-10-12T23%3A35%3A47Z&sr=c&sp=r&sig=hVaFtU1FETcDnKvuF3c93qFSn9ra%2FgnQCV2M%2Fy0kXck%3D) - If users see "**Please refresh the page**", please try reloading your browser page. This can happen when the iFrame doesn't get the Salesforce Account ID correctly. Reloading the page should make Salesforce resend the ID to the iFrame. # **3. Invite to your HG Insights account the users who'll need to see the iFrame.** Once installed, users in Salesforce would see a login page in the iFrame. To access the information in the iFrame, [users need to be added to your company HG Insights account.](/v1/docs/invite-users-to-madkudu) Once invited to HG Insights, they can connect directly within the iFrame in Salesforce to start visualizing HG Insights Sales Intelligence. # **4. Installing HG Insights fields** Please follow the instructions at the Lead, Contact and Account level We usually recommend using a **two column layout**. Organize your fields so that the predictive attributes are on the left, while the context on this lead can be found on the right. 1. Click on **Setup** at the top right ![Open Setup from the gear menu at the top right](https://cdn.document360.io/a55e7ea5-b8ac-4456-874d-10cc92097370/Images/Documentation/sfdc-setup-menu.png?sv=2026-02-06&spr=https&st=2026-10-12T22%3A35%3A47Z&se=2026-10-12T23%3A35%3A47Z&sr=c&sp=r&sig=hVaFtU1FETcDnKvuF3c93qFSn9ra%2FgnQCV2M%2Fy0kXck%3D) 2. Click on the **Object Manager** tab, search for **Lead,** click on **Lead** ![Object Manager: search for Lead and open it](https://cdn.document360.io/a55e7ea5-b8ac-4456-874d-10cc92097370/Images/Documentation/sfdc-object-manager-lead.png?sv=2026-02-06&spr=https&st=2026-10-12T22%3A35%3A47Z&se=2026-10-12T23%3A35%3A47Z&sr=c&sp=r&sig=hVaFtU1FETcDnKvuF3c93qFSn9ra%2FgnQCV2M%2Fy0kXck%3D) 3. Click on **Page Layout**, click on **Lead Layout** ![Lead: open Page Layouts, then Lead Layout](https://cdn.document360.io/a55e7ea5-b8ac-4456-874d-10cc92097370/Images/Documentation/sfdc-lead-page-layouts.png?sv=2026-02-06&spr=https&st=2026-10-12T22%3A35%3A47Z&se=2026-10-12T23%3A35%3A47Z&sr=c&sp=r&sig=hVaFtU1FETcDnKvuF3c93qFSn9ra%2FgnQCV2M%2Fy0kXck%3D) 4. Drag and drop a new **Section** to where you want the **HG Insights intelligence** to show. 5. Name the new section "**HG Insights Intelligence"** 6. Drag and drop the **HG Insights** **fields** you’d like to see. ![Add a HG Insights Intelligence section and drag the HG fields in (example)](https://cdn.document360.io/a55e7ea5-b8ac-4456-874d-10cc92097370/Images/Documentation/sfdc-lead-layout-hg-fields.png?sv=2026-02-06&spr=https&st=2026-10-12T22%3A35%3A47Z&se=2026-10-12T23%3A35%3A47Z&sr=c&sp=r&sig=hVaFtU1FETcDnKvuF3c93qFSn9ra%2FgnQCV2M%2Fy0kXck%3D) 7. Save your layout. -