> For the complete documentation index, see [llms.txt](https://docs.appmachine.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.appmachine.com/app-details/firebase/locate-firebase-server-key.md).

# Locate Firebase Server key

### Finding the Server Key of a Firebase project

1. Open the **Project settings** page via the cogwheel in the top-left corner of the Firebase console.<br>

   <figure><img src="https://s3-eu-central-1.amazonaws.com/euc-cdn.freshdesk.com/data/helpdesk/attachments/production/80082666843/original/tKbzpy7-1E4Z7ctK9R8Kbz-VzuOrxNoHXQ.png?1646234611" alt=""><figcaption><p>Firebase project settings</p></figcaption></figure>
2. Open the **Cloud Messaging** settings page by clicking on the similarly named tab.<br>

   <figure><img src="https://s3-eu-central-1.amazonaws.com/euc-cdn.freshdesk.com/data/helpdesk/attachments/production/80082667057/original/EV7g8mFa_R6Rz1romWmagZXBdfeb2UFphQ.png?1646234632" alt=""><figcaption><p>Cloud Messaging setting</p></figcaption></figure>
3. Select and **copy the Server key.**\
   \
   \&#xNAN;*If the Cloud Messaging API (Legacy) is displayed as 'Disabled', then you'll first have to follow the steps in* [*this article to enable Cloud Messaging*](/app-details/firebase/enable-cloud-messaging.md)*.*<br>

   <figure><img src="https://s3-eu-central-1.amazonaws.com/euc-cdn.freshdesk.com/data/helpdesk/attachments/production/80133081070/original/uY_vNo8L4DxqJLp7LbzkFG7_94MK3rQuUw.png?1661245451" alt=""><figcaption><p>Firebase Server Key</p></figcaption></figure>


---

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

```
GET https://docs.appmachine.com/app-details/firebase/locate-firebase-server-key.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.
