Create a Remote Site

Before you can call the Einstein Image Classification API from Apex, you must add the API endpoint as a remote site.

  1. Log in to Salesforce.

  2. From Setup, enter Remote Site in the Quick Find box, then select Remote Site Settings.

  3. Click New Remote Site.

  4. Enter a name for the remote site.

  5. In the Remote Site URL field, enter https://api.einstein.ai.

  6. Click Save.

RemoteSite