Resources »

Guides »

Integrations »

Nest »

Cerb + Nest

Introduction

In this guide we’ll walk through the process of linking Cerb to Nest. You’ll be able to use the full Nest API from bots in Cerb to automate whatever you need.

Create an OAuth application at Nest

  1. Log in to the Nest Developer Console.

  2. Click the orange Create new OAuth client button.

  3. Enter the following details replacing YOUR-CERB-HOST with the URL to your Cerb installation:
    • OAuth Client Name: Cerb
    • Description: Nest automation from bots in Cerb.
    • Support URL: https://YOUR-WEBSITE
    • Default OAuth Redirect URI: https://YOUR-CERB-HOST/oauth/callback
    • Categories: Software Provider, Home Automation
    • Users: (depends on your use case)
  4. Copy the Client ID and Client Secret.

Create the Nest service in Cerb

  1. Log in to Cerb.

  2. Navigate to Search » Connected Services.

  3. Click the (+) icon above the worklist.

  4. Select Nest.

  5. Paste your Client ID and Client Secret.

  6. Click the Create button.

Link the connected account to Nest in Cerb

  1. Navigate to Search » Connected Accounts.

  2. Click the (+) icon in the top right of the list.

  3. Select Nest.

  4. Click the blue Link to Nest button.

  5. Accept consent on Nest.

  6. Click the Save Changes button.

Use the connected account in bot behaviors

You can use the connected account you just created to access Nest’s API from bot behaviors in Cerb. This is typically accomplished using the Execute HTTP Request action from a bot, and selecting the connected account in the Authentication: section.