Book Image

Learning Salesforce Einstein

By : Mohit Shrivatsava
Book Image

Learning Salesforce Einstein

By: Mohit Shrivatsava

Overview of this book

Dreamforce 16 brought forth the latest addition to the Salesforce platform: an AI tool named Einstein. Einstein promises to provide users of all Salesforce applications with a powerful platform to help them gain deep insights into the data they work on. This book will introduce you to Einstein and help you integrate it into your respective business applications based on the Salesforce platform. We start off with an introduction to AI, then move on to look at how AI can make your CRM and apps smarter. Next, we discuss various out-of-the-box components added to sales, service, marketing, and community clouds from Salesforce to add Artificial Intelligence capabilities. Further on, we teach you how to use Heroku, PredictionIO, and the Force platform, along with Einstein, to build smarter apps. The core chapters focus on developer content and introduce PredictionIO and Salesforce Einstein Vision Services. We explore Einstein Predictive Vision Services, along with analytics cloud, the Einstein Data Discovery product, and IOT core concepts. Throughout the book, we also focus on how Einstein can be integrated into CRM and various clouds such as sales, services, marketing, and communities. By the end of the book, you will be able to embrace and leverage the power of Einstein, incorporating its functions to gain more knowledge. Salesforce developers will be introduced to the world of AI, while data scientists will gain insights into Salesforce’s various cloud offerings and how they can use Einstein’s capabilities and enhance applications.
Table of Contents (10 chapters)


In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "The appname variable is the name of your Heroku application.."

A block of code is set as follows:

    var Kafka = require('no-kafka');
var brokerURLs = process.env.KAFKA_URL.replace(/\+ssl/g,'');

var producer = new Kafka.Producer({
connectionString: brokerURLs,
ssl: {
certFile: './client.crt',
keyFile: './client.key'


When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

  heroku addons:attach $POSTGRES_ADDON_ID

# Generate a random key.

Any command-line input or output is written as follows:

$ tar zxvf apache-predictionio-0.10.0-incubating.tar.gz
$ cd apache-predictionio-0.10.0-incubating
$ ./

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "Once the installation is complete, the next steps are to create a permission set for users requiring access. Assign the user, the permission for Automatic Activity Capture."

Warnings or important notes appear in a box like this.
Tips and tricks appear like this.