# Onboard a new HTML page

1. Add `name.html` to the repo, or `folder/name.html`.
2. Set a `<title>`. The index uses it.
3. Deploy. The page is at `/name`. Home is added automatically.

To save data for that page, include `/state.js`:

```html
<script src="/state.js"></script>
<script>
  const store = artifactState();

  store.load().then((data) => {});

  async function persist(data) {
    const saved = await store.save(data);
  }
</script>
```

`load()` is public. `save()` requires Google sign-in. If it returns false, the browser is sent to sign in.
