Get the code
Watch the video
by Steve Martinelli | Published February 20, 2018
Artificial intelligenceKnowledge DiscoveryVision
This developer pattern shows how to use the IBM Watson SDK for Salesforce to easily access Watson AI services inside Salesforce applications. Using the new Watson Salesforce SDK, you will be able to write Apex applications that access Watson services including Conversation, Language Translator, Discovery, and more.
If you’ve ever tried to integrate Watson using the Apex codebase, you know it can amount to hundreds of lines of code. Have no fear – there’s an SDK that can help speed that process up.
In November 2017, IBM announced the availability of the new Watson Salesforce SDK. It is just one of the many exciting things resulting from the IBM and Salesforce partnership. An SDK is an important tool in a developer’s toolbox. The Watson Salesforce SDK allows Salesforce developers to integrate Watson AI into Salesforce applications more easily than ever. In simple terms, it’s a bunch of pre-packaged code developers can quickly use to properly access the Watson APIs. Using an SDK saves immeasurable time and frustration. Integrating Watson using the Apex codebase typically requires writing hundreds of lines of code. Using the SDK, you can accomplish this with as few as five lines of code.
In this developer code pattern, we will use the new Watson Salesforce SDK by interacting with various Watson APIs in Apex, a Salesforce-specific programming language. The Watson Salesforce SDK currently supports:
When you complete this code pattern, you will understand how to:
Ready to put this code pattern to use? Complete details on how to get started running and using this application are in the README.
Back to top