> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gameball.co/llms.txt
> Use this file to discover all available pages before exploring further.

# How Do I Update Firebase Cloud Messaging (FCM) Configuration to HTTP v1 for Gameball Customers?

> Guide to help you update Firebase Cloud Messaging (FCM) Configuration to HTTP v1.

## Overview

To ensure continuous delivery of notifications to your mobile users, Gameball now requires an update to the Firebase Cloud Messaging (FCM) configuration, transitioning from the legacy API to the new HTTP v1 API. This article walks you through the steps needed to complete this migration.

***

## Migration Steps

<Steps>
  <Step title="Access Your Firebase Project Information">
    <AccordionGroup>
      <Accordion title="Sign in to the Firebase Console" icon="arrow-right-to-bracket">
        Open your web browser and go to the Firebase Console. Log in using the Google account associated with your Firebase project.
      </Accordion>

      <Accordion title="Navigate to Service Accounts" icon="server">
        In the Firebase Console, click on the **Settings (gear icon)** in the left sidebar. Select **Project Settings**, then go to the **Service Accounts** tab.
      </Accordion>

      <Accordion title="Generate a New Private Key" icon="key">
        Click on **Generate New Private Key** to download a JSON file containing all necessary information for the migration.

        **Sample FCM Private key JSON file:**

        ```json theme={null}
        {
          "type": "service_account",
          "project_id": "fcm-test-*****",
          "private_key_id": "*****4da92a*****031791732e*****",
          "private_key": "-----BEGIN PRIVATE KEY-----\nMIIEvQIB*****ASCBKcwggSjAgEAAoIBAQCnZZw4akn8XO2J\nYS*****RhTCxF+KyTNmp7q0GnuoEZweGyla6t*****PxSnh\nfX5w1wxD7r1iGxJCG8******",
          "client_email": "firebase-a*****est-7ce24.iam.gserviceaccount.com",
          "client_id": "*****38150929365",
          "auth_uri": "https://accounts.google.com/o/oauth2/auth",
          "token_uri": "https://oauth2.googleapis.com/token",
          "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
          "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/firebase-adminsdk-8j******.iam.gserviceaccount.com",
          "universe_domain": "googleapis.com"
        }
        ```
      </Accordion>
    </AccordionGroup>
  </Step>

  <Step title="Update Your Gameball Dashboard">
    <AccordionGroup>
      <Accordion title="Log in to the Gameball Dashboard" icon="arrow-right-to-bracket">
        Access your Gameball dashboard using your credentials.
      </Accordion>

      <Accordion title="Locate Mobile Configurations" icon="mobile">
        Navigate to your **Gameball Admin Dashboard > Settings > Admin Settings**. Locate the **Integration** then go to **Mobile Integration**.

        <Frame>
          <img src="https://mintcdn.com/gameball/uEA80o39LYM8icFj/images/product-docs/admin-settings/mobile-integration-fcm.png?fit=max&auto=format&n=uEA80o39LYM8icFj&q=85&s=4484391b4117876fec74a11291cb3173" alt="Mobile Integration Settings" width="1416" height="766" data-path="images/product-docs/admin-settings/mobile-integration-fcm.png" />
        </Frame>

        <Note>
          The old attributes such as **Sender ID**, **Web API Key**, and **Server Key** should be left unchanged.
        </Note>
      </Accordion>

      <Accordion title="Enter the Required Information" icon="pen-to-square">
        Using the downloaded JSON file, fill in the following fields in the Gameball dashboard:

        | Field           | Source in JSON file                                                                    |
        | --------------- | -------------------------------------------------------------------------------------- |
        | **projectId**   | Copy the value of `project_id`                                                         |
        | **privateKey**  | Copy the entire value of `private_key` (including "BEGIN" and "END PRIVATE KEY" lines) |
        | **clientEmail** | Copy the value of `client_email`                                                       |

        <Frame>
          <img src="https://mintcdn.com/gameball/uEA80o39LYM8icFj/images/product-docs/admin-settings/fcm-configuration-fields.png?fit=max&auto=format&n=uEA80o39LYM8icFj&q=85&s=cfdf45076ce2a625ffddad47110375fb" alt="FCM Configuration Fields" width="1416" height="672" data-path="images/product-docs/admin-settings/fcm-configuration-fields.png" />
        </Frame>
      </Accordion>

      <Accordion title="Save Changes" icon="floppy-disk">
        After entering all three fields, click **Save** to apply the changes.
      </Accordion>
    </AccordionGroup>
  </Step>
</Steps>

<Info>
  By following these steps, you will ensure your notifications continue to work seamlessly with the new Firebase API requirements.
</Info>

***

## Need Help?

If you have any questions or need further assistance, please contact our support team at [support@gameball.co](mailto:support@gameball.co).

***

## Related Articles

<CardGroup cols={2}>
  <Card title="Configure Your Firebase Account for Mobile Push Notifications" icon="bell" href="/product-documentation/admin-settings/configure-firebase-push-notifications">
    Set up Firebase Cloud Messaging for push notifications in Gameball.
  </Card>
</CardGroup>
