To protect sensitive information (such as API Key and URL) and avoid Cross-Origin Resource Sharing (CORS) issues, you can use Lambda function for this extension. You will need this private key file to authenticate the Einstein Language APIs in Step 2 while configuring the Lambda function of your extension in Contentstack. You can even copy and paste your private key into a text file and name it as per your need. On the activation page, download and save the private key ( einstein_platform.pem). In case you don’t have an account, read the instructions given here to create one. This Private key will allow you to access the Einstein Language APIs. In order to use this extension, you will need your Salesforce Einstein Platform Services Account Private key. Add "Salesforce Einstein" Sidebar Extension extension to your stack.Generate Einstein Platform Services Account Private Key.This widget extension makes use of the Einstein Sentiment APIs to infer the sentiments of your content. In this step-by-step guide, we will see how to create the Salesforce Einstein Sidebar Extension in Contentstack. Einstein Intent: Identifies the intent of user data and categorizes it accordingly into user-defined labels.Einstein Sentiment: Analyzes data and classifies the sentiment into positive, negative, and neutral classes.The Salesforce Einstein Sidebar Extension analyzes the text content of your entry, and using Einstein’s Language APIs, infers the sentiment or intent behind the content and displays the findings on the sidebar of your entry page.Įinstein Language APIs are categorized into the following:
0 Comments
Leave a Reply. |