> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stigg.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Handling reported usage

## Overview

The Stigg platform allows you to leverage reported usage and perform the following actions:

1. Provide visibility to customer's current usage
2. Enforce access according to the defining pricing model
3. Bill customers according to reported usage
4. Notify customers about changes to their usage, for example: limit is about to be exceeded
5. Notify internal stakeholders (i.e. sales and CS reps) about changes to customer usage
6. Trigger additional actions in applications that are integrated with Stigg

## Prerequisites

In order to take action upon reported usage events, metered features must be defined in order to track usage updates.

<Card title="Creating Metered Features" icon="gauge" href="../modeling-your-pricing-in-stigg/features/creating-features/metered-features" />

## Providing visibility to customers current usage

## In your application

Leverage's Stigg's snap-in customer portal widget or the Stigg JavaScript SDK to implement your own design.

<Card title="Customer Portal Widget" icon="desktop" href="/api-and-sdks/integration/frontend/react#rendering-a-customer-portal" />

<Card title="Check Customer Entitlement" icon="user-check" href="/api-and-sdks/integration/frontend/javascript#checking-if-a-customer-has-access-to-a-metered-feature" />

## In third-party analytics solutions

<Card title="Webhooks Integration" icon="arrows-rotate" href="../native-integrations/webhooks/index" />

## In the Stigg app

### Visibility for a specific customer

<Card title="View Customers' Entitlement Usage" icon="chart-bar" href="../managing-customers-and-subscriptions/customers/viewing-customers-entitlement-usage" />

<Card title="View Subscription Usage Details" icon="file-lines" href="../managing-customers-and-subscriptions/subscriptions/viewing-details" />

### Visibility across the entire customer base

<Card title="Pricing Strategy Insights" icon="magnifying-glass-chart" href="../managing-customers-and-subscriptions/customers/viewing-customers-entitlement-usage" />

## Enforcing customer access

To enforce access to features based on reported usage, add the features as entitlements to plans and add-ons and set the relevant. Stigg can also automatically reset reported usage for you, which is useful for example for calculating monthly active users (MAU).

Leverage the Stigg SDKs to enforce access based on the defined entitlement limit and reported usage.

<Warning>
  Access enforcement behaves slightly differently depending on the usage data source type:

  1. Calculated usage - enforcement is immediate
  2. Raw events - enforcement is near real-time (up to 10 seconds)
</Warning>

<Card title="Assigning Features to Plans" href="../modeling-your-pricing-in-stigg/plans/assigning-features-plans" horizontal>
  <span>Guide for assigning features to pricing plans.</span>
</Card>

<Card title="Modeling Your Pricing (Plans)" href="../modeling-your-pricing-in-stigg/plans/assigning-features-plans" horizontal>
  <span>How to model pricing structures within plans.</span>
</Card>

<Card title="Assigning Features to Add-ons" href="../modeling-your-pricing-in-stigg/add-ons/assigning-features-to-add-ons/overview" horizontal>
  <span>Guide for assigning features to add-ons.</span>
</Card>

<Card title="Modeling Your Pricing (Add-ons)" href="../modeling-your-pricing-in-stigg/add-ons/assigning-features-to-add-ons/overview" horizontal>
  <span>How to model pricing structures within add-ons.</span>
</Card>

<Card title="Getting the Entitlement of a Customer to a Specific Feature" href="/faq/entitlements-and-usage/entitlement-calculation-in-stigg#getting-the-entitlement-of-a-customer-to-a-specific-feature" horizontal>
  <span>Retrieve a customer’s access to specific features.</span>
</Card>

## Billing customers according to their usage

To bill customers for usage:

1. Integrate Stigg with a billing solution, such as Stripe
2. Add the relevant metered features as usage-based charges in plans

<Card title="Stripe Billing Integration" icon="credit-card" href="../native-integrations/billing/stripe/integration-when-using-stripe-elements-for-checkout" />

<Card title="Usage-Based Charges in Plans" icon="credit-card" href="../modeling-your-pricing-in-stigg/plans/defining-plan-pricing/paid/charges/usage-based" />

## Triggering notifications

<Card title="Webhooks Integration" icon="bolt" href="../native-integrations/webhooks/index" />
