{"_id":"5567425c1c38390d0069808d","category":{"_id":"5567425a1c38390d0069808b","project":"556742591c38390d00698087","__v":16,"pages":["5567425c1c38390d0069808d","558f782c1311b80d00ba9d97","558f7986f795be2d00c1164f","558f8069f795be2d00c11655","558f810bf795be2d00c11657","558f82e11311b80d00ba9da1","558f850df795be2d00c1165b","558f85401311b80d00ba9da3","558f85df1311b80d00ba9da5","558f87726742610d0051c4f5","558f87f26742610d0051c4f7","558f886df795be2d00c1165f","55918fec5631432f002d357e","559191f34e50b50d0019612a","5592c8d89a68220d00f1c404","559efaebdf92223500dc50e7"],"version":"5567425a1c38390d0069808a","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-05-28T16:29:14.942Z","from_sync":false,"order":9999,"slug":"documentation","title":"Documentation"},"parentDoc":null,"version":{"_id":"5567425a1c38390d0069808a","project":"556742591c38390d00698087","__v":2,"createdAt":"2015-05-28T16:29:14.412Z","releaseDate":"2015-05-28T16:29:14.412Z","categories":["5567425a1c38390d0069808b","57214d354758d90e009e6638"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"project":"556742591c38390d00698087","__v":16,"user":"5564f227f0f70f0d00a9ab20","updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-05-28T16:29:16.340Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":0,"body":"[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"SDKs\"\n}\n[/block]\n* [Node.js/Javascript](https://github.com/octoblu/node-meshblu-socket.io) - Most Socket.IO interactions with Meshblu are performed using the NPM module (also available as a browser version). For more information on that library, checkout the project's [README](https://github.com/octoblu/node-meshblu-socket.io) on Github.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Core Concepts\"\n}\n[/block]\nIn order to connect and use the Websocket API, you must:\n\n1. Establish a secure socket.io connection to Meshblu at wss://meshblu-socket-io.octoblu.com.\n2. Respond to the `identify` challenge event with an `identity` response containing a UUID & Token.\n3. The Meshblu instance will respond with a `ready` event if the `identity` was valid, or a `notReady` event if the the `identity was rejected`.\n\nIf the `ready` event was received, the connection is ready to deliver messages and be queried for information. See the various supported Socket.IO events on the left for more information.","excerpt":"This page will help you get started with Meshblu Socket.io. You'll be up and running in a jiffy!","slug":"getting-started","type":"basic","title":"Getting Started"}

Getting Started

This page will help you get started with Meshblu Socket.io. You'll be up and running in a jiffy!

[block:api-header] { "type": "basic", "title": "SDKs" } [/block] * [Node.js/Javascript](https://github.com/octoblu/node-meshblu-socket.io) - Most Socket.IO interactions with Meshblu are performed using the NPM module (also available as a browser version). For more information on that library, checkout the project's [README](https://github.com/octoblu/node-meshblu-socket.io) on Github. [block:api-header] { "type": "basic", "title": "Core Concepts" } [/block] In order to connect and use the Websocket API, you must: 1. Establish a secure socket.io connection to Meshblu at wss://meshblu-socket-io.octoblu.com. 2. Respond to the `identify` challenge event with an `identity` response containing a UUID & Token. 3. The Meshblu instance will respond with a `ready` event if the `identity` was valid, or a `notReady` event if the the `identity was rejected`. If the `ready` event was received, the connection is ready to deliver messages and be queried for information. See the various supported Socket.IO events on the left for more information.