# Ionic2 & Firebase 3

**URL:** <https://forum.ionicframework.com/t/ionic2-firebase-3/53132>\
**Category:** ionic-v3\
**Created:** [May 27, 2016, 4:48am UTC](https://forum.ionicframework.com/t/ionic2-firebase-3/53132 "2016-05-27T04:48:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tonyawad88](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/tonyawad88/32/110226_2.png) [@tonyawad88](https://forum.ionicframework.com/u/tonyawad88)\
**Post date:** [May 27, 2016, 4:48am UTC](https://forum.ionicframework.com/t/ionic2-firebase-3/53132/1 "2016-05-27T04:48:48Z")

</div>

Hello,

Any idea if there is a good tutorial or example on how to integrate firebase 3 with Ionic 2 ? More specifically, I’m looking as to how to add it to Typescript typings so that it doesn’t throw these kind of errors.

```auto
TypeScript error: /.../app/pages/home/home.ts(30,9): Error TS2304: Cannot find name 'firebase'.

```

And is the new way of using Firebase to simply include it from a static resource ?  
[https://www.gstatic.com/firebasejs/live/3.0/firebase.js](https://www.gstatic.com/firebasejs/live/3.0/firebase.js)

Thank you !

---

<div class="post-metadata">

**Author:** ![topman623](https://avatars.discourse-cdn.com/v4/letter/t/b5ac83/32.png) [@topman623](https://forum.ionicframework.com/u/topman623)\
**Post date:** [June 1, 2016, 12:17pm UTC](https://forum.ionicframework.com/t/ionic2-firebase-3/53132/2 "2016-06-01T12:17:22Z")

</div>

Blow url is a good tutorial.  
[https://webcake.co/using-firebase-3-in-angular-2-and-ionic-2/](https://webcake.co/using-firebase-3-in-angular-2-and-ionic-2/)  
But my ionic 2 app works well by ionic serve,does not work at android app.  
can not find firebase.  
If solve this issue, plz post.

---

<div class="post-metadata">

**Author:** ![rojaio](https://avatars.discourse-cdn.com/v4/letter/r/ed655f/32.png) [@rojaio](https://forum.ionicframework.com/u/rojaio)\
**Post date:** [August 16, 2016, 3:20pm UTC](https://forum.ionicframework.com/t/ionic2-firebase-3/53132/4 "2016-08-16T15:20:43Z")

</div>

Funny that there is no proper guide in Ionic’s site about this topic and we have to rely on ‘blow’ urls.  
All I come across are blogs and nothing official. Everything seems broken.  
Even the blogs are not upto snuff.

---

<div class="post-metadata">

**Author:** ![javebratt](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/javebratt/32/104226_2.png) [@javebratt](https://forum.ionicframework.com/u/javebratt)\
**Post date:** [August 16, 2016, 10:05pm UTC](https://forum.ionicframework.com/t/ionic2-firebase-3/53132/5 "2016-08-16T22:05:13Z")

</div>

Hey if you need an up to date guide you can check [this one](http://javebratt.com/ionic-2-firebase-3-week-1/).

It’s a series of tutorials to get started with Firebase.

By the way, those errors that are shown in the first post aren’t related to Ionic but to Firebase typings (or the lack of them)

Cheers!

---

<div class="post-metadata">

**Author:** ![daveozoalor](https://avatars.discourse-cdn.com/v4/letter/d/e9bcb4/32.png) [@daveozoalor](https://forum.ionicframework.com/u/daveozoalor)\
**Post date:** [September 24, 2016, 5:04am UTC](https://forum.ionicframework.com/t/ionic2-firebase-3/53132/6 "2016-09-24T05:04:48Z")

</div>

Run this command in your command line:  
In your project folder:

> npm install firebase --save  
> npm install -g typings  
> typings install --save firebase

See my full video tutorial on firebase 3 + ionic 2. Dont forget to subscribe  
https://www.youtube.com/embed/kR8HsRkzcPw?feature=oembed&wmode=opaque&list=PLnBvgoOXZNCPxZJohnrdfR6Nlr1ilaHJO
