Source: https://nishanth-fern-test.docs-staging.pageloop.ai/web/integrate-salesforce-repository

# Integrate Salesforce Lightning Repository

Integrate Salesforce Lightning with Whatfix to fetch and display articles from your Salesforce Lightning repository. The articles appear as contextual links in the Self Help widget.

> [!WARNING]
>
> - Integrate articles from the knowledge and files sections of the Salesforce Lightning application.
> - To enable Whatfix to crawl content from the Files section, contact [support@whatfix.com](mailto:support@whatfix.com?Subject=Enable%20Whatfix%20to%20crawl%20content%20from%20the%20Files%20section\&Body=Hello%20Team%2C%0A%0APlease%20enable%20Whatfix%20to%20crawl%20content%20from%20the%20Files%20section%20on%20my%20account.%0A%0AThanks%20and%20regards.).

Use the following steps to integrate a Salesforce Lightning repository:

1. On the Whatfix Guidance dashboard, click **Settings**. ![ia\_left\_nav\_settings](/images/b8/ia_left_nav_settings-b868cdaa.png)

2. Click **Repositories**. ![ia\_left nav\_repositories ](/images/14/ia_left-nav_repositories-14d86191.png)

3. Click the **Salesforce** tile. ![salesforce\_tile\_repo](/images/22/salesforce_tile_repo-22bb7e92.png)

4. Choose whether you want to integrate a sandbox account or a production account, and then click **Next**. ![RB\_DB\_SHintegratesalesforce](/images/df/RB_DB_SHintegratesalesforce-df971293.png)

5. Enter a **Title** and the **URL** of your Salesforce Lightning repository. ![RB\_DB\_RepofilldetailsSF](/images/b8/RB_DB_RepofilldetailsSF-b825a59c.png)

> [!WARNING]
>
> The title provided here serves as the tag name for the default tag attached to all the fetched content.

1. Click **Integrate**. ![RB\_DB\_reposf](/images/85/RB_DB_reposf-853eaacd.png)
2. Once the login page loads, enter your Salesforce Lightning credentials, and then click **Log In**. ![salesforce\_login\_popup](/images/a7/salesforce_login_popup-a764bf24.png)

> [!INFO]
>
> - After you have created an Integration request, your repository is listed under Integrated Repositories in the processing state. ![salesforce\_repo\_list](/images/2e/salesforce_repo_list-2edd4fa4.png)
> - Once all the content is indexed, access them on the Whatfix dashboard. ![RB\_DB\_CRclickrepo](/images/ea/RB_DB_CRclickrepo-ea3621ef.png)
> - The fetched content can be added to Self Help and Task List widgets in the same way as any other Whatfix content.
> - If you have Smart Context enabled, add the global-page tag for the content to reflect in the Self Help widget on your application. For more information, see [Add tags to Repository Content](/web/add-repository-content-to-self-help).
> - If you click **Cancel** or close the integration pop-up, the integration request is **Saved as a draft** in the **Integrated Repositories** section.

> [!WARNING]
>
> - The Repository links are available in the Ready stage once the Repository articles are crawled through and brought into Whatfix.
> - You cannot move the links to the Draft stage or edit them. In the Ready stage, you can only edit tags and search keywords.
> - Once you push the Repository links to the Production stage, you cannot move them back to the Ready or Draft stages like the other Whatfix content and widgets.
> - Unlike other content and widgets that you can tag in the Draft stage, you can tag the Repository links only in the Ready stage.

Note:

If your account has multiple Global tags, select the one with the highest value. For example, if the tags in your account are Global-Page, Global-Page\_1, and Global-Page\_2, content should be tagged with Global-Page\_2. For more information on viewing the Global tags available in your account, see [How can I view the Global tags created in my account?](/web/how-can-i-view-the-global-tags-created-in-my-account)

## Related

- [Content Aggregation](/web/content-repository)
- [File integration for Salesforce](/web/file-integration-for-salesforce)
