Salesforce Remote Site Settings

| By Webner

An Apex callout enables you to tightly integrate your Apex with an external service by making a call to an external Web service or sending an HTTP request from Apex code and then receiving the response and When we want to make a callout from Salesforce then we need to add the address of the site to salesforce to allow the external callout. This address is added to the Remote Site settings.

Salesforce allows you to access external website resources from a Salesforce application for your organization. You can access these external websites through Visualforce pages, Apex Callout, and via XmlHttpRequest calls. To avoid accessing malicious websites from, the website first needs to be registered with site settings. Once the site is registered, it can be used within

Steps to add an external site to salesforce to callout:

  1. Go to Setup.
  2. Search for Remote Site settings (or you can navigate to Administer → Security Controls → Remote Site Settings.)


  3. Click on the new remote site.


  4. Add the Name.
  5. Add the website URL that you want to give access to.
  6. Click Save.

Leave a Reply

Your email address will not be published. Required fields are marked *