# Google Workspace Setup

**URL:** <https://discuss.elastic.co/t/google-workspace-setup/293581>\
**Category:** Beats\
**Tags:** fleet\
**Created:** [January 5, 2022, 7:13pm UTC](https://discuss.elastic.co/t/google-workspace-setup/293581 "2022-01-05T19:13:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rsaeks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rsaeks/32/5068_2.png) [@rsaeks](https://discuss.elastic.co/u/rsaeks)\
**Post date:** [January 5, 2022, 7:13pm UTC](https://discuss.elastic.co/t/google-workspace-setup/293581/1 "2022-01-05T19:13:38Z")

</div>

Hello,

I'm attempting to start up the Google Workspace Audit Reports Integration in fleet and have successfully followed the steps to create service accounts, grant API access and oAuth IDs. I also have the json file for our service account & client secrets. When installing the integration there is an area to specify the path to the JWT file as well as the delegated admin account.

It is a bit unclear which file is needed for the JWT, or, if something needs to be created, how to do so. Does anyone have this working and can provide some information on the format for the JWT file?

Thank you!

---

<div class="post-metadata">

**Author:** ![rsaeks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rsaeks/32/5068_2.png) [@rsaeks](https://discuss.elastic.co/u/rsaeks)\
**Post date:** [January 18, 2022, 9:27pm UTC](https://discuss.elastic.co/t/google-workspace-setup/293581/2 "2022-01-18T21:27:30Z")

</div>

Just wanted to check and reach out of anyone has any experience or information they can share on generating a JWT credential file. (Or a location to submit feedback on needing to update documentation on the fleet integration)

---

<div class="post-metadata">

**Author:** ![legoguy1000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/legoguy1000/32/54301_2.png) [@legoguy1000](https://discuss.elastic.co/u/legoguy1000)\
**Post date:** [January 19, 2022, 4:00am UTC](https://discuss.elastic.co/t/google-workspace-setup/293581/3 "2022-01-19T04:00:33Z")

</div>

Its the path to the json file u downloaded from the Gcp console.

> **[Create a service account - Google Workspace Admin Help](https://support.google.com/a/answer/7378726?hl=en)**
>
> Let's make sure you're in the right place. This article is for users of our Google Workspace migration and sync products. Developers who need to create service accounts for their apps should use th

---

<div class="post-metadata">

**Author:** ![rsaeks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rsaeks/32/5068_2.png) [@rsaeks](https://discuss.elastic.co/u/rsaeks)\
**Post date:** [February 2, 2022, 8:39pm UTC](https://discuss.elastic.co/t/google-workspace-setup/293581/4 "2022-02-02T20:39:09Z")

</div>

It was, yes. After looking at the logs we found there was one additional API scope not listed in the documentation that was needed to be added to the project in the Google Cloud Platform for the service account.

---

<div class="post-metadata">

**Author:** ![legoguy1000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/legoguy1000/32/54301_2.png) [@legoguy1000](https://discuss.elastic.co/u/legoguy1000)\
**Post date:** [February 2, 2022, 8:43pm UTC](https://discuss.elastic.co/t/google-workspace-setup/293581/5 "2022-02-02T20:43:17Z")

</div>

U should make a GitHub issue to add that scope to the documentation.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 2, 2022, 10:43pm UTC](https://discuss.elastic.co/t/google-workspace-setup/293581/6 "2022-03-02T22:43:56Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
