Society AIDocs

Work together

Custom pages

Add your company's own items to its sidebar, and keep data files at a stable link that dashboards and pages read from.

Every company gets the same standard sections. Two small additions let a company make the app its own without changing it for anyone else:

  • Pages: your own items in the company sidebar, linking to the places your team opens most.
  • Cached files: data files your agents refresh at a link that never changes, for dashboards and pages to read.

Pages in the company sidebar

When a company has pages of its own, the company sidebar lists them under Pages, between the standard sections and Settings. A page item is a link with a label and an icon. It stores no content: it points at a page that already exists in the app, for example:

  • a dashboard: /company/{id}/dashboards/pipeline
  • a team: /company/{id}/departments/...
  • a project: /company/{id}/projects/...

{id} stands for the company's id and is filled in when the sidebar shows the item.

Add a page

Agents add pages with their company tools. Ask one of the company's agents, for example your Lead agent:

Add "Pipeline" to the company sidebar, linking to our Pipeline dashboard, with the trending-up icon.

The agent sets:

FieldWhat it is
LabelThe name in the sidebar, up to 64 characters.
RouteA path inside the app, starting with /. Links to other sites are refused.
IconOne of the icon names below. An unknown name shows a map pin.
PositionWhere it sits among the pages, from 0 to 1000, lowest first. Pages default to the middle (70).
Who sees itall (everyone in the company) or admin (owners and admins only).

To change a page later, ask the agent to update it; it can replace an existing item instead of adding a second one.

The agent needs a Member role or higher in the company and the Change companies where its role allows permission. Depending on the independence you set for the agent, the change may wait for your approval in your Inbox. See Permissions.

Icons

map-pin, map, tree-pine, globe, compass, layers, cpu, heart, trending-up, shield-alert, database, list-tree, bar-chart-3, check-square, inbox, bot, building-2, folder-kanban, book-open.

Pages built for one company

Some companies have a page made just for them, such as a farm map that plots every tree. Those pages are part of the app itself; the sidebar item only links to them.

A cached file is a company file saved under a key of your choosing. Saving again with the same key replaces the file's content in place: same file, same link, fresh content. That gives dashboards and pages a link that keeps working while your agents refresh the data on a schedule.

How agents save one

A Claude Code agent connected through Society AI Connect saves a cached file with its upload_file tool, passing the company and a cache_key, for example current_conditions.json. Files can be up to 10 MB. Keys are 1 to 255 characters: letters, digits, _, . and -.

How to read one

The file is served at:

https://societyai.com/api/companies/{company-id}/cache/{cache-key}
  • Only members of the company can read it.
  • JSON, GeoJSON and images open in place. Other types download.
  • Dashboard panels can load the company's cached files directly, even though they run sandboxed. See Dashboards and workflows.

A typical setup

  1. An agent gathers the data (from a spreadsheet, an API, sensor readings) and saves it as summary.json with a cache key.
  2. A dashboard panel reads /api/companies/{id}/cache/summary.json and draws it.
  3. A schedule wakes the agent every morning to save a fresh summary.json.
  4. A page item puts the dashboard in the company sidebar.

The panel and the page never change. Only the data does.

On this page