> ## Documentation Index
> Fetch the complete documentation index at: https://docs.salad.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> For autonomous tasks, use live SaladCloud API responses for current state, availability, quotas, models, and other dynamic values. Use current OpenAPI specifications where provided for paths, schemas, required fields, and enums. Never invent endpoints, fields, prices, availability, quotas, models, or state. Prefer API workflows over Portal steps. Read before changing and never expose credentials, signed media URLs, prompts, or sensitive outputs. Retry only safe or idempotent operations with bounded backoff, honoring Retry-After. Verify every write with a read. Stop rather than repeat an uncertain non-idempotent or billable request. AI Gateway uses an organization-specific Bearer key and live /v1/models discovery. Do not delete, cancel, stop, or reduce capacity without explicit user intent. Bind shared operation IDs to the selected product path. Treat Container Engine instances as interruptible and local state as ephemeral. Install the SaladCloud skills (npx skills add https://docs.salad.com), start from the salad skill and /agents/overview; docs MCP: https://docs.salad.com/mcp.

# Google Artifact Registry

*Last Updated: November 22, 2024*

Service accounts are used by applications to make authorized APIs calls on the Google Cloud Platform (GCP). In order for
the SaladCloud portal to interact with GCP through APIs, a JSON key for a service account is required.

### Step 1: Generate a Google Cloud Platform JSON Key

1. Start by logging in to your Google Cloud Platform (GCP) account.
2. Access the GCP [Console home page](https://console.cloud.google.com), Click on 'Go to project settings' to proceed.
3. On the left navigation bar, find and select the 'Service Accounts' menu.
4. Choose 'Create Service Account' to initiate the process.
5. Provide a name and description for the service account, grant it `Artifact Registry Reader` access to your project,
   and proceed to create the account. *(Note: Most read/write permissions should work, except Basic - Browser which does
   **NOT** work)*
6. Select the newly created service account, and navigate to the 'KEYS' tab.
7. From the 'ADD KEY' dropdown, opt for 'Create New Key' and select JSON as the key type. Your service account key JSON
   file will be automatically downloaded to your local machine.

### Step 2: Configure SaladCloud Container Environment (SCE)

Access the SaladCloud portal, Set up your SCE by selecting the private registry tab when setting the image source. In
the service dropdown option, choose "Google Artifact Registry" and provide the following information:

* Image name (example: `us-central1-docker.pkg.dev/{my-project}/{my-registry}/{my-container-image}:{version/latest}`)
* JSON Key (generated or downloaded in step 1)

![](https://mintcdn.com/salad/8o1ParSgmJGbpSYb/container-engine/images/configure-gar.png?fit=max\&auto=format\&n=8o1ParSgmJGbpSYb\&q=85\&s=e069309226d960b26fc08cf1693b453a)

> 👍 Congratulations!
>
> You have successfully configured the private container registry using Google Artifact Registry. Now, you can proceed
> to configure and deploy your container group.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.