Getting Started

In six easy steps

The Realtime App Platform

Store & Sync Data Instantly

Build realtime mobile and web apps in minutes using client-side code and our powerful API. Save time. Delight your users.

Install Firebase.

Ready to use with one line of code.

//Use YOUR Firebase URL (not the one below)
  var fb = new Firebase("https://<your-firebase>.firebaseio.com");

  /* Remember to include firebase JS Library
  <script src="https://cdn.firebase.com/js/client/2.2.4/firebase.js"></script>
  */
#import <Firebase/Firebase.h>
Firebase *fb = [[Firebase alloc] initWithUrl:@"https://<your-firebase>.firebaseio.com"];
Firebase fb = new Firebase('https://<your-firebase>.firebaseio.com');

Save data.

Data is stored as standard JSON.

fb.set({ name: "Alex Wolfe" });
[fb setValue:@{@"name": @"Alex Wolfe"}];
fb.setValue("Alex Wolfe");

Update in realtime.

Firebase responds immediately to data changes as they occur.

fb.on("value", function(data) {
  var name = data.val() ? data.val().name : "";
  alert("My name is " + name);
});
[fb observeEventType:FEventTypeValue withBlock:^(FDataSnapshot *snapshot) {
  if(snapshot.value == [NSNull null]) {
    NSLog(@"User name doesn't exist");
  } else {
    NSString *name = snapshot.value[@"name"];
    NSLog(@"User full name is: %@", name);
  }
}];
fb.addValueEventListener(new ValueEventListener() {

    @Override
    public void onDataChange(DataSnapshot snap) {
        System.out.println(snap.getName() + " -> " + snap.getValue());
    }

    @Override public void onCancelled(FirebaseError error) { }
});

Add Security and Firebase Rules.

Create custom Security and Firebase Rules from the Firebase Dashboard.

Security and Firebase Rules

Choose a platform.

We know that apps are built using many services, libraries and APIs, and Firebase plays nicely with all of them.

AngularJS, EmberJS, Backbone.js, Javascript, iOS7, OSX, Android

Easily authenticate users.

Firebase provides a comprehensive suite of authentication features out-of-the-box for iOS, Android, and the web.

Use Firebase to manage your authentication

Firebase Hosting & CLI

Firebase Hosting is a place to store all your static files such as HTML, CSS, JavaScript and Images. SSL (https) is baked into every site and files are served across a CDN (Content Delivery Network).

Learn more about Firebase Hosting

Start Hacking.

Create your free account and start building realtime apps.

Firebase, Build Realtime apps