# Connect to Google cloud IoT

**URL:** https://discourse.nodered.org/t/connect-to-google-cloud-iot/13105
**Category:** General
**Created:** [10 July 2019 12:47 UTC](https://discourse.nodered.org/t/connect-to-google-cloud-iot/13105 "2019-07-10T12:47:48Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![crocky](https://avatars.discourse-cdn.com/v4/letter/c/779978/32.png) [@crocky](https://discourse.nodered.org/u/crocky)
#### Post date: [10 July 2019 12:47 UTC](https://discourse.nodered.org/t/connect-to-google-cloud-iot/13105/1 "2019-07-10T12:47:48Z")

</div>

I'm trying to connect a Raspberry to Google Cloud IoT using **node-red-contrib-google-iot-core** but I haven't found any documentation whatsoever. So after many hours of searching the net I have to ask a few questions and hope someone has answers.

- Is there a guide somewhere on how to connect?
- What should I provide as Client ID and what does Google call that?
- Port Number?
- Should I generate a Private Key in Google Cloud Shell or on my Raspberry?
- Do I need to provide Certificate and CA Certificate?
- Where do I get a passphrase?

---

<div class="post-metadata">

### Author: ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)
#### Post date: [10 July 2019 17:27 UTC](https://discourse.nodered.org/t/connect-to-google-cloud-iot/13105/2 "2019-07-10T17:27:31Z")

</div>

I am not familiar with the google iot core node, but it looks like it is a mqtt broker in the google cloud ?  
Is there a specific reason why you wouldn't run a local mqtt broker ?

---

<div class="post-metadata">

### Author: ![crocky](https://avatars.discourse-cdn.com/v4/letter/c/779978/32.png) [@crocky](https://discourse.nodered.org/u/crocky)
#### Post date: [10 July 2019 19:27 UTC](https://discourse.nodered.org/t/connect-to-google-cloud-iot/13105/3 "2019-07-10T19:27:20Z")

</div>

I'm working on a report for my project on how to connect to different cloud services and how they could be used in our project, so yes, I have to use a cloud solution.
