Google Cloud Firestore

Learn how to store user specific data of your Alexa Skills and Google Actions to Google Cloud Firestore.

Tutorial: Deploy to Google Cloud

Introduction

The Firestore integration allows you to store user session data in the NoSQL service running on Google Firebase. This integration is especially convenient if you're running your voice app on Google Cloud Functions. You can find the official documentation about Firestore here: firebase.google.com/docs/firestore.

Learn more about hosting your application on Google Cloud Functions.

Configuration

Download the package like this:

Firestore can be enabled in the src/app.js file like this:

Inside your config.js file you have to set your credential and your databaseURL. You can also optionally set the collection name (default is UserData):

Comments and Questions

Any specific questions? Just drop them below. Alternatively, you can also fill out this feedback form. Thank you!

Join Our Newsletter

Be the first to get our free tutorials, courses, and other resources for voice app developers.