Remote Site Settings
Create a Remote Site.
From Setup, enter Remote Site Settings in the search bar.
Add a Site Name and add the URL of your SharePoint instance.
Check the ‘Active’ checkbox
Save Remote Site Settings.
See the example below.

Create a Remote Site.
From Setup, enter Remote Site Settings in the search bar.
Add a Site Name and add the URL of your SharePoint instance.
Check the ‘Active’ checkbox
Save Remote Site Settings.
See the example below.