Developer Docs

JavaScript Web Guide

Installation & Setup

Create an account

Step one, sign up for a free account.

Within the Flybase Dashboard you can create, manage and delete Flybase apps. Clicking on a specific Flybase app lets you view and modify your app's data in realtime. In your app dashboard, you can also set Security, manage your app's authentication, deploys, and view analytics.

Install Flybase

Next, you'll need to include the Flybase JavaScript client library in your website. Simply add a script tag to the <head> section of your HTML file. We recommend including the library directly from our CDN:

	<script src=""></script>

If you'd prefer to install Flybase as a local application dependency, then you can also use Bower:

	$ bower install flybase

This will install a local copy of the Flybase JavaScript client library that you can use in your development.

Node.js Setup

Want to know a secret? The Flybase JavaScript API and the Flybase Node.js API are exactly the same.

Flybase clients run just as easily on your servers as they do on end-user devices. We have a Node.js module which can be installed via npm from the command line:

	$ npm install flybase --save

To use the Flybase Node.js module in your application, just require the Flybase client library.

	var Flybase = require("flybase");

That's it! Now we're ready to start reading and writing data to Flybase which we'll cover in the next section.