We recommend implementing an OAuth 2.0 server prior to creating an Actions project.
Create the project
To create Actions on Google developer project, follow these steps.
Go to the Actions on Google console
- Click New project.
Enter a name for your project and click Create Project.
Once your project is created, click Smart Home.
Click Start building.
Under Quick Setup, click Name your Smart Home action. Enter the name for your Action and click Save. This is the name of the smart home Action that you can connect to from the Google Home app (GHA).
Click Actions in the left menu.
In the Fulfillment URL field, enter a URL for the backend server that will provide fulfillment for the smart home intents and then click Save.
To learn more about how fulfillment works, see fulfillment and authentication.
In the upper menu, click Test. In the Simulator page, click Start Testing to finish your project setup.
To learn more about testing, see Test and share smart home Actions.
You have successfully created a smart home Actions project and provided a fulfillment URL. You can now add authentication to your project by using account linking.
Configure account linking in the console
To set up account linking in the Actions on Google Console, follow these steps.
Go to the Actions on Google console
- Select your smart home Action project.
Click the Develop tab. Then, click Account linking in the left navigation.
Fill out all the fields under OAuth Client information. Click Next.
Click Save.