# Setup your Android app

### Getting your Android app ready to publish

1. Navigate to the Publish page of your app in AppMachine.
2. Click on **Setup Play Store** in the Google Play Store section.<br>

   <figure><img src="https://2636455530-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2wzy1sO41plYrfJfaAhN%2Fuploads%2FV7fdWfJx4IxnUK3VXpeb%2FPasted_Image_04_01_2023__11_28.png?alt=media&#x26;token=854a8580-aeca-46c6-9860-f7087d570cc5" alt=""><figcaption><p>Publish page</p></figcaption></figure>
3. **Copy the Bundle ID** and follow the steps in [this article](https://docs.appmachine.com/app-details/firebase/register-android-app) to register your Android app in Firebase.<br>

   <figure><img src="https://s3-eu-central-1.amazonaws.com/euc-cdn.freshdesk.com/data/helpdesk/attachments/production/80120294728/original/dlOU81juLFTGZ98USDd23fiUlO534E4qLw.png?1657201916" alt=""><figcaption><p>Setup Google Play wizard</p></figcaption></figure>
4. **Click Next** and **upload the Google-Services.json file** that you've downloaded during the registration of your Android app in Firebase.<br>
5. **Find and copy the Server key** of your Firebase project via the steps in [this article](https://docs.appmachine.com/app-details/firebase/locate-firebase-server-key).<br>
6. **Paste the Server key** and click **Next** to complete the Setup of your Android app.<br>

   <figure><img src="https://s3-eu-central-1.amazonaws.com/euc-cdn.freshdesk.com/data/helpdesk/attachments/production/80120297366/original/I5dE5O16m39OOERzw2BJZlzts6aWLuQlEg.png?1657202190" alt=""><figcaption></figcaption></figure>

<br>


---

# 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.appmachine.com/share-your-app/google-play/setup-your-android-app.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.
