> For the complete documentation index, see [llms.txt](https://help.appybuilder.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.appybuilder.com/tutorials/firebase-advanced.md).

# Firebase - Advanced

## Firebase using Login & RewardedVideo for Points system

![](https://i1.wp.com/AppyBuilder.com/img/pixiibomb3.png)

**By:**&#x20;

[**Pixii Bomb**](http://community.appybuilder.com/t/firebase-using-login-rewardedvideo-for-points-system/3606)

**TUTORIAL DIFFICULTY: Hard**\
This is not a tutorial for beginner users. I would highly recommend reviewing the previous tutorials mentioned at the start of the video before attempting this video. If you are new to AppyBuilder, you will have a very difficult time following along. This video moves at a much faster pace than most of my videos. Firebase is an advanced component and this video is aimed at members who have some experience using AppyBuilder. You should be able to follow along easily if you are able to find blocks by looking at a screenshot.

**VIDEO DESCRIPTION:**\
This video combines previous video tutorials (Push Notification, TinyDB & RewardedVideo) into one concept. The app will ask the user to create a new account if it’s the user’s first time opening the app. You will learn how to retrieve and insert data to Firebase from your app. The user will create an account (username and password) which will give them a unique userID. Their userID is stored on a TinyDB on their phone, for quick login. Once the user has successfully logged in, they can begin earning points by watching RewardedVideo ads. The points are stored in Firebase under the user’s 13-digit userID.

Download source from [HERE](http://community.appybuilder.com/t/firebase-using-login-rewardedvideo-for-points-system/3606)

{% embed url="<https://www.youtube.com/watch?v=t34IaQjTEkk>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.appybuilder.com/tutorials/firebase-advanced.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
