

MuleSoft provides a larger ecosystem when it comes to Integration.MuleSoft is an Integration Platform as a service (iPaas).Now let us understand what is MuleSoft and how we will benefit using MuleSoft with Salesforce’s EA Connect to outside data sources to see all your data in one place.Utilize our APIs and SDKs to enhance your app.Build your own custom, intelligent analytics apps.In addition to offering pre-built apps for Sales, Service, and Marketing, the Einstein Analytics Platform gives you the flexibility to: Powered by AI it’s a very powerful tool that gives you analytics on the go. So in simple terms, Salesforce Einstein Analytics seeks to collect, analyze and transform the critical business data to create meaningful insight, which in turn allows you to explore data quickly and easily.

So from the name itself, you can guess it has something to do with analytics. What is Einstein Analytics? This is a question that we get from so many people who have heard Einstein being talked about. To address this challenge, we have Einstein Analytics. bug('decryptedData : ' + decryptedData.With the amount of customer data volume growing exponentially every day, exploring data manually has become a bigger challenge, and analytics has become more important than ever before. ContentVersion base64Content = [select Title, VersionDataīlob secretKey = EncodingUtil.base64Decode('secret-key-found-in-the-custom-settings') īlob decryptedData = cryptWithManagedIV('AES128', secretKey, base64Content.VersionData) Somehow I was able to decrypt the file data with that secret-key using 'AES128' algorithm. May be the app is doing so for the security of the 'einstein_platform.pem' private-key.

That custom settings is installed with the 'Einstein Playground' package. The secret key can be found in the record of custom settings named 'Einstein Settings'. I have found that the app is actually encrypting the 'einstein_platform.pem' file data with a SecretKey after uploading. So, the app is encrypting the file after using it. Now I have downloaded the file 'einstein_platform.pem' which I uploaded through the app and I can see that the file is corrupted. Uploading the same file outside of the app is okay and fine. So may be the app named 'Einstein Playground' is somehow changing the blob data of 'einstein_platform.pem' file after uploading when uploading through the app. Later I have uploaded the einstein_platform.pem file with a different name named einstein_platform2.pem then checked and find out that the VersionData of the *'*einstein_platform'** titled file uploaded through the Einstein Playground app is different from the VersionData data of 'einstein_platform2' titled file.Įinstein_platform.pem file uploaded by me through the Einstein Playground app and giving the error while converting into original stringĮinstein_platform2.pem file uploaded by me through Files tab and the version data is fine and okay to convert into original string String ke圜ontents = () //this line is generating error But when I am going to convert this blob data into original string, I am getting this error :īLOB is not a valid UTF-8 string ContentVersion base64Content = [SELECT Title, VersionData And when I am trying to get the VersionData of the 'einstein_platform' titled file which I haved uploaded earlier, I got a base64 formed blob data.
#Einstein platform dowload private key code#
Now I am trying to get access token of einstein platform service through Apex code provided by the Metamind. And the account has been setup successfully and the app is working properly. In Einstein Playground app developed by the Salesforce Lab, I have uploaded the einstein platform service private key file named einstein_platform.pem to complete my einstein platform service setup.
