---
title: Charmhub | Deploy Notary using Charmhub - The Open Operator Collection
description: Deploy the latest version of Notary on any cloud.
url: https://charmhub.io/notary/docs/integrate-with-cos
---

# Notary

[Yazan Salti](https://charmhub.io/publisher/yazansalti "View all packages from Yazan Salti")

* [Yazan Salti](https://charmhub.io/publisher/yazansalti "View all packages from Yazan Salti")

Platform:

24.04

edge 1

```
juju deploy notary --channel edge
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

---

#### Relevant links

* [Homepage](https://charmhub.io/notary)

---

#### Contacts

* [Submit a bug](https://github.com/canonical/notary-k8s-operator/issues)

---

Share your thoughts on this charm with the community on discourse.

[Join the discussion](https://discourse.charmhub.io/)

# Integrate with COS

In this guide, we will cover how-to integrate Notary K8s with the Canonical Observability Stack (COS) for metrics, logs, and dashboards.

### [Pre-requisites:](https://charmhub.io/notary/docs/integrate-with-cos#p-33249-pre-requisites)

* Juju >= 3.4
* ~10GB of RAM

## [1. Deploy COS Lite](https://charmhub.io/notary/docs/integrate-with-cos#p-33249-h-1-deploy-cos-lite)

Create a model for observability:

```
juju add-model cos
```

Deploy cos lite and wait for all applications to be in active status:

```
juju deploy cos-lite --trust
```

Create offers for integrating with COS:

```
juju offer cos.prometheus:receive-remote-write
juju offer cos.loki:logging
juju offer cos.grafana:grafana-dashboard
```

## [2. Integrate with COS](https://charmhub.io/notary/docs/integrate-with-cos#p-33249-h-2-integrate-with-cos)

Switch to the model in which Notary is deployed:

```
juju switch <notary model>
```

Deploy Grafana Agent:

```
juju deploy grafana-agent-k8s
```

Integrate Notary K8s with Grafana Agent:

```
juju integrate notary-k8s:logging grafana-agent-k8s
juju integrate notary-k8s:metrics grafana-agent-k8s
juju integrate notary-k8s:grafana-dashboard grafana-agent-k8s
```

Consume the COS offers:

```
juju consume cos.prometheus
juju consume cos.loki
juju consume cos.grafana
```

Integrate Grafana Agent with COS:

```
juju integrate prometheus:receive-remote-write grafana-agent-k8s:send-remote-write
juju integrate loki:logging grafana-agent-k8s:logging-consumer
juju integrate grafana:grafana-dashboard grafana-agent-k8s:grafana-dashboards-provider
```

## [3. Access the Notary dashboard](https://charmhub.io/notary/docs/integrate-with-cos#p-33249-h-3-access-the-notary-dashboard)

Switch to the cos model:

```
juju switch cos
```

Retrieve the Grafana admin password:

```
juju run grafana/leader get-admin-password
```

Log in to Grafana, and select the Notary dashboard.

---
