---
source_url: "https://openmeter.io/docs/integrations/notifications/quickstart"
title: "Get Started | OpenMeter by Kong"
mirrored_at: 2026-08-05T01:01:52.064Z
host: openmeter.io
cited_in_42a: true
mirror_canonical: "https://index.42a.ai/openmeter.io/docs/integrations/notifications/quickstart"
---

> **Original source:** https://openmeter.io/docs/integrations/notifications/quickstart

You need to have an instance of OpenMeter running and configured. If you haven't yet, watch our [Getting Started](https://openmeter.io/docs/metering/quickstart) guide. We'll be using the [JavaScript OpenMeter SDK](https://github.com/openmeterio/openmeter/tree/main/api/client/javascript), but the concepts are the same whether using an SDK, the API, or the Cloud UI.

This guide also builds on the Entitlements [Get Started](https://openmeter.io/docs/billing/entitlements/quickstart) guide by assuming that the environment has features and entitlements set up.

We will use [Svix Playground](https://www.svix.com/play/) for that URL.

Let's say that our URL is the following: [https://play.svix.com/in/e\_4Iv1ft38HaoM36eVa3X1Q7w1vN5/](https://play.svix.com/in/e_4Iv1ft38HaoM36eVa3X1Q7w1vN5/)

OpenMeter needs to know where to deliver the notifications to. In this step, we are creating a webhook typed [notification channel](https://openmeter.io/docs/integrations/notifications/channel) that will be used to deliver events:

```
import { OpenMeter } from '@openmeter/sdk';

const openmeter = new OpenMeter({
  baseUrl: 'https://openmeter.cloud',
  apiKey: '<API_TOKEN>', // Cloud only
});

const channel = await openmeter.notifications.channels.create({
  type: 'WEBHOOK',
  name: 'Webhook Channel',
  url: 'https://play.svix.com/in/e_4Iv1ft38HaoM36eVa3X1Q7w1vN5/',
});
```

In this example, we are to create a [Balance Change Notification Rule](https://openmeter.io/docs/integrations/notifications/rule) that would emit an event to the channel if the `gpt_4_tokens` [feature's](https://openmeter.io/docs/product-catalog/feature) usage reaches 80% and 100% (the feature is defined in the [Entitlements Getting Started guide](https://openmeter.io/docs/billing/entitlements/quickstart)).

```
await openmeter.notifications.rules.create({
  type: 'entitlements.balance.threshold',
  name: 'Limit Notifications',
  channels: [channel.id],
  thresholds: [
    {
      type: 'PERCENT',
      value: 80,
    },
    {
      type: 'PERCENT',
      value: 100,
    },
  ],
});
```

Start ingesting events for a subject; a notification should arrive at the URL obtained in the first step when the usage reaches 80%.