You can decide whether to set up Firestore with Firebase or with Google Cloud Platform.
The following sections outline the necessary setup for either service.
To find the credentials, navigate to Google Cloud Platform. In the header, next to Google Cloud Platform, click the Select a project dropdown and select a project.
If you do not have Firestore set up within this project, you will be taken to the Get started screen. Click the Select Native Mode button.
Select a location from the dropdown, and then click the Create Database button.
Once you are redirected to the Firestore dashboard screen, click the Security Rules in the sidebar. Click on the Enable Firebase button, and confirm by clicking the Enable link within the modal.
Click on the hamburger menu in the top left corner. Select APIs & Services from the sidebar, and then select Credentials from the dropdown menu.
Once on the Credentials screen, scroll to the Service Accounts table. Click on the edit icon in the row with the Name as App Engine default service account.
Click on the Keys tab, and then click the Add Key button.
Select the Create new key option. Keep the Key type as JSON, and click the Create button in the modal. This will download a JSON with the needed credentials.
In Hightouch, paste your private key including the header and footer in the following format:
Firestore defaults to the (default) database. If your setup requires a custom database name enter it in the Database Name field in Hightouch during setup.
To date, our customers haven't experienced any errors while using this destination. If you run into any issues, please don't hesitate to . We're here to help.
Hightouch provides complete visibility into the API calls made during each of your sync runs. We recommend reading our article on debugging tips and tricks to learn more.