![Page 1: Magento Imgine eCommerce Conference February 2011: Mashup of Magento and SalesForce.com](https://reader035.vdocument.in/reader035/viewer/2022081413/54840b67b4af9f434e8b4593/html5/thumbnails/1.jpg)
CloudGentoAn Enterprise Level Mash-up of Magento and Salesforce.com
![Page 2: Magento Imgine eCommerce Conference February 2011: Mashup of Magento and SalesForce.com](https://reader035.vdocument.in/reader035/viewer/2022081413/54840b67b4af9f434e8b4593/html5/thumbnails/2.jpg)
Jon Jessup
Founder & CEO
Cloud Conversion
![Page 3: Magento Imgine eCommerce Conference February 2011: Mashup of Magento and SalesForce.com](https://reader035.vdocument.in/reader035/viewer/2022081413/54840b67b4af9f434e8b4593/html5/thumbnails/3.jpg)
Agenda
Cloud Conversion Background
CloudGento -- What, Why and How We Do It
Magento API Best Practices
Common Pitfalls to Avoid
MagentoGo
Opportunities for Cloud Developers
Live Demos!
Q & A
![Page 4: Magento Imgine eCommerce Conference February 2011: Mashup of Magento and SalesForce.com](https://reader035.vdocument.in/reader035/viewer/2022081413/54840b67b4af9f434e8b4593/html5/thumbnails/4.jpg)
Cloud Conversion Background
Team consists of cloud evangelists with over 25 years experience in
eCommerce, CRM and ERP.
We know eCommerceAbout Cloud ConversionFounded February 2009 in Park City, UT
Focus: Build innovative eCommerce applications
Mission: Solve real-world business challenges
Primary Products: eCommSource & CloudGento
Self-funded
![Page 5: Magento Imgine eCommerce Conference February 2011: Mashup of Magento and SalesForce.com](https://reader035.vdocument.in/reader035/viewer/2022081413/54840b67b4af9f434e8b4593/html5/thumbnails/5.jpg)
Successful Customers
![Page 6: Magento Imgine eCommerce Conference February 2011: Mashup of Magento and SalesForce.com](https://reader035.vdocument.in/reader035/viewer/2022081413/54840b67b4af9f434e8b4593/html5/thumbnails/6.jpg)
Key Partners
![Page 7: Magento Imgine eCommerce Conference February 2011: Mashup of Magento and SalesForce.com](https://reader035.vdocument.in/reader035/viewer/2022081413/54840b67b4af9f434e8b4593/html5/thumbnails/7.jpg)
CloudGento - What, Why and How We Do It
Overview
Integrating B2B and B2C Operations
Streamlining Customer Service and Support
Managing RMAs and Replacements
Managing Inventory across Multiple Channels
Reporting & Analytics
Workflow, Visual Flow and Security
Marketing Initiatives (VerticalResponse, MailChimp, etc)
![Page 8: Magento Imgine eCommerce Conference February 2011: Mashup of Magento and SalesForce.com](https://reader035.vdocument.in/reader035/viewer/2022081413/54840b67b4af9f434e8b4593/html5/thumbnails/8.jpg)
CloudGento Flow
Customers
Orders
Products
Shipping
![Page 9: Magento Imgine eCommerce Conference February 2011: Mashup of Magento and SalesForce.com](https://reader035.vdocument.in/reader035/viewer/2022081413/54840b67b4af9f434e8b4593/html5/thumbnails/9.jpg)
The Eclipse/Force.com IDE
![Page 10: Magento Imgine eCommerce Conference February 2011: Mashup of Magento and SalesForce.com](https://reader035.vdocument.in/reader035/viewer/2022081413/54840b67b4af9f434e8b4593/html5/thumbnails/10.jpg)
Getting Started
Make sure API Endpoint is accessible
i.e. – http://www.samplesite.com/api/v2_soap
Define API User and Appropriate Roles
System -> Web Services
WSDL can be found at
http://www.samplesite.com/api/v2_soap?wsdl=1
![Page 11: Magento Imgine eCommerce Conference February 2011: Mashup of Magento and SalesForce.com](https://reader035.vdocument.in/reader035/viewer/2022081413/54840b67b4af9f434e8b4593/html5/thumbnails/11.jpg)
Defining API Role
![Page 12: Magento Imgine eCommerce Conference February 2011: Mashup of Magento and SalesForce.com](https://reader035.vdocument.in/reader035/viewer/2022081413/54840b67b4af9f434e8b4593/html5/thumbnails/12.jpg)
Defining API Users
![Page 13: Magento Imgine eCommerce Conference February 2011: Mashup of Magento and SalesForce.com](https://reader035.vdocument.in/reader035/viewer/2022081413/54840b67b4af9f434e8b4593/html5/thumbnails/13.jpg)
Basic Magento API Flow
Make login request with username/API key -> SessionID
Store SessionID to make subsequent API calls
Call endSession (optional)
![Page 14: Magento Imgine eCommerce Conference February 2011: Mashup of Magento and SalesForce.com](https://reader035.vdocument.in/reader035/viewer/2022081413/54840b67b4af9f434e8b4593/html5/thumbnails/14.jpg)
Basic Magento API Calls
login
startSession
endSession
resources
globalFaults
resourceFaults
![Page 15: Magento Imgine eCommerce Conference February 2011: Mashup of Magento and SalesForce.com](https://reader035.vdocument.in/reader035/viewer/2022081413/54840b67b4af9f434e8b4593/html5/thumbnails/15.jpg)
Available Customer and Order API Calls
directoryCountryList
directoryRegionList
customerCustomerList
customerCustomerCreate
customerCustomerInfo
customerCustomerUpdate
customerCustomerDelete
customerGroupList
customerAddressList
customerAddressCreate
customerAddressInfo
customerAddressUpdate
customerAddressDelete
salesOrderListsalesOrderInfosalesOrderAddCommentsalesOrderHoldsalesOrderUnholdsalesOrderCancelsalesOrderShipmentListsalesOrderShipmentInfosalesOrderShipmentCreatesalesOrderShipmentAddCommentsalesOrderShipmentAddTracksalesOrderShipmentRemoveTracksalesOrderShipmentGetCarrierssalesOrderInvoiceListsalesOrderInvoiceInfosalesOrderInvoiceCreatesalesOrderInvoiceAddCommentsalesOrderInvoiceCapturesalesOrderInvoiceVoidsalesOrderInvoiceCancel
![Page 16: Magento Imgine eCommerce Conference February 2011: Mashup of Magento and SalesForce.com](https://reader035.vdocument.in/reader035/viewer/2022081413/54840b67b4af9f434e8b4593/html5/thumbnails/16.jpg)
Available Product and Category Calls
catalogCategoryCurrentStorecatalogCategoryTreecatalogCategoryLevelcatalogCategoryInfocatalogCategoryCreatecatalogCategoryUpdatecatalogCategoryMovecatalogCategoryDeletecatalogCategoryAssignedProductscatalogCategoryAssignProductcatalogCategoryUpdateProductcatalogCategoryRemoveProductcatalogProductCurrentStorecatalogProductListcatalogProductInfocatalogProductCreatecatalogProductUpdatecatalogProductSetSpecialPricecatalogProductGetSpecialPricecatalogProductDelete
catalogProductAttributeCurrentStorecatalogProductAttributeListcatalogProductAttributeOptionscatalogProductAttributeSetListcatalogProductTypeListcatalogProductAttributeTierPriceInfocatalogProductAttributeTierPriceUpdatecatalogCategoryAttributeCurrentStorecatalogCategoryAttributeListcatalogCategoryAttributeOptionscatalogProductAttributeMediaCurrentStorecatalogProductAttributeMediaListcatalogProductAttributeMediaInfocatalogProductAttributeMediaTypescatalogProductAttributeMediaCreatecatalogProductAttributeMediaUpdatecatalogProductAttributeMediaRemovecatalogProductLinkListcatalogProductLinkAssigncatalogProductLinkUpdatecatalogProductLinkRemovecatalogProductLinkTypescatalogProductLinkAttributes
![Page 17: Magento Imgine eCommerce Conference February 2011: Mashup of Magento and SalesForce.com](https://reader035.vdocument.in/reader035/viewer/2022081413/54840b67b4af9f434e8b4593/html5/thumbnails/17.jpg)
Coming in 1.5.0.0 API
New Shopping Cart API
Support for multiple ComplexFilters
![Page 18: Magento Imgine eCommerce Conference February 2011: Mashup of Magento and SalesForce.com](https://reader035.vdocument.in/reader035/viewer/2022081413/54840b67b4af9f434e8b4593/html5/thumbnails/18.jpg)
Best Practices & Common Pitfalls to Avoid
Keep track of Increment Ids!
Make Sure the API is properly setup & enabled
Monitor API Calls and Don’t Overload the API
Understand Complex Filters and Associative Entities
Always use SSL and Encrypt API Tokens
Don’t Be Afraid to Mash-up Other Services
Build a Custom API in PHP
![Page 19: Magento Imgine eCommerce Conference February 2011: Mashup of Magento and SalesForce.com](https://reader035.vdocument.in/reader035/viewer/2022081413/54840b67b4af9f434e8b4593/html5/thumbnails/19.jpg)
REST API via OpenSocial/Shindig!
oAuth Support
Gadgets and Widgets to extend the site and admin
Ability to offer Free trials
End goal: “If you can do it in the UI, you can do it via a
service”
Future support for push notifications
![Page 20: Magento Imgine eCommerce Conference February 2011: Mashup of Magento and SalesForce.com](https://reader035.vdocument.in/reader035/viewer/2022081413/54840b67b4af9f434e8b4593/html5/thumbnails/20.jpg)
Open protocol (oAuth.net) for secure API authorization in a
“simple” and standard method from applications. Allows
MagentoGo accounts to be connected to 3rd party
applications without the account owner having to share
their
password and they can revoke access at any time.
oAuth Overview
Notable oAuth Implementations: Salesforce.com, LinkedIn, Twitter, Facebook, LivePerson, Magento, etc
![Page 21: Magento Imgine eCommerce Conference February 2011: Mashup of Magento and SalesForce.com](https://reader035.vdocument.in/reader035/viewer/2022081413/54840b67b4af9f434e8b4593/html5/thumbnails/21.jpg)
1) Acquire key and consumer secret
2) Ask for a request token and specify your callback
3) Direct the user to the Magento authorization screen
4) Receive a callback to the URL your specified
5) Ask for an access token
6) Make API calls!
The oAuth Dance
![Page 22: Magento Imgine eCommerce Conference February 2011: Mashup of Magento and SalesForce.com](https://reader035.vdocument.in/reader035/viewer/2022081413/54840b67b4af9f434e8b4593/html5/thumbnails/22.jpg)
REST Request:http://magento.local/shindig/gadgets/api/rest/product/93?view=preview
![Page 23: Magento Imgine eCommerce Conference February 2011: Mashup of Magento and SalesForce.com](https://reader035.vdocument.in/reader035/viewer/2022081413/54840b67b4af9f434e8b4593/html5/thumbnails/23.jpg)
PaaS
Beta
Runs on Magento Enterprise
Maintained/Hosted by Magento
Automatic Upgrades
Customizations done in CSS and Gadgets
REST API + oAuth +JSON
Ripe for Opportunity/Innovation!
Open-Source
GA
Community/Professional/Enterprise
Full-Control Over Installation
Responsible for Upgrades
Customizations done in PHP
SOAP API
Large Install Base
![Page 24: Magento Imgine eCommerce Conference February 2011: Mashup of Magento and SalesForce.com](https://reader035.vdocument.in/reader035/viewer/2022081413/54840b67b4af9f434e8b4593/html5/thumbnails/24.jpg)
eCommerce Opportunities for Cloud Developers
Find a Pain Point and Help Solve It!
Build Gadgets/Integrations for MagentoGo
Mash-up eCommerce services (PayPal, Magento, etc)
Build Social eCommerce Applications
Mobile Apps
![Page 25: Magento Imgine eCommerce Conference February 2011: Mashup of Magento and SalesForce.com](https://reader035.vdocument.in/reader035/viewer/2022081413/54840b67b4af9f434e8b4593/html5/thumbnails/25.jpg)
Live Demos!
![Page 26: Magento Imgine eCommerce Conference February 2011: Mashup of Magento and SalesForce.com](https://reader035.vdocument.in/reader035/viewer/2022081413/54840b67b4af9f434e8b4593/html5/thumbnails/26.jpg)
Question & Answer
Questions, Thoughts, Ideas?