Projects
Projects
A project is a space of its own: its own flows, task boards, procedures and structs, its runs and records, its own settings, and its own people. Nothing in one project is seen or used from another.
What a project holds
Everything you work with is in a project:
- its flows, task boards, procedures and structs, with their versions, runs and records;
- its model providers and keys, default models, MCP servers and people's connections to them, connectors, skills and commands, credentials, the hosts its steps may reach, its git token and its limits;
- its teams and roles, API keys, webhooks and audit log.
A new project starts empty, as Spoletta does when first installed: its owners set it up in its settings, or import a setup file exported from another project. A board can't point at another project's procedure or struct, a step reaches only its own project's keys, servers, credentials, hosts and repositories, and a run's spending counts toward its own project. The worker keeps each project's repositories apart, so a step never gets what another project's steps fetched, nor their branches.
The rest of this section goes by who you are:
| Page | For | What it covers |
|---|---|---|
| Who may do what | Everyone | Owners, editors and viewers, the ways someone gets a level, giving and taking access, roles and teams, and what runs for you while you're away |
| A project's settings | A project's owners | Setting up a new project, where its steps' git tokens come from, its limits, and what Legacy has besides |
| Keeping projects | Admins of Spoletta | Making, renaming, archiving and deleting projects, people, ceilings and instance events |
| Running Spoletta with projects | Whoever installs Spoletta | A new install, upgrading, letting people in, groups, and what projects don't keep apart |
Legacy
Every Spoletta has Legacy, the first project. Upgrading from a version before projects puts everything there was in it, and makes everyone who was there its member by hand: admins as owners, everyone else as editors. On a new install it is the one project there is, empty. It can be renamed and archived like any project, but never deleted.
Legacy alone gets what Spoletta is configured with outside the app, by whoever runs it: the worker's own pi config and the model keys in the webapp's environment, LLM_UPSTREAMS, a GitHub App and GIT_TOKEN, the worker's AWS_* and CHILD_ENV variables and git config, and hosts allowed at private addresses. Every other project has only what its owners set in its settings, a git token of its own included. See What Legacy has besides.
Switching projects
Every page's breadcrumb starts with the project it is in, such as Payments / Home / Release notes. Click the project's name to open the menu of your projects, each with your level there, such as Editor, or Owner · archived. Pick one to open its Home. Hovering the name says what you may do there, such as You change and run its flows, task boards, procedures and structs. Admins of Spoletta also find Every project… at the menu's end, which opens the Projects page.
- The command palette lists your other projects under Projects; type a project's name, or project, to switch.
- A page's address names its project:
#/p/3/flows/…is in project 3. Links Spoletta writes into messages and API answers name the project too, so they open in the right one. - Each browser tab keeps its own project, so two tabs may show two projects side by side. A link that names no project, such as an old bookmark, opens in the project its tab last showed, else the one you last used, else your first.
- The Inbox lists what waits on you in every project you may enter, each item naming its project when you are in several, and opens it there.
- Your Account tab in the settings lists your projects with your level in each, and the teams and roles you have in the project you are in.
- What a page remembers in your browser, such as the palette's recent picks, a task board's rail, the audit log's search or the board clipboard, is kept per project.
Someone in no project
Someone signing in for the first time, or added by an admin of Spoletta, is in no project until given one. They see You aren't in any project yet, naming the admins of Spoletta to ask, such as Ask Dana, the admin of Spoletta, to give you one, or an owner of the project you work in to let you in; then reload this page.
Someone opening a link to a project they may not enter, as it was archived or they were taken out of it, sees You can't enter this project, with the projects they may enter instead.
Moving work between projects
- A flow never moves to another project. Export it as a setup file, and import the file in the other project, which makes it there as a new flow. Its runs, records, versions and webhooks stay behind.
- Exporting and importing setup files are a project's owners'. The menu beside Settings on Home, Import or export the setup, holds Export the setup, which writes the project's every flow, procedure, struct, MCP server, skill and command, and Import a setup file. For one flow, Download it from the board's Code view; the structs and procedures it names must be in the other project already, or written out in the same file.
- The file names no project, so the same file imported in two projects makes two sets apart. It is matched by name within the project it is imported in.
- Model providers and keys, credentials, the hosts steps may reach and the git token aren't in the file: set them again in the other project's settings. MCP sign-ins, tokens and headers stay behind too.
- Copying from a board in one project and pasting into a board in another is refused.
- A template is imported into the project it is used in, named apart from that project's flows alone, with that project's connectors.
- A flow's assistant works in the flow's project: the procedures, structs, MCP servers, skills and credentials it is told of are that project's, and it answers with that project's models.
Good to know
- Without sign-in there is nobody: everyone is every project's owner, and may make and switch projects.
- Projects keep each other's data apart only as far as their steps are kept apart; see What projects don't keep apart.
- A script calling the app's
/api/names the project it means in anX-Spoletta-Projectheader; an API key and a webhook need none, being their project's already. See Starting flows over the API.