| ----------------------- | ------------------------------------------------------------------------------------------ | ------------------------------------------------- |
| Event Grid system topic | Subscribe to Azure Container Registry events (image push and image delete) | Free |
| Event subscription | Send Event Grid events to Scout via a Webhook subscription | $0.60 for every 1M messages. First 100k for free. |
| Registry Token | Read-only token used for Scout to list the repositories, and pull images from the registry | Free |
The following JSON document shows the ARM template Docker Scout uses to create
the Azure resources.
{{< accordion title="JSON template" >}}
{{< acr-template.inline >}}
{{ with resources.GetRemote "https://prod-scout-integration-templates.s3.amazonaws.com/latest/acr_token_template.json" }}
{{ $data := .Content | transform.Unmarshal }}
```json
{{ transform.Remarshal "json" $data }}
```
{{ end }}
{{< /acr-template.inline >}}
{{< /accordion >}}
## Integrate a registry
1. Go to [ACR integration page](https://scout.docker.com/settings/integrations/azure/) on the
Docker Scout Dashboard.
2. In the **How to integrate** section, enter the **Registry hostname** of the
registry you want to integrate.
3. Select **Next**.
4. Select **Deploy to Azure** to open the template deployment wizard in Azure.
You may be prompted to sign in to your Azure account if you're not already
signed in.
5. In the template wizard, configure your deployment:
- **Resource group**: enter the same resource group as you're using for the
container registry. The Docker Scout resources must be deployed to the
same resource group as the registry.
- **Registry name**: the field is pre-filled with the subdomain of the
registry hostname.
6. Select **Review + create**, and then **Create** to deploy the template.
7. Wait until the deployment is complete.