You're viewing the legacy docs. They are deprecated as of May 18, 2016.

5 minute quickstart

EmberFire

EmberJS is a framework for building ambitious web applications that utilizes auto-updating Handlebars templates, components, and routing with great URL support. You can easily add a realtime backend to your Ember app with EmberFire, our officialy supported adapter for using Firebase with Ember Data.

Create an account

The first thing you need to do to get started with EmberFire is sign up for a free Firebase account. A brand new Firebase app will automatically be created for you with its own unique URL ending in firebaseio.com. We'll use this URL to authenticate our users and store and sync data with EmberFire.

Create a new ember-cli app

EmberFire is packaged as an ember-cli addon by default. To get started, install the ember-cli, create a new ember-cli application, and cd into your app's directory:

Save Data

Now that your data is being synced with the Ember Data store, calling save() on a model will store your data in your database. To demonstrate, let's build a blogging app. The data for our app will be stored at the Firebase database URL we initialized in the previous step. We'll start by creating a model for our blog posts. We can do this by running: