# Dashboard from Google Sheets

This template turns a Google Sheet into a web page with charts for your team, behind a password. Site page: [Dashboard from Google Sheets](/templates/sheets-dashboard).

## What to say to your AI

> Make a dashboard from my Google Sheet and put it on BitHut using the sheets-dashboard template. Keep it behind a password. Ask me for the sheet and which numbers to show.

## What you need

- **The link to the Google Sheet.**
- **Which numbers and charts** you want to see.
- **Who should get the password.**

For Google access you have two options. Connect Google in the BitHut cabinet, and the sheet stays private. Or share the sheet as “Anyone with the link: Viewer”; then anyone with the link can read it.

## What the page shows

The template expects row 1 to hold the column names and the first column to be the axis of the charts, for example dates. The page then shows:

1. The latest value of each number column as a tile.
2. A line chart for each number column.
3. The table itself.

If you want other charts or groupings, tell your AI. It changes the page.

## What BitHut sets up

- A site at its own address, behind a password from the start. You see the password in the project's settings in the BitHut cabinet.
- The sheet link is kept as a secret, apart from the code.
- A disk. The page reads the sheet at most once a minute and keeps the last good copy there, so it still opens if the sheet cannot be reached for a moment.

After the deploy, open the address, check the charts, then share the address and password with your team.

## How to change it

Tell your AI which columns to chart, what title to show, or what else you want on the page. It deploys a new version, and the previous one stays one step back.

## Limits

- The page reads the sheet and does not change it. Editing the sheet from the page needs changes your AI can make.
- Very large sheets load slower.
- Your team signs in with the site's password. Sign-in with a Google account is not available.
