Skip to content

Commit 222a96f

Browse files
fix get started guide
Signed-off-by: Diana <[email protected]>
1 parent cda3608 commit 222a96f

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

app/_how-tos/get-started-with-metering-and-billing.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Get started with {{site.metering_and_billing}} in {{site.konnect_short_name}}
3-
description: Learn how to...
3+
description: Learn how to meter and monetize API Gateway requests with {{site.konnect_short_name}} and {{site.metering_and_billing}}.
44
content_type: how_to
55

66
permalink: /metering-and-billing/get-started/
@@ -36,7 +36,7 @@ prereqs:
3636
inline:
3737
- title: "{{site.konnect_short_name}} roles"
3838
content: |
39-
You need the [? role](/konnect-platform/teams-and-roles/#service-catalog) in {{site.konnect_short_name}} to configure {{site.metering_and_billing}}.
39+
You need the [{{site.metering_and_billing}} Admin role](/konnect-platform/teams-and-roles/#metering-billing) in {{site.konnect_short_name}} to configure {{site.metering_and_billing}}.
4040
icon_url: /assets/icons/kogo-white.svg
4141

4242
cleanup:
@@ -158,7 +158,7 @@ In this guide, you'll create a feature for the `example-service` you created in
158158
1. In the {{site.metering_and_billing}} sidebar, click **Product Catalog**.
159159
1. Click **Create Feature**.
160160
1. In the **Name** field, enter `example-service`.
161-
1. From the **Meter** dropdown menu, select "kong_konnect_api_request".
161+
1. From the **Meter** dropdown menu, select "API Gateway Requests".
162162
1. Click **Add group by filter**.
163163
The group by filter ensures you only bill for traffic to `example-service`, not all {{site.base_gateway}} traffic. This lets you offer different pricing for different APIs.
164164
1. From the **Group by** dropdown menu, select "service_name".
@@ -183,11 +183,10 @@ In this section, you'll create a Premium plan that grants paying customers acces
183183
1. Click **Save**.
184184
1. Click **Add Rate Card**.
185185
1. From the **Feature** dropdown menu, select "example-service".
186-
1. Click **Next**.
187-
1. From the **Pricing model** dropdown menu, select "Usage Based".
188-
1. In the **Price per package** field, enter `1`.
189-
1. In the **Quantity per package** field, enter `5000`.
190-
1. Click **Next**.
186+
1. Click **Next Step**.
187+
1. From the **Pricing model** dropdown menu, select "Usage based".
188+
1. In the **Price per unit** field, enter `1`.
189+
1. Click **Next Step**.
191190
1. Click **Save Rate Card**.
192191
1. Click **Publish Plan**.
193192

@@ -204,7 +203,7 @@ Customers are the entities who pay for the consumption. In many cases, it's equa
204203
1. Click the **Subscriptions** tab.
205204
1. Click **Create a Subscription**.
206205
1. From the **Subscribed Plan** dropdown, select "Premium".
207-
1. Click **Next**.
206+
1. Click **Next Step**.
208207
1. Click **Create Subscription**.
209208

210209
<!--Note: Want to delete a customer? Cancel their subscription first and then you can delete them.-->
@@ -214,12 +213,13 @@ Customers are the entities who pay for the consumption. In many cases, it's equa
214213
You can run the following command to test the that the Kong Air Consumer is invoiced correctly:
215214

216215
<!--vale off-->
217-
{% validation rate-limit-check %}
218-
iterations: 6
219-
url: '/anything'
220-
headers:
221-
- 'apikey:air-key'
222-
{% endvalidation %}
216+
```sh
217+
for _ in {1..6}; do
218+
curl -i $KONNECT_PROXY_URL/anything \
219+
-H "apikey:air-key"
220+
echo
221+
done
222+
```
223223
<!--vale on-->
224224

225225
This will generate six requests. Now, check the invoice that was created in {{site.metering_and_billing}}:

0 commit comments

Comments
 (0)