# Stripe revenue dashboard

> For AI assistants: this is the BitHut template `stripe-revenue-dashboard` (sites and dashboards). Ask the person only for what is listed under "What you'll need", then set it up with the BitHut tools connected to you. If BitHut is not connected yet, start at https://bithut.app/llms.txt.

Sales, subscriptions and refunds from your Stripe account by day, on one page behind a password.

## Tell your AI

1. Connect BitHut to your AI (Claude, ChatGPT or Codex): add the address `https://api.bithut.app/mcp`. How: https://bithut.app/connect.md
2. Then tell it:

```
Make a revenue dashboard from my Stripe account and put it on BitHut. Show sales, subscriptions and refunds by day, behind a password. Walk me through creating a restricted read-only Stripe key and ask me which numbers to show.
```

## What you get

A page at its own address: revenue by day, new and cancelled subscriptions, refunds, and a table of recent payments.

## Who it's for

Owners and founders who sell through Stripe and want the numbers that matter on one page, without digging through the Stripe Dashboard.

## What you'll need

- A restricted Stripe key with read-only access. Your AI tells you where to create it and what to allow.
- Which numbers you want to see: sales, subscriptions, refunds, top products.
- Who should get the password.

## What's included

- **Its own address, with a password.** Closed from the start. You decide who gets the password.
- **A read-only key, kept apart.** Stored as a secret, not in the code. It can read, not charge or refund.
- **A disk.** The dashboard can keep daily totals, so history loads fast.
- **One step back.** Every update keeps the previous version one step away.

## Your data and privacy

The page opens only with the password. The Stripe key is stored as a secret, apart from the code. With read-only access the dashboard can look at payments but cannot charge, refund or change anything in Stripe.

## Limits

- Needs your own Stripe key. Create it as restricted and read-only: then the dashboard can only read.
- Shows what Stripe has. Sales made outside Stripe need another source your AI can add.
- Not accounting: the numbers are for a quick look, not for tax reports.
- Accounts with many payments load slower at first. Your AI can keep daily totals on the disk.

## After you start it

1. Your AI builds the page and sends you the address and password.
2. Open it and compare a day or two with what you see in Stripe.
3. Share the address and password with whoever needs the numbers.

## Questions

### Is it safe to give my Stripe key?

Use a restricted key with read-only access: Stripe lets you choose what a key can do. It is stored as a secret on BitHut, and you can delete it in Stripe at any time.

### Does it update by itself?

Yes. It reads Stripe when someone opens the page, so it shows the latest payments.

### What about payments in different currencies?

Each currency is shown separately. Converting them to one currency needs exchange rates your AI can add.

### Can my team see it without access to Stripe?

Yes. They only get the page and its password, not your Stripe account.

## Technical details

- Language: Python
- Parts: Website with a password, Disk, Secrets

## Similar templates

- [Dashboard from Google Sheets](https://bithut.app/templates/sheets-dashboard.md): A web page with charts from your Google Sheet, behind a password, for your team.
- [Marketing dashboard from GA4 and Search Console](https://bithut.app/templates/ga4-marketing-dashboard.md): Traffic, conversions and Google search results on one page for the team, behind a password.
- [Daily report](https://bithut.app/templates/daily-report-to-telegram.md): Every morning it takes yesterday's numbers and sends a short summary to your team chat, your e-mail or both.
