All new projects created have access to the Device Access Sandbox environment by default.
- You can create up to 3 projects for a single account.
- Multiple projects can use the same Project Name, which is displayed during the Authorization process.
- Each account is subject to rate and user limits.
To use a project with the SDM API, you must specify an OAuth Client ID for the project.
Register for Device Access
Before creating your first project, you must register for Device Access. Registration consists of the acceptance of the Google API and Device Access Sandbox Terms of Service, along with a one-time, non-refundable fee (US$5) per account.
You will not be able to create a project until you have accepted both Terms of Service and paid the registration fee. This applies to all users, both individual users and those looking to create a commercial offering.
Register in the Device Access Console, if you haven't already:
Create your project
Once registered, create a project:
- At the Console home screen, select Create project. If you don't see this option, you're already at your account's limit and cannot create another project.
- Fill out each screen in the creation process:
- Enter a name for your project.
- Optional. Enter the OAuth 2.0 Client ID from your GCP project. You can skip this and update it later if you don't have a Client ID yet. See GCP Setup for instructions on how to obtain a Client ID.
- Enable or disable events. Events are managed by Google Cloud Pub/Sub and provide asynchronous updates for all devices and structures authorized for your project. Select Enable if you want events. If you're not sure, select Disable. They can always be enabled later.
- Upon completion, your project is assigned a Project ID, in the form of a
UUID, such as
32c4c2bc-fe0d-461b-b51c-f3885afff2f0. Make note of this ID, you need it for all SDM API calls.
This Project ID is used in OAuth and API calls. It is specific to your Device Access project, and is not related to a GCP Project ID.
Once your project is created, the environment is set to Sandbox . All projects start in this environment.
If you plan to use Device Access for personal use, you don't need to do anything else. Your project will remain in the Sandbox.
If you plan to use Device Access as part of a Commercial smart home offering, see Apply for Commercial Development for next steps.