# Get realtime database url

Step 1.- Select Realtime Database and click on **“Create a database”**<br>

<figure><img src="https://community.apphive.io/uploads/default/optimized/2X/0/08365c0f39e4b25a39fc4d4fe03c656b085a2f50_2_690x400.jpeg" alt=""><figcaption></figcaption></figure>

Step 2.- Select Start in locked mode and click on **"Enable"**<br>

<br>

<figure><img src="https://community.apphive.io/uploads/default/optimized/2X/6/66a00158e8c2c9860caa7591de7b1f979bcf7d38_2_690x396.jpeg" alt=""><figcaption></figcaption></figure>

Step 3: Select the option for the area where you want to have your server (recommendation: keep the default option) and click on **"Following"**

<figure><img src="https://community.apphive.io/uploads/default/optimized/2X/5/5bfa786156204b9bc4cceb2e664f4d3f50c3b75d_2_690x397.jpeg" alt=""><figcaption></figcaption></figure>

Step 4.- Select the URL as below, it’s important to note this info, as it will be\
requested to generate your compilation.

* FIREBASE REAL-TIME DATABASE URL: <https://apphive-app-test-default-rtdb.firebaseio.com><br>

  <figure><img src="https://community.apphive.io/uploads/default/optimized/2X/d/dd51ceb061140a360397ccaa5b58d2bb3b736585_2_690x338.png" alt=""><figcaption></figcaption></figure>
*

```
<figure><img src="/files/i1Duf4OJlJwXY3O0iRdd" alt=""><figcaption></figcaption></figure>
```

Step 5: Copy the complete URL of your database and paste it when prompted to do so during the compilation process.

<figure><img src="/files/Vc3BTdWY0AShSZRph08L" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://docs.apphive.io/global-functions-1/settings/data/get-realtime-database-url.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
