# Create Service Account

**Step 1:** Go to the **URL** below to create a service account.&#x20;

<https://console.developers.google.com/iam-admin/serviceaccounts>&#x20;

**Step 2:** Now **select your project** using either of the options as shown below.

<figure><img src="/files/it4jHzg7vASVb6o0TMmD" alt=""><figcaption></figcaption></figure>

**Step 3:** Now click on **Create Service Account**.

<figure><img src="/files/yIGhZPhC6SjR3TaGLkx4" alt=""><figcaption></figcaption></figure>

**Step 4:** Add **service account details** including **name**, **ID**, and **description**. Copy the whole service account ID that you will need later on in the Google Search Console. Then click on **Done**.

<figure><img src="/files/mj9qmxz1MZbRu1PvNb4D" alt=""><figcaption></figcaption></figure>

**Step 5:** Now click on the **3 dots under the Actions tab** and select **Manage keys**.

<figure><img src="/files/gCSuJjPEcV6dMQEKWD0g" alt=""><figcaption></figcaption></figure>

**Step 6:** Now click on **Add key** and **Create new key**.

<figure><img src="/files/QLbkcW9NZ6WXkN5ZgyOo" alt=""><figcaption></figcaption></figure>

**Step 7:** In the next screen, make sure the **key type** is selected as **JSON**, and then click on the **Create** button. Doing so will automatically download the JSON file on your browser. This JSON file you need to upload in your Magento configuration.

<figure><img src="/files/sXGSOb5JJH6R7ur9a8Ib" alt=""><figcaption></figcaption></figure>


---

# 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.magecomp.com/magento-2-google-indexing-api/create-service-account.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.
