> For the complete documentation index, see [llms.txt](https://codemash.gitbook.io/codemash/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://codemash.gitbook.io/codemash/cloud/push/integrations/providers/chrome-plugin.md).

# Chrome Plugin Push

Connect Chrome Plugin Push (web push to your Chrome extension) — the form exists, but a real extension id is refused, so it cannot be used yet.

Chrome Plugin Push is meant to deliver notifications to a Chrome extension you publish, with VAPID keys and the extension id.

{% hint style="warning" %}
Cloud has no working screen for this yet. The form opens, but **Save** refuses a real Chrome extension id (32 letters, such as `aapocclcgogkmnckokdopfmhonfmgoek`) with *Property ExtensionId is required* (`CM-ERRORS-PROPERTY-001`) — the server expects a different id format. Norbix also cannot send through Chrome Plugin Push (*not supported*). Use [Fake Push (Test Me)](/codemash/cloud/push/integrations/providers/fake.md) to try your flows; the question is open in the docs program.
{% endhint %}

<figure><img src="https://712692422-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy372bqsaex2cqS3ikhL%2Fuploads%2Fgit-blob-8b1a786561d148f8569b70451b0e2b73851d0833%2Fchrome-plugin-error-2.png?alt=media" alt="New Chrome Plugin Push Integration form with Chrome Extension Id aapocclcgogkmnckokdopfmhonfmgoek, VAPID keys, subject mailto:push@acme.example, Integration Name Acme Chrome extension, and the error toast CM-ERRORS-PROPERTY-001: Property ExtensionId is required"><figcaption><p>Save refuses a real extension id.</p></figcaption></figure>

## Get your credentials

1. **Chrome Extension Id** — open `chrome://extensions`, turn on **Developer mode**: the **ID** is under your extension's name; for a published extension it is also in its Chrome Web Store address.
2. **VAPID keys** — make a key pair once, for example `npx web-push generate-vapid-keys`.
3. **VAPID Subject** — a contact as `mailto:push@your-company.com`.

## Connect it in Cloud

**Where:** Push → Integrations → **Add New Integration** → Chrome Plugin Push → **Connect** · `/projects/<project>/push/integrations/new/chrome-plugin`

| Field                    | Required | What it does                                                                   | Example                            |
| ------------------------ | -------- | ------------------------------------------------------------------------------ | ---------------------------------- |
| Chrome Extension Id      | yes      | *The Chrome Web Store extension id of your plugin.* Refused today (see above). | `aapocclcgogkmnckokdopfmhonfmgoek` |
| VAPID Public Key         | yes      | Shared with the extension's scripts.                                           | `BAhUY_6Wz7Lc33txHfOUQ78l…`        |
| VAPID Private Key        | yes      | Encrypted on save.                                                             | `••••••••`                         |
| VAPID Subject (optional) | no       | A contact as `mailto:…`.                                                       | `mailto:push@acme.example`         |
| Integration Name         | yes      | The name in your integrations list.                                            | `Acme Chrome extension`            |

<figure><img src="https://712692422-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy372bqsaex2cqS3ikhL%2Fuploads%2Fgit-blob-e708342450613e73279a5c6101a7c9cc633d5057%2Fchrome-plugin-form-1.png?alt=media" alt="New Chrome Plugin Push Integration form filled before Save"><figcaption><p>The filled form before Save.</p></figcaption></figure>

## Test and set as default

The integration cannot be saved with a real extension id, so there is nothing to test or set as default yet. See [Test an integration](/codemash/cloud/push/integrations/test.md) for the flow of the other providers.

## Common errors

| Message                                                  | Cause                                                           | Fix                         |
| -------------------------------------------------------- | --------------------------------------------------------------- | --------------------------- |
| CM-ERRORS-PROPERTY-001: Property ExtensionId is required | A real Chrome extension id (the server expects another format). | None today — open question. |
| Push integration '…' is not supported                    | A send or test through Chrome Plugin Push.                      | Use another provider.       |
