Looker (Google Cloud core) uses a [service agent](https://docs.cloud.google.com/iam/docs/service-account-types.md.txt#service-agents), called a *Looker service account*, to perform certain activities. A single Looker service account works on behalf of all Looker (Google Cloud core) instances in a given Google Cloud project. The Looker service account is automatically created the first time a Looker (Google Cloud core) instance is created in a project.

The service account allows Looker (Google Cloud core) to connect to other services, such as [BigQuery](https://docs.cloud.google.com/looker/docs/looker-core-dialects.md.txt#using-application-default-credentials-to-connect-to-a).

> [!NOTE]
> **Note:** To enhance data security, Google is deprecating the legacy Looker Service Agent role (`roles/looker.serviceAgent`) in favor of a scoped-down role (`roles/looker.restrictedServiceAgent`). If your instance connects to BigQuery, you must grant explicit BigQuery permissions before the legacy role is retired. For more information, see the [Security update for Looker (Google Cloud core) service agent permissions](https://docs.cloud.google.com/looker/docs/best-practices/service-agent-permissions-notice.md.txt) best practices page.

Sometimes, such as when you're using [Application Default Credentials (ADC) with a connection to BigQuery in another project](https://docs.cloud.google.com/looker/docs/looker-core-dialects.md.txt#adc-different-project), you need to view information about the Looker service account, such as its email address.

Or, if you are planning to use [CMEK](https://docs.cloud.google.com/looker/docs/looker-core-cmek.md.txt) and are going to use the Google Cloud CLI, Terraform, or the API to configure CMEK before you create the Looker (Google Cloud core) instance, you must create the Looker service account manually *before* you create the instance.

> [!NOTE]
> **Note:** You need to manually create a Looker service account only if you use the Google Cloud CLI, Terraform, or the API to configure CMEK and a Looker service account hasn't already been created for your project.

To view or create the Looker service account, select one of the following options:

### console

To view the Looker service account:

1. In the Google Cloud console, go to the **IAM** page.

   <br />

   [Go to IAM](https://console.cloud.google.com/iam-admin/iam)
2. Select the project that the Looker (Google Cloud core) instance resides in.
3. Select the **Include Google-provided role grants** checkbox.

### gcloud

To create or view the Looker service account:

```
gcloud beta services identity create --service=looker.googleapis.com --project=PROJECT_ID

```

Replace <var translate="no">`PROJECT_ID`</var> with the project that the Looker (Google Cloud core) instance resides in.

The service account name will be `Looker Service Account`. The email will have the format `service-<project number>@gcp-sa-looker.iam.gserviceaccount.com`.