Visit the Share Connect AppExchange Listing and click Get it Now.
Select your Salesforce Account and click Install in Production.
Read and agree to the terms and conditions and click Confirm and Install.
We recommend Install for Admins Only, as this allows you to control access and permissions after installing the package. For further information, refer to the Salesforce documentation on Package Installations.
Check the box to approve third-party access, and click Continue to start the package installation.
Once the installation is complete, click Complete Setup, and you will be brought to the Share Connect setup page. Alternatively, you can navigate to the Setup tab by searching for Share Connect in the Salesforce App Launcher.
Linking your Microsoft Account
Next, we will connect your Microsoft Account. From the Share Connect Setup tab, click Configuration. You will be prompted to sign into your Microsoft Account. Click Sign In. This will open a new tab.
Enter your Microsoft account credentials. Once you sign in, you will be brought back to Share Connect’s configuration page.
Adding SharePoint Domains
From the Share Connect Configuration page, select SharePoint Domains from the left-hand menu.
In the top right corner, click Add Domain.
To use Share Connect, you must authorize the creation of remote sites on behalf of your SharePoint Domain. From the module, click Authorize.
Salesforce will ask for permission to access the identity URL service, manage user data via APIs, and perform requests. Click Allow.
Once authorized, click Next.
Share Connect will automatically populate your domain name based on the account you signed in with. Once you have confirmed the domain name, click Next.
Check the box to Approve Third-Party Access and click Confirm.
Next, to allow for conversion of Microsoft Files to PDFs, an additional URL will need to be identified. Click Identify URL.
Check the box to Approve Third-Party Access and click Confirm. This additional URL, your domain, and associated remote sites will now be visible on the page.
Adding the SharePoint Links Component
To add a Share Connect component to a lightning record page, navigate to Salesforce'sSetup, then Object Manager.
Select the Object you want to add the Share Connect component to.
From the left-hand side, click Lightning Record Pages.
Select a lightning record page, then click Edit to add the component to an existing lightning page layout. This will launch the Lightning App Builder.
In the Lightning App Builder, navigate to the left panel titled Components. Under the Custom-Managed components, look for SharePoint Links.
Drag the SharePoint Links component onto the page layout.