Upload Your Key

You must upload your key to Salesforce Files so that the Apex controller class can access it.

  1. Log in to Salesforce.

  2. Click Files.

  3. Click Upload File.

  4. Navigate to the directory where you saved the einstein_platform.pem file, select the file, and click Open. You should see the key file in the list of files owned by you.


The key file was previously named predictive_services.pem. If you signed up at an earlier time and you can't file your key file, try searching for a file by this name.

If you plan to use the Einstein Platform Services APIs in an AppExchange package, adhere to the appropriate secret storage guidelines. See this article.