{"_id":"56d1f33a00a2a70b00b365c7","parentDoc":null,"version":{"_id":"56d1f33700a2a70b00b3658e","project":"5526c95cf69851170038b48f","__v":2,"createdAt":"2016-02-27T19:04:23.946Z","releaseDate":"2016-02-27T19:04:23.946Z","categories":["56d1f33900a2a70b00b3658f","56d1f33900a2a70b00b36590","56d1f33900a2a70b00b36591","56d1f33900a2a70b00b36592","56d1f33900a2a70b00b36593","56d1f33900a2a70b00b36594","56d1f33900a2a70b00b36595","56d1f33900a2a70b00b36596","56d1f33900a2a70b00b36597","56d1f33900a2a70b00b36598","56d1f33900a2a70b00b36599","56d1f33900a2a70b00b3659a","571f9497ada30c34003b7cee"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"beta","version_clean":"2.0.0-beta","version":"2.0.0-beta"},"__v":3,"project":"5526c95cf69851170038b48f","user":"5526ca4cf69851170038b496","category":{"_id":"56d1f33900a2a70b00b3658f","version":"56d1f33700a2a70b00b3658e","__v":1,"pages":["56d1f33a00a2a70b00b365c1","56d1f33a00a2a70b00b365c2","56d1f33a00a2a70b00b365c3","56d1f33a00a2a70b00b365c4","56d1f33a00a2a70b00b365c5","56d1f33a00a2a70b00b365c6","56d1f33a00a2a70b00b365c7","56d1f33a00a2a70b00b365c8","56d1f33a00a2a70b00b365c9","56d1f33a00a2a70b00b365ca","56d1f33a00a2a70b00b365cb","56d1f33a00a2a70b00b365cc","56d1f33a00a2a70b00b365cd","56d1f33a00a2a70b00b365ce","56d1f33a00a2a70b00b365cf","56d1f33a00a2a70b00b365d0","56d1f33a00a2a70b00b365d1","56d1f33a00a2a70b00b365d2"],"project":"5526c95cf69851170038b48f","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-04-10T13:13:56.755Z","from_sync":false,"order":0,"slug":"getting-started","title":"Getting Started"},"updates":["5730c483b16ed73200ddd1f9","57397b96e370590e0012e899","57401d16f4120e0e00f9b3fc"],"next":{"pages":[],"description":""},"createdAt":"2015-09-22T13:34:53.917Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":3,"body":"You've got an app created. You have an [App ID](doc:io-api-keys#section-app-id) and an [API Key](doc:io-api-keys#section-api-keys). Now, you're ready to start adding in the Ionic Platform services, like Push, Deploy, and Analytics to your app.\n\nFirst, let's go over some basic terms & concepts that services have in common. \n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"Cordova, and Ionic Framework\",\n  \"body\": \"This page assumes you understand the basic terminology used by Cordova and Ionic.\"\n}\n[/block]\n## Modules\n\nModules are the main interface you use to interact with our services. They are JavaScript classes that provide methods for you to utilize in your app.\n\nLearn more about [modules](doc:io-service-modules)\n\n## Plugins\n\nSome, but not all, services require the usage of Cordova plugins. They provide native iOS and Android code to interact with the device on which the app is running. Plugins are utilized via the modules, so you won't need to do much with these, beyond installing and upgrading.\n\nLearn more about [plugins](doc:io-plugins)\n\nAll the Ionic Platform services require the installation of the [Platform Web Client](https://github.com/driftyco/ionic-platform-web-client).\n\nInstalling the module is simple. All you need to do is run the following in your project directory:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"$ ionic add ionic-platform-web-client\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\"\n}\n[/block]\nThat's it! Now, you can move on to installing one of our services:\n\n* [Push Notifications](doc:push-from-scratch) \n* [Deploy](doc:deploy-install) \n* [Analytics](doc:analytics-from-scratch)","excerpt":"Overview on adding the Ionic Platform services to your app","slug":"io-adding-services","type":"basic","title":"Adding Services"}

Adding Services

Overview on adding the Ionic Platform services to your app

You've got an app created. You have an [App ID](doc:io-api-keys#section-app-id) and an [API Key](doc:io-api-keys#section-api-keys). Now, you're ready to start adding in the Ionic Platform services, like Push, Deploy, and Analytics to your app. First, let's go over some basic terms & concepts that services have in common. [block:callout] { "type": "info", "title": "Cordova, and Ionic Framework", "body": "This page assumes you understand the basic terminology used by Cordova and Ionic." } [/block] ## Modules Modules are the main interface you use to interact with our services. They are JavaScript classes that provide methods for you to utilize in your app. Learn more about [modules](doc:io-service-modules) ## Plugins Some, but not all, services require the usage of Cordova plugins. They provide native iOS and Android code to interact with the device on which the app is running. Plugins are utilized via the modules, so you won't need to do much with these, beyond installing and upgrading. Learn more about [plugins](doc:io-plugins) All the Ionic Platform services require the installation of the [Platform Web Client](https://github.com/driftyco/ionic-platform-web-client). Installing the module is simple. All you need to do is run the following in your project directory: [block:code] { "codes": [ { "code": "$ ionic add ionic-platform-web-client", "language": "shell" } ] } [/block] [block:api-header] { "type": "basic" } [/block] That's it! Now, you can move on to installing one of our services: * [Push Notifications](doc:push-from-scratch) * [Deploy](doc:deploy-install) * [Analytics](doc:analytics-from-scratch)