build a connected app in 10 minutes or less with lightning + data gateway

21
Real-time Data Virtualization of SAP in Salesforce using OData API Build a connected app in 10’ or less with Lightning & Data Gateway Bikram Sen Sr Architect - Strategic Alliances, MuleSoft Matias Coaker Sr Software Engineer, MuleSoft

Upload: salesforce-developers

Post on 26-Jan-2017

321 views

Category:

Technology


3 download

TRANSCRIPT

Page 1: Build a Connected App in 10 Minutes or Less With Lightning + Data Gateway

Real-time Data Virtualization of SAP in Salesforce using OData API

Build a connected app in 10’ or less with Lightning & Data Gateway

Bikram Sen Sr Architect - Strategic Alliances, MuleSoft Matias Coaker Sr Software Engineer, MuleSoft

Page 2: Build a Connected App in 10 Minutes or Less With Lightning + Data Gateway

All contents © MuleSoft Inc.

Safe harbor statement

The information in this presentation is confidential and proprietary to MuleSoft and may not be disclosed without the permission of MuleSoft. This presentation is not subject to your license agreement or any other service or subscription agreement with MuleSoft. MuleSoft has no obligation to pursue any course of business outlined in this document or any related presentation, or to develop or release any functionality mentioned therein. This document, or any related presentation and MuleSoft's strategy and possible future developments, products and or platforms directions and functionality are all subject to change and may be changed by MuleSoft at any time for any reason without notice. The information on this document is not a commitment, promise or legal obligation to deliver any material, code or functionality. This document is provided without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. This document is for informational purposes and may not be incorporated into a contract. MuleSoft assumes no responsibility for errors or omissions in this document, except if such damages were caused by MuleSoft intentionally or grossly negligent. All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, which speak only as of their dates, and they should not be relied upon in making purchasing decisions.

2

Page 3: Build a Connected App in 10 Minutes or Less With Lightning + Data Gateway

All contents © MuleSoft Inc.

Scenario at Acme Inc.

3

•  Customer 1-view charter, Acme Inc. business requirements: –  Show SAP Sales Orders and details in Salesforce. –  Orders should reflect real-time status. –  Data should be accessible anywhere and from any device.

•  The Salesforce technical team lead thinks of a solution. Do I: –  Volume – Need to load thousands of SAP Sales Order records in Salesforce and

keep them in sync with SAP. –  Complexity – Need to build and manage complex integration, and need to

create custom apex code and config in Salesforce. –  Scalability – Need to think of industry standards so that this solution is

scalable for other use case.

Page 4: Build a Connected App in 10 Minutes or Less With Lightning + Data Gateway

All contents © MuleSoft Inc.

Anypoint Data Gateway for Lightning Connect

4

Connection Details

Object Details UI/Relationship Details

Configure Data Gateway

Define Objects Configure Relationships/UI components

Meet Jack: Salesforce Admin at Acme, Inc.

Jack’s Charter Integrate SAP Sales Order data into Salesforce Account records

Page 5: Build a Connected App in 10 Minutes or Less With Lightning + Data Gateway

Anypoint Data Gateway Demo

Page 6: Build a Connected App in 10 Minutes or Less With Lightning + Data Gateway

All contents © MuleSoft Inc.

Salesforce + MuleSoft Lightning Connect + Data Gateway

External Objects/Data Sources

Field Permissions

Object Relationships

Data Gateway & Sources

Object Creation & Mapping

Security & Policy Setup

VPC

Od

ata

AP

I P

rod

uce

r

OD

ata AP

I C

onsu

mer

Use External Data Sources to connect to External Systems

Use Salesforce configuration to setup External Object relationships

Avoid large data movements and data storage in salesforce

Achieve real time, on-demand integration when needed

Built on industry standard OData protocol

Create reusable OData API to expose your backend systems

Avoid complicated integration code development and maintenance

Expose legacy data securely with VPC and security policy enforcements

Integration running natively in the cloud +

Seamlessly access backoffice data in days by using industry standard framework and scalable platforms (Salesforce + MuleSoft)

Page 7: Build a Connected App in 10 Minutes or Less With Lightning + Data Gateway

All contents © MuleSoft Inc.

Applied Data Virtualization

External Data Sources

Lightning Connect

CONSUME

Anypoint Data Gateway CONNECT VPC

Governance

Object Object

Object

Anypoint Data Gateway Designer

CONFIGURE

Customer’s environment

Page 8: Build a Connected App in 10 Minutes or Less With Lightning + Data Gateway

All contents © MuleSoft Inc.

Scenario at Acme Inc.

8

•  Customer 1-view charter, Acme Inc. business requirements: ü Show SAP Sales Orders and details in Salesforce ü Orders should reflect real-time status ü Data should be accessible anywhere and from any device

•  Solved by Jack using Anypoint Data Gateway and Lightning Connect: –  Volume – No need to load thousands of SAP Sales Order records in Salesforce

and keep them in sync with SAP. Data fetched real-time from SOR –  Complexity – No need to build and manage complex integration, and create

custom apex code/config in Salesforce. Complex Integration pre-built –  Scalability – No need to think of industry standards so that this solution is

scalable for other use case. Integration built on REST api and OData standards.

Page 9: Build a Connected App in 10 Minutes or Less With Lightning + Data Gateway

All contents © MuleSoft Inc.

Data Virtualization Components

9

•  Salesforce Lightning Connect –  External Data Sources – OData endpoint definitions –  External Objects – Represent objects built on external data sources http://www.salesforce.com/platform/solutions/connect-integrate

•  MuleSoft Anypoint Data Gateway –  Connections –  Gateway & Policies –  Objects http://www.mulesoft.com/platform/data-gateway

•  OData Protocol – An open protocol for RESTful APIs –  RESTful in architecture –  JSON interchange format –  Broadly supported http://www.odata.org

Page 10: Build a Connected App in 10 Minutes or Less With Lightning + Data Gateway

Building your own Data Gateways

Build a connected app in 10’ or less with Lightning & Data Gateway

Matias Coaker Sr Software Engineer [email protected]

Page 11: Build a Connected App in 10 Minutes or Less With Lightning + Data Gateway

All contents © MuleSoft Inc.

Anypoint Data Gateway for Lightning Connect

11

Supported Datasources Out of the box

Page 12: Build a Connected App in 10 Minutes or Less With Lightning + Data Gateway

All contents © MuleSoft Inc.

…You need a Data Gateway for your legacy datasource?

…You want to expose your API as an Odata API?

…You need data orchestration within your Data Gateway?

What If…

12

+

+

Page 13: Build a Connected App in 10 Minutes or Less With Lightning + Data Gateway

All contents © MuleSoft Inc.

APIKit + OData support

13

Existing APIKit module

Build a Mule App from a RAML file

New OData service

Extension to support and handle OData requests

OData made easy

Mule App exposing two APIs

APIKit OData Service

REST + Odata API

Page 14: Build a Connected App in 10 Minutes or Less With Lightning + Data Gateway

All contents © MuleSoft Inc.

Building Your OData API

14

Json Data Model

JSON file describing entities and properties

Within Anypoint Studio

Auto-generated Mule ESB application

In CloudHub

Runs locally or in CloudHub.

Define the model Implement Run / Deploy

Page 15: Build a Connected App in 10 Minutes or Less With Lightning + Data Gateway

All contents © MuleSoft Inc.

Building Your OData API

15

Json Data Model

JSON file describing entities and properties

Within Anypoint Studio

Auto-generated Mule ESB application

In CloudHub

Runs locally or in CloudHub.

Define the model Implement Run / Deploy

Simple json file

Array of entities

EDM compatible

Page 16: Build a Connected App in 10 Minutes or Less With Lightning + Data Gateway

All contents © MuleSoft Inc.

Building Your OData API

16

Json Data Model

JSON file describing entities and properties

Within Anypoint Studio

Auto-generated Mule ESB application

In CloudHub

Runs locally or in CloudHub.

Define the model Implement Run / Deploy

Anypoint Studio

Page 17: Build a Connected App in 10 Minutes or Less With Lightning + Data Gateway

All contents © MuleSoft Inc.

Building Your OData API

17

Json Data Model

JSON file describing entities and properties

Within Anypoint Studio

Auto-generated Mule ESB application

In CloudHub

Runs locally or in CloudHub.

Define the model Implement Run / Deploy

Page 18: Build a Connected App in 10 Minutes or Less With Lightning + Data Gateway

All contents © MuleSoft Inc.

Building Your OData API

18

Json Data Model

JSON file describing entities and properties

Within Anypoint Studio

Auto-generated Mule ESB application

In CloudHub

Runs locally or in CloudHub.

Define the model Implement Run / Deploy

Page 19: Build a Connected App in 10 Minutes or Less With Lightning + Data Gateway

Demo

Page 20: Build a Connected App in 10 Minutes or Less With Lightning + Data Gateway

Q & A

Matias Coaker Sr Software Engineer [email protected]

Bikram Sen Sr Architect, Strategic Alliances [email protected]

Page 21: Build a Connected App in 10 Minutes or Less With Lightning + Data Gateway

Thank You!