> For the complete documentation index, see [llms.txt](https://walfydoc.mrb-lab.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://walfydoc.mrb-lab.com/app/11.-admin-setup.md).

# 11. Admin Setup

To assign yourself as an admin of the app and to get access to your admin panel, follow the below steps:

* In the app, sign up using your email and password (not with social logins like google, FB, or apple).

{% hint style="info" %}
The email you will use to signup, it will be the admin email and password.
{% endhint %}

* After creating the account, now go to your **firebase console > your\_app > firestore database** and then you will see that a collection named **users** has been created.

<figure><img src="https://lh6.googleusercontent.com/RkDUwjZurt6Y3GBTpqLj7YfP7pDOarQVOChKzz1jttKAv_fjms8KbmLs309_PXTErRirrc9QqC3L5BWLs46Xvw6vZ-bv4boLrBsxi5BbZccsx048ik3DEKFqGwl_AahOE-wo3DQP-MKdCBrUjbBmE0HTJfKB4xhSVoiavoubr106JeKToI5WLUV5UDNO" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh6.googleusercontent.com/zRfVbwupxbXs5No3Itqa0e2U2rZU21fjGgLf-361W4SyrOgvKVHSUw6C9-b5UQjnGOQvrNb3zm0bdege0XD6-bVNwX8XLdSmFqqQSxbJFe6OSrTdM3OJo2_MfyGZc4NT1mllD-649k9uVh3gczV7QowQUOj-q6HF2KSI7fmfPaIb0ufEUWQr0BHUAJIj" alt=""><figcaption></figcaption></figure>

<br>

* Now click on your document and then create a field by **role** and then select **type** as an **array** and then in the first array enter the **admin** keyword and then click on the Add button.

{% hint style="info" %}
That’s it, Your admin setup has been completed. You can now login into your admin panel and add content. In this way, you can assign anyone as an admin of your app.
{% endhint %}

<br>


---

# 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://walfydoc.mrb-lab.com/app/11.-admin-setup.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.
