{"_id":"5567425c1c38390d0069808d","category":"5567425a1c38390d0069808b","isReference":false,"updates":[],"createdAt":"2015-05-28T16:29:16.340Z","order":0,"parentDoc":null,"slug":"getting-started","sync_unique":"","title":"Getting Started","type":"basic","version":"5567425a1c38390d0069808a","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.","project":"556742591c38390d00698087","__v":16,"api":{"auth":"required","params":[],"results":{"codes":[]},"settings":"","url":""},"excerpt":"This page will help you get started with Meshblu Socket.io. You'll be up and running in a jiffy!","githubsync":"","hidden":false,"link_external":false,"link_url":"","user":"5564f227f0f70f0d00a9ab20","childrenPages":[]}

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.