# Google Artifact Registry (GAR)

1. Create a service account
   * Navigate to IAM & Admin
   * Click on Service Accounts
   * Click `+ Create Service Account`\
     ![](/files/RwKX9aHxxvgxFgQ150C7)
   * Give the service account a name and description
   * Under Permissions, select the Artifact Registry Reader role\
     ![](/files/qsp3AOpbxaygPvhqyeNK)
2. Create a key for the service account
   * From the Service Account, click on Keys\
     ![](/files/OTKaAOzYliTZTGLxOkX1)
   * Add a Add Key > Create new Key
   * Create a JSON key. You will be prompted to save this key to your local machine. Store this securely.
3. Add the Arnica Integration
   * From the Integrations page, click Connect under the Google Artifact Registry integration\
     ![](/files/JliBBHkOT3dtqyUcffFY)
   * The Base Url can be as part of the path of the repository you want to integrate with by clicking Copy Path in the Artifact Registry. It will look similar to `us-east1-docker.pkg.dev`
   * Paste the contents of the JSON key you created into the Service Account JSON field
   * Click Validate
   * After validation passes, click OK


---

# 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.arnica.io/arnica-documentation/getting-started/container-integrations/gar.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.
