If your workspace’s Dashboards & Apps page doesn’t show the Reporting app, contact support.
TL;DR
- The Reporting app is a private website with ten ready-made reports on your sales, marketing and customers. SourceMedium hosts it and keeps it running.
- A workspace Admin or Editor creates it in one click from Dashboards & Apps. Your team opens it with their SourceMedium sign-in.
- To change it, connect a GitHub repository made from SourceMedium’s public template. Every push builds a private preview; nothing goes live until an Admin or Editor publishes it, and Restore brings back an earlier version.
- To work on it on your computer, run
pnpm signinin the app’s folder. To bring in later improvements to the template, runpnpm template:update.
Your app’s address
Your app opens at<workspace>-app.sourcemedium.app, for example democo-app.sourcemedium.app. Hosted dashboards for the same workspace use <workspace>-dashboards.sourcemedium.app. Everyone who opens either signs in with SourceMedium, and each person’s access is checked on every visit.
Create the app
You need an Admin or Editor role in the workspace and an active warehouse that has delivered your data. A workspace has one app.- Open Dashboards & Apps and find the Reporting app card.
- Choose Create app. SourceMedium sets up the app and checks its connection to your warehouse. You can leave the page while it does.
- When the card shows Open app, everyone with access to the workspace can open it.
Change the app’s code
The app is built from SourceMedium’s public template, source-medium/sm-app-template. You can change anything in your own copy and SourceMedium keeps hosting it at the same address, with the same sign-in and data.- In the app’s settings, choose Make changes. Create your repository from the template when it offers to; GitHub makes a private copy in your account or organization.
- Enter the repository as
owner/nameand choose Connect. SourceMedium shows a connect code once. - In the repository’s Actions tab, run the SourceMedium preview workflow with that code. This one run proves the repository is yours; the code expires after 72 hours and works once.
- From then on, every push sends the commit to SourceMedium, which builds it and replies in the workflow with the preview’s address, or with the build log if the build failed.
- Admins and Editors open the preview signed in to SourceMedium and choose Publish to make it the live version. Restore brings back an earlier version.
Work on the app on your computer
In the app’s folder, run:pnpm signin saves your access in .env.local, which is never committed. Then run pnpm dev and open the address it prints. You see your workspace’s real data, read as you.
Your sign-in lasts 30 days; run pnpm signin again after that. Only workspace Admins and Editors can sign in this way. A coding agent in the cloud has no browser, so give it a token of its own: in the app’s settings, choose Manage developer tokens, name one and choose Create token. Every token, including each computer’s sign-in, is listed there and can be revoked. The template’s hosted app guide has the details.
Get the template’s improvements
SourceMedium keeps improving the template. To bring those changes into your copy without losing yours, commit your work and run:What a hosted app can do
- Read your data. The app reads your workspace’s reporting data through SourceMedium, never directly. Queries only read, run for at most 30 seconds and return up to 10,000 rows.
- Stay on its own address. Every app shares the
sourcemedium.appdomain with other workspaces’ apps, so the app’s pages can call only their own address. Client-side analytics or other services called from the page are blocked; images, scripts, styles and links to other sites work as usual. Forms and other changes reach the app only from its own pages, and the app can’t install a service worker.

