# How to get Google Cloud key file?

* Go to the [Google Cloud Platform console](https://console.cloud.google.com/).
* On the left-hand side of the activity dashboard, pick IAM & Admin.

![](https://s3.amazonaws.com/helpscout.net/docs/assets/57fbf3029033600277a688ab/images/60ee079b8556b07a2884f6f2/file-xVxcham7qG.png)

* Then on the left-hand side of the *IAM & Admin* page, pick Service Accounts.

![](https://s3.amazonaws.com/helpscout.net/docs/assets/57fbf3029033600277a688ab/images/60ee076a9e87cb3d0124d187/file-BRDewirsd2.png)

* Click Create service account at the top to add a new service account.

![](https://s3.amazonaws.com/helpscout.net/docs/assets/57fbf3029033600277a688ab/images/60ee055161c60c534bd6f4e7/file-cDylSbcDtm.png)

* Enter the Service account name and press Create.

![](https://s3.amazonaws.com/helpscout.net/docs/assets/57fbf3029033600277a688ab/images/60ee04fd8556b07a2884f6e1/file-qEIlnWqb9H.png)

* Add roles:

If you are setting up BigQuery as a source in [Coupler.io](http://Coupler.io) (you only plan to grab data *from* BigQuery):

* *BigQuery Data Viewer*&#x20;
* *BigQuery Job User*

If you are setting up BigQuery as a destination in [Coupler.io](http://Coupler.io) (or plan to use it both as a source and as a destination):

* *BigQuery Data Editor*
* *BigQuery Job User*
* Click Continue, Done.

![](https://s3.amazonaws.com/helpscout.net/docs/assets/57fbf3029033600277a688ab/images/60ee04b59e87cb3d0124d171/file-hB7paHcjUs.png)

* Find your service account and open it.

![](https://s3.amazonaws.com/helpscout.net/docs/assets/57fbf3029033600277a688ab/images/60ee06388556b07a2884f6eb/file-ry0aZ8Wbmc.png)

* Navigate to the Keys tab

![](https://s3.amazonaws.com/helpscout.net/docs/assets/57fbf3029033600277a688ab/images/60ee066461c60c534bd6f4f6/file-dNgkV7b37Y.png)

* Click "Add key", select the option "**Create new key**".

![](https://s3.amazonaws.com/helpscout.net/docs/assets/57fbf3029033600277a688ab/images/60ee06ce8556b07a2884f6ed/file-ZDgo21L1lR.png)

* Pick JSON type and press Create.

![](https://s3.amazonaws.com/helpscout.net/docs/assets/57fbf3029033600277a688ab/images/60ee07e700fd0d7c253ffad8/file-FNeM4VbqNa.png)

* You will be asked to save a file to your computer. Save it.

![](https://s3.amazonaws.com/helpscout.net/docs/assets/57fbf3029033600277a688ab/images/60ee086f00fd0d7c253ffadf/file-a1VKScuMRZ.png)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.coupler.io/sources/category/files-and-tables/google-big-query/faq/how-to-get-google-cloud-key-file.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
