Create and set up a project

Order with Google requires an Actions console project, which gives you access to data feed uploading tools and web service endpoint configuration.

To create your project, do the following:

  1. In the Actions Console, click Add/import project to create a new Actions project.
  2. Enter a name for your project, then click Create Project. For easier identification, we recommend you use "FO <Company Name>" as the project name.
  3. On the category selection screen, select Food Ordering.
  4. From the main navigation, go to Deploy > Directory information. Use this page to define how your Order with Google service appears in the Google food ordering user interface. To register your project, you must provide general information, icons, terms of service, and a privacy policy.
  5. Go to Deploy > Location targeting. Use this page to define the countries and territories where your Order with Google integration will be accessible.
  6. The Actions API is enabled by default for new projects. If you're using an existing project, check to make sure the Actions API in the Google API Library is enabled.

Once your project is created, you can add additional languages as needed.

Set up a service account

You need a service account to make authenticated HTTPS requests to Google APIs, such as the Incremental inventory updates API and Async order update.

To set up a service account, do the following:

  1. The Actions project that you have created also creates a Google Cloud project.
  2. Select the project you created, if it's not already selected.
  3. Click Service Accounts in the left menu.
  4. Click Create Service Account at the top of the page.
  5. Enter a name for the service account and click Create.
  6. For Select a role, choose Project > Editor.
  7. Click Continue.
  8. Optional: Add users to grant them access to the service account and click Done.
  9. Click > Create key for the service account you just created.
  10. Select JSON as the format and click Create.
  11. Once your new public/private key pair is generated, download it to your machine.

Add a fulfillment URL

In order to test your project, you must enter a fulfillment URL for your project. The fulfillment URL points your Actions console project to your web service URL endpoint, which hosts your fulfillment code.

To set up your fulfillment URL, do the following:

  1. In the Actions console, go to Develop > Actions.
  2. Add a placeholder fulfillment URL in the text field. At this stage, the fulfillment URL doesn't need to be a working URL.
  3. Click Save.