{"id":144,"date":"2014-09-29T08:00:00","date_gmt":"2014-09-29T08:00:00","guid":{"rendered":"http:\/\/localhost\/?p=144"},"modified":"2015-12-16T19:49:27","modified_gmt":"2015-12-16T19:49:27","slug":"salesforce-hackathon-survival-kit","status":"publish","type":"post","link":"https:\/\/ionic.io\/blog\/salesforce-hackathon-survival-kit","title":{"rendered":"Salesforce $1M Hackathon Survival Kit"},"content":{"rendered":"<p>Salesforce just announced the return of the <a href=\"https:\/\/developer.salesforce.com\/million-dollar-hackathon\">$1M Hackathon<\/a>, this time coming to their October 13th <a href=\"http:\/\/www.salesforce.com\/dreamforce\/DF14\/\">Dreamforce<\/a> conference.<\/p>\n<p>The hackathon runs from October 10th through the 12th. That means you have just <em>two days<\/em> to build the best mobile app on Salesforce technology and win part of the $1M in prizes. You can&#8217;t afford to waste a minute on anything besides building a great unique experience on Salesforce!<\/p>\n<p>So, to help you get up and running as quickly as possible, we&#8217;ve partnered with the Salesforce team to bring you the [Ionic Salesforce Survival Kit](https:\/\/github.com\/driftyco\/ionic-starter-salesforce), a pre-configured Ionic app template complete with everything you need to connect to the Salesforce platform and build your UI.<br \/>\n<!--more--><\/p>\n<h3 id=\"requiredknowledge\">Required knowledge<\/h3>\n<p>Don&#8217;t know native development? Perfect! Ionic apps use only web technologies like AngularJS and run on both iOS and Android without any extra work.<\/p>\n<p>To get the most out of the app, some experience with Javascript and HTML will be necessary, and if you know AngularJS that will also help (but isn&#8217;t required).<\/p>\n<h3 id=\"gettingstarted\">Getting started<\/h3>\n<p>First, you&#8217;ll need to install Ionic and Cordova. Our <a href=\"http:\/\/ionicframework.com\/getting-started\/\">Getting Started<\/a> page can help you with that. These tools let you create, build, test, and run your mobile apps in the browser and on your devices.<\/p>\n<p>We recommend doing this <em>before<\/em> the Hackathon so there are no issues when the competition stars.<\/p>\n<p>Once everything is installed, test out the Ionic command to see if you can start and build an app:<\/p>\n<pre><code class=\"bash\">$ ionic start myApp salesforce\n$ cd myApp\n<\/code><\/pre>\n<p>This will create the project and download the Salesforce kit. Then, we need to add a Salesforce OAuth plugin:<\/p>\n<pre><code class=\"bash\">$ ionic plugin add https:\/\/github.com\/forcedotcom\/SalesforceMobileSDK-CordovaPlugin\n<\/code><\/pre>\n<p>Now we can configure our device platform and test the app!<\/p>\n<pre><code class=\"bash\">$ ionic platform add ios (or android for windows developers)\n$ ionic build ios\n$ ionic emulate ios\n<\/code><\/pre>\n<p>This should open the simulator with the real app running right on the phone, just like this:<\/p>\n<p><img decoding=\"async\" data-src=\"https:\/\/ionic.io\/img\/blog\/coride-app-preview.pngblog\/salesforce.png\" width=\"362px\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" class=\"lazyload\"><noscript><img decoding=\"async\" src=\"https:\/\/ionic.io\/img\/blog\/coride-app-preview.pngblog\/salesforce.png\" width=\"362px\"><\/noscript><\/p>\n<p>Note: for Android developers we recommend testing directly on the device, so substitute <code>ionic emulate<\/code> for <code>ionic run<\/code>. If you need help installing all the dependencies for Android development or are using a Windows computer, we recommend our <a href=\"https:\/\/github.com\/driftyco\/ionic-box\">Ionic Box<\/a> project which helps simplify the configuration of a development environment.<\/p>\n<h3 id=\"freeauthentication\">Free Authentication<\/h3>\n<p>One of the hardest and most time consuming parts of app development is adding authentication. With the Ionic Salesforce Starter app, you get force.com authentication for free.<\/p>\n<p>All you need to do is edit the <code>bootconfig.json<\/code> file and add your production force.com application information. If you don&#8217;t have a force.com application created yet, just create a new Connected App in salesforce and add the Connected App ID and Callback URI to the <code>bootconfig.json<\/code> file.<\/p>\n<h3 id=\"wheretogofromhere\">Where to go from here<\/h3>\n<p>If everything worked, you now have a ready-to-go template for building an Ionic app with AngularJS and the Salesforce platform. To learn more about how to use Ionic<br \/>\nand all of the components available, take a look at our <a href=\"http:\/\/ionicframework.com\/docs\">docs<\/a>. For AngularJS help, take a look at the great <a href=\"https:\/\/thinkster.io\/angulartutorial\/a-better-way-to-learn-angularjs\/\">Thinkster.io<\/a> tutorial on Angular, or <a href=\"https:\/\/www.fullstackedu.com\/\">Fullstack<\/a>, or <a href=\"https:\/\/egghead.io\/\">egghead.io<\/a>.<\/p>\n<p>For more info on extending this starter project, take a look at the <a href=\"https:\/\/github.com\/driftyco\/ionic-starter-salesforce\">README<\/a> for the project.<\/p>\n<p>Good luck at the Hackathon!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Salesforce just announced the return of the $1M Hackathon, this time coming to their October 13th Dreamforce conference. The hackathon runs from October 10th through the 12th. That means you have just two days to build the best mobile app on Salesforce technology and win part of the $1M in prizes. You can&#8217;t afford to [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"publish_to_discourse":"","publish_post_category":"","wpdc_auto_publish_overridden":"","wpdc_topic_tags":"","wpdc_pin_topic":"","wpdc_pin_until":"","discourse_post_id":"","discourse_permalink":"","wpdc_publishing_response":"","wpdc_publishing_error":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[3],"class_list":["post-144","post","type-post","status-publish","format-standard","hentry","category-all","tag-ionic"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v23.0 (Yoast SEO v23.0) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Salesforce $1M Hackathon Survival Kit - Ionic Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ionic.io\/blog\/salesforce-hackathon-survival-kit\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Salesforce $1M Hackathon Survival Kit\" \/>\n<meta property=\"og:description\" content=\"Salesforce just announced the return of the $1M Hackathon, this time coming to their October 13th Dreamforce conference. The hackathon runs from October 10th through the 12th. That means you have just two days to build the best mobile app on Salesforce technology and win part of the $1M in prizes. You can&#8217;t afford to [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ionic.io\/blog\/salesforce-hackathon-survival-kit\" \/>\n<meta property=\"og:site_name\" content=\"Ionic Blog\" \/>\n<meta property=\"article:published_time\" content=\"2014-09-29T08:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-12-16T19:49:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ionic.io\/img\/blog\/coride-app-preview.pngblog\/salesforce.png\" \/>\n<meta name=\"author\" content=\"Max Lynch\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@maxlynch\" \/>\n<meta name=\"twitter:site\" content=\"@ionicframework\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Max Lynch\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/ionic.io\/blog\/salesforce-hackathon-survival-kit#article\",\"isPartOf\":{\"@id\":\"https:\/\/ionic.io\/blog\/salesforce-hackathon-survival-kit\"},\"author\":{\"name\":\"Max Lynch\",\"@id\":\"https:\/\/ionic.io\/blog\/#\/schema\/person\/91f360cffbd804a464b0c4a87b5c5f1e\"},\"headline\":\"Salesforce $1M Hackathon Survival Kit\",\"datePublished\":\"2014-09-29T08:00:00+00:00\",\"dateModified\":\"2015-12-16T19:49:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/ionic.io\/blog\/salesforce-hackathon-survival-kit\"},\"wordCount\":514,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/ionic.io\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/ionic.io\/blog\/salesforce-hackathon-survival-kit#primaryimage\"},\"thumbnailUrl\":\"https:\/\/ionic.io\/img\/blog\/coride-app-preview.pngblog\/salesforce.png\",\"keywords\":[\"Ionic\"],\"articleSection\":[\"All\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/ionic.io\/blog\/salesforce-hackathon-survival-kit#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ionic.io\/blog\/salesforce-hackathon-survival-kit\",\"url\":\"https:\/\/ionic.io\/blog\/salesforce-hackathon-survival-kit\",\"name\":\"Salesforce $1M Hackathon Survival Kit - Ionic Blog\",\"isPartOf\":{\"@id\":\"https:\/\/ionic.io\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/ionic.io\/blog\/salesforce-hackathon-survival-kit#primaryimage\"},\"image\":{\"@id\":\"https:\/\/ionic.io\/blog\/salesforce-hackathon-survival-kit#primaryimage\"},\"thumbnailUrl\":\"https:\/\/ionic.io\/img\/blog\/coride-app-preview.pngblog\/salesforce.png\",\"datePublished\":\"2014-09-29T08:00:00+00:00\",\"dateModified\":\"2015-12-16T19:49:27+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/ionic.io\/blog\/salesforce-hackathon-survival-kit#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ionic.io\/blog\/salesforce-hackathon-survival-kit\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/ionic.io\/blog\/salesforce-hackathon-survival-kit#primaryimage\",\"url\":\"https:\/\/ionic.io\/img\/blog\/coride-app-preview.pngblog\/salesforce.png\",\"contentUrl\":\"https:\/\/ionic.io\/img\/blog\/coride-app-preview.pngblog\/salesforce.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ionic.io\/blog\/salesforce-hackathon-survival-kit#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ionic.io\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Salesforce $1M Hackathon Survival Kit\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ionic.io\/blog\/#website\",\"url\":\"https:\/\/ionic.io\/blog\/\",\"name\":\"ionic.io\/blog\",\"description\":\"Build amazing native and progressive web apps with the web\",\"publisher\":{\"@id\":\"https:\/\/ionic.io\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ionic.io\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/ionic.io\/blog\/#organization\",\"name\":\"Ionic\",\"url\":\"https:\/\/ionic.io\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/ionic.io\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2020\/10\/white-on-color.png\",\"contentUrl\":\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2020\/10\/white-on-color.png\",\"width\":1920,\"height\":854,\"caption\":\"Ionic\"},\"image\":{\"@id\":\"https:\/\/ionic.io\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/ionicframework\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/ionic.io\/blog\/#\/schema\/person\/91f360cffbd804a464b0c4a87b5c5f1e\",\"name\":\"Max Lynch\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/ionic.io\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2018\/05\/max-avatar-150x150.jpg\",\"contentUrl\":\"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2018\/05\/max-avatar-150x150.jpg\",\"caption\":\"Max Lynch\"},\"description\":\"CEO\",\"sameAs\":[\"http:\/\/twitter.com\/maxlynch\",\"https:\/\/x.com\/maxlynch\"],\"url\":\"https:\/\/ionic.io\/blog\/author\/max\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Salesforce $1M Hackathon Survival Kit - Ionic Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/ionic.io\/blog\/salesforce-hackathon-survival-kit","og_locale":"en_US","og_type":"article","og_title":"Salesforce $1M Hackathon Survival Kit","og_description":"Salesforce just announced the return of the $1M Hackathon, this time coming to their October 13th Dreamforce conference. The hackathon runs from October 10th through the 12th. That means you have just two days to build the best mobile app on Salesforce technology and win part of the $1M in prizes. You can&#8217;t afford to [&hellip;]","og_url":"https:\/\/ionic.io\/blog\/salesforce-hackathon-survival-kit","og_site_name":"Ionic Blog","article_published_time":"2014-09-29T08:00:00+00:00","article_modified_time":"2015-12-16T19:49:27+00:00","og_image":[{"url":"https:\/\/ionic.io\/img\/blog\/coride-app-preview.pngblog\/salesforce.png"}],"author":"Max Lynch","twitter_card":"summary_large_image","twitter_creator":"@maxlynch","twitter_site":"@ionicframework","twitter_misc":{"Written by":"Max Lynch","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ionic.io\/blog\/salesforce-hackathon-survival-kit#article","isPartOf":{"@id":"https:\/\/ionic.io\/blog\/salesforce-hackathon-survival-kit"},"author":{"name":"Max Lynch","@id":"https:\/\/ionic.io\/blog\/#\/schema\/person\/91f360cffbd804a464b0c4a87b5c5f1e"},"headline":"Salesforce $1M Hackathon Survival Kit","datePublished":"2014-09-29T08:00:00+00:00","dateModified":"2015-12-16T19:49:27+00:00","mainEntityOfPage":{"@id":"https:\/\/ionic.io\/blog\/salesforce-hackathon-survival-kit"},"wordCount":514,"commentCount":0,"publisher":{"@id":"https:\/\/ionic.io\/blog\/#organization"},"image":{"@id":"https:\/\/ionic.io\/blog\/salesforce-hackathon-survival-kit#primaryimage"},"thumbnailUrl":"https:\/\/ionic.io\/img\/blog\/coride-app-preview.pngblog\/salesforce.png","keywords":["Ionic"],"articleSection":["All"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/ionic.io\/blog\/salesforce-hackathon-survival-kit#respond"]}]},{"@type":"WebPage","@id":"https:\/\/ionic.io\/blog\/salesforce-hackathon-survival-kit","url":"https:\/\/ionic.io\/blog\/salesforce-hackathon-survival-kit","name":"Salesforce $1M Hackathon Survival Kit - Ionic Blog","isPartOf":{"@id":"https:\/\/ionic.io\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ionic.io\/blog\/salesforce-hackathon-survival-kit#primaryimage"},"image":{"@id":"https:\/\/ionic.io\/blog\/salesforce-hackathon-survival-kit#primaryimage"},"thumbnailUrl":"https:\/\/ionic.io\/img\/blog\/coride-app-preview.pngblog\/salesforce.png","datePublished":"2014-09-29T08:00:00+00:00","dateModified":"2015-12-16T19:49:27+00:00","breadcrumb":{"@id":"https:\/\/ionic.io\/blog\/salesforce-hackathon-survival-kit#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ionic.io\/blog\/salesforce-hackathon-survival-kit"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ionic.io\/blog\/salesforce-hackathon-survival-kit#primaryimage","url":"https:\/\/ionic.io\/img\/blog\/coride-app-preview.pngblog\/salesforce.png","contentUrl":"https:\/\/ionic.io\/img\/blog\/coride-app-preview.pngblog\/salesforce.png"},{"@type":"BreadcrumbList","@id":"https:\/\/ionic.io\/blog\/salesforce-hackathon-survival-kit#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ionic.io\/blog"},{"@type":"ListItem","position":2,"name":"Salesforce $1M Hackathon Survival Kit"}]},{"@type":"WebSite","@id":"https:\/\/ionic.io\/blog\/#website","url":"https:\/\/ionic.io\/blog\/","name":"ionic.io\/blog","description":"Build amazing native and progressive web apps with the web","publisher":{"@id":"https:\/\/ionic.io\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ionic.io\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/ionic.io\/blog\/#organization","name":"Ionic","url":"https:\/\/ionic.io\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ionic.io\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2020\/10\/white-on-color.png","contentUrl":"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2020\/10\/white-on-color.png","width":1920,"height":854,"caption":"Ionic"},"image":{"@id":"https:\/\/ionic.io\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/ionicframework"]},{"@type":"Person","@id":"https:\/\/ionic.io\/blog\/#\/schema\/person\/91f360cffbd804a464b0c4a87b5c5f1e","name":"Max Lynch","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ionic.io\/blog\/#\/schema\/person\/image\/","url":"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2018\/05\/max-avatar-150x150.jpg","contentUrl":"https:\/\/ionic.io\/blog\/wp-content\/uploads\/2018\/05\/max-avatar-150x150.jpg","caption":"Max Lynch"},"description":"CEO","sameAs":["http:\/\/twitter.com\/maxlynch","https:\/\/x.com\/maxlynch"],"url":"https:\/\/ionic.io\/blog\/author\/max"}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/ionic.io\/blog\/wp-json\/wp\/v2\/posts\/144","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ionic.io\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ionic.io\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ionic.io\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ionic.io\/blog\/wp-json\/wp\/v2\/comments?post=144"}],"version-history":[{"count":0,"href":"https:\/\/ionic.io\/blog\/wp-json\/wp\/v2\/posts\/144\/revisions"}],"wp:attachment":[{"href":"https:\/\/ionic.io\/blog\/wp-json\/wp\/v2\/media?parent=144"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ionic.io\/blog\/wp-json\/wp\/v2\/categories?post=144"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ionic.io\/blog\/wp-json\/wp\/v2\/tags?post=144"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}