integrate salesforce with google glass using the mirror api

16
Integrate Salesforce with Google Glass using the Mirror API Mauricio Ardila, Velocify, Principal Software Engineer

Upload: salesforce-developers

Post on 28-Jan-2015

112 views

Category:

Technology


4 download

DESCRIPTION

Mobile and wearable technology has been increasingly prevalent in business and has changed it tremendously. Join us as we focus on wearable technology and dive into how this can be integrated with salesforce.com. We?ll go over the difference between mobile and wearable technology, talk about Google Glass and how to use the Mirror API, and then demonstrate how Force.com can act as the server that powers Google Glass effectively for business.

TRANSCRIPT

Page 1: Integrate Salesforce with Google Glass Using the Mirror API

Integrate Salesforce with Google Glass using the Mirror API

Mauricio Ardila, Velocify, Principal Software Engineer

Page 2: Integrate Salesforce with Google Glass Using the Mirror API

Safe harborSafe harbor statement under the Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services. The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of any litigation, risks associated with completed and any possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most recent fiscal quarter. These documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site. Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.

Page 3: Integrate Salesforce with Google Glass Using the Mirror API

All about VelocifyVelocify is a market-leading provider of cloud-based intelligent sales software, designed for high-velocity sales environments.

▪ Helps sales teams increase revenue by driving rapid lead response, increased selling discipline, improved productivity, and actionable selling insights.

▪ Improved customer acquisition practices and sales performance for more than 1,500 companies across different verticals.

▪ Recognized as one of the fastest-growing companies by Deloitte and Inc. Magazine.

Highlights

Page 4: Integrate Salesforce with Google Glass Using the Mirror API

Mobile Vs Wearable

Page 5: Integrate Salesforce with Google Glass Using the Mirror API

Mobile Vs. Wearable 2

Page 6: Integrate Salesforce with Google Glass Using the Mirror API

Mobile Vs. Wearable 3

Page 7: Integrate Salesforce with Google Glass Using the Mirror API

What is Google Glass

Page 8: Integrate Salesforce with Google Glass Using the Mirror API

What is a timecard and a bundle

Home CardPresented every time Glass is turned on. By simply muttering "Ok Glass", you activate Glass's voice controls.

Directions When You Need ThemPowered by Google Now, Glass can provide you with directions when you need them. If you have an appointment in your calendar or your daily commute, Google Now's Directions have you covered.

Page 9: Integrate Salesforce with Google Glass Using the Mirror API

How we connect to Google Glass from salesforceGoogle glass through the mirror API accepts OAuth2. We will use this API to push and retrieve information from the device.

SFDC

Page 10: Integrate Salesforce with Google Glass Using the Mirror API

OAuth2 101

UserRequest Token

Authorization code

Verify Access

Accept Access

Get Tokens

Refresh and Access Token

Page 11: Integrate Salesforce with Google Glass Using the Mirror API

How to push/retrieve information from/ to glassInsert

POST /mirror/v1/timeline HTTP/1.1Host: www.googleapis.comAuthorization: Bearer {auth token}Content-Type: application/jsonContent-Length: 26

{ "text": "Hello world" }

HTTP/1.1 201 CreatedDate: Tue, 25 Sep 2012 23:30:11 GMTContent-Type: application/jsonContent-Length: 303

{ "kind": "glass#timelineItem", "id": "1234567890", "selfLink": "https://www.googleapis.com/mirror/v1/timeline/1234567890", "created": "2012-09-25T23:28:43.192Z", "updated": "2012-09-25T23:28:43.192Z", "etag": "\"G5BI0RWvj-0jWdBrdWrPZV7xPKw/t25selcGS3uDEVT6FB09hAG-QQ\"", "text": "Hello world"}

Page 12: Integrate Salesforce with Google Glass Using the Mirror API

How to push/retrieve information from/ to glassInsert with data POST /upload/mirror/v1/timeline HTTP/1.1

Host: www.googleapis.comAuthorization: Bearer {auth token}Content-Type: multipart/related; boundary="mymultipartboundary"Content-Length: {length}

--mymultipartboundaryContent-Type: application/json; charset=UTF-8

{ "text": "A solar eclipse of Saturn. Earth is also in this photo. Can you find it?" }--mymultipartboundaryContent-Type: image/jpegContent-Transfer-Encoding: binary

[binary image data]--mymultipartboundary--

Page 13: Integrate Salesforce with Google Glass Using the Mirror API

How to push/retrieve information from/ to glassInsert subscription

POST /mirror/v1/subscriptions HTTP/1.1Authorization: Bearer auth tokenContent-Type: application/jsonContent-Length: length

{ "collection": "timeline" "userToken": "harold_penguin", "operation": [“Reply"], "callbackUrl": "https://example.com/notify/callback"}

{ "collection": "timeline", "itemId": "3hidvm0xez6r8_dacdb3103b8b604_h8rpllg", "operation": "UPDATE", "userToken": "harold_penguin", "verifyToken": "random_hash_to_verify_referer", "userActions": [ { "type": "<Reply>", "payload": "<PAYLOAD>" } ]}

Page 14: Integrate Salesforce with Google Glass Using the Mirror API

DEMO

Page 16: Integrate Salesforce with Google Glass Using the Mirror API