2021-08-01 14:27:44 -07:00
---
description: This is a guide to create ingestion bot service account.
---
# Create Service Account
## Step 1: Create Service-Account
* Go to your project dashboard

2021-08-12 21:14:42 +00:00
* Click on **Credentials** available on the left side panel
2021-08-01 14:27:44 -07:00

2021-11-13 23:03:20 +05:30
* Click on **Manage service accounts** available on the centre-right side.
2021-08-01 14:27:44 -07:00

* Click on **CREATE SERVICE ACCOUNT**

* Provide the required service account details.
{% hint style="warning" %}
2021-08-16 16:52:35 +00:00
Make sure the Service Account Id is **ingestion-bot** and click on **CREATE AND CONTINUE** . If you chose a different Service Account Id, add it to the default bots list in [Configure OpenMetadata Server ](https://github.com/StreamlineData/catalog/tree/3d53fa7c645ea55f846b06d0210ac63f8c38463f/docs/install/install/google-catalog-config.md )
2021-08-01 14:27:44 -07:00
{% endhint %}
2021-11-13 23:03:20 +05:30

2021-08-01 14:27:44 -07:00
2021-08-12 21:14:42 +00:00
* Click on **Select a role** and give the **Owner** role. Then click **Continue.**
2021-08-01 14:27:44 -07:00

* Click **DONE**

2021-08-16 16:52:35 +00:00
* Now you should see your service account listed.
2021-08-01 14:27:44 -07:00

## Step 2: Enable Domain-Wide Delegation
* Click on the service account in the list.

* On the details page, you should see **SHOW DOMAIN-WIDE DELEGATION**

2021-08-16 16:52:35 +00:00
* Click on it and enable google workspace domain-wide delegation and then click on **SAVE**
2021-08-01 14:27:44 -07:00

2021-08-16 16:52:35 +00:00
## How to generate Private-Key/Service-Account JSON file
2021-08-01 14:27:44 -07:00
2021-08-16 16:52:35 +00:00
* Once done with the above steps, click on **KEYS** available new to **DETAILS**
2021-08-01 14:27:44 -07:00

2021-11-13 23:03:20 +05:30
* Click on **ADD KEY** and then **Create a new key**
2021-08-01 14:27:44 -07:00

2021-08-16 16:52:35 +00:00
* Select the format. The **JSON format** is recommended. Then click on **CREATE**
2021-08-01 14:27:44 -07:00

2021-08-16 16:52:35 +00:00
* **The private-key/service-account JSON file will be downloaded**