# A project's settings

> Projects · https://spoletta.com/docs/project-settings

A project's owners set up what its runs use and who enters it, in its settings. Each project has its own, and nothing set in one reaches another.

## Setting up a new project

A project an admin of Spoletta has just made is empty, and its runs have nothing to use until its owners give it what they need. Open **Settings** in the project, from its Home:

1.  **Add a model provider**
    
    Under **Model providers**, add a provider with its key, and pick the default model agents use; see [Model providers](https://spoletta.com/docs/admin.md#model-providers). Outside Legacy, the worker's own providers and the keys in the webapp's environment aren't offered, and a provider whose key would come from that environment is refused.
    
2.  **Install connectors and add MCP servers**
    
    Under **Connectors**, install the services flows work with, and set a connector's token on its card, which everyone in the project then uses. Under **MCP servers**, add any other server by its URL. People connect to an MCP server that asks them to sign in as themselves. See [Connectors](https://spoletta.com/docs/admin.md#connectors) and [MCP servers](https://spoletta.com/docs/admin.md#mcp-servers).
    
3.  **Add credentials and allow hosts**
    
    Under **Credentials**, add the services scripts call through the credential proxy; under **Internet access**, the hosts steps may reach. Outside Legacy, an allowed host is reached only at a public address. See [Credentials](https://spoletta.com/docs/admin.md#credentials) and [Internet access](https://spoletta.com/docs/security.md#network).
    
4.  **Give it a git token**
    
    Under **Git access**, paste the token its steps clone and push repositories with; see [Where steps' git tokens come from](https://spoletta.com/docs/project-settings.md#git-tokens).
    
5.  **Set its limits**
    
    Under **Spending & limits**, say the most a run, a person in a month and a run's disk may use; see [Limits under the ceilings](https://spoletta.com/docs/project-settings.md#limits).
    
6.  **Let people in**
    
    Under **Access**, give the project to people and groups, say what everyone else signed in may do, and give roles; see [Giving access](https://spoletta.com/docs/project-access.md#access). Then make its teams under **Teams**.
    

Or import a [setup file](https://spoletta.com/docs/setup-files.md) exported from another project, with **Import a setup file** in the menu beside **Settings** on Home: it brings MCP servers, skills, commands, structs, procedures and flows. Keys, credentials, hosts and the git token aren't in it, so set them here.

## Where steps' git tokens come from

A project's owners set its own token under **Git access**, kept sealed and never shown again; see [Git access](https://spoletta.com/docs/admin.md#git-access). A step cloning or pushing a repository gets:

-   in [Legacy](https://spoletta.com/docs/projects.md#legacy), a GitHub App's token for the run's repositories where Spoletta has one, else the project's own token, else the instance's `GIT_TOKEN`;
-   in any other project, the project's own token, or none, so only public repositories clone.

The tab says which a step gets, and so does a note beside a flow's repositories in its settings. Two projects may reach the same repository with different tokens; neither gets what the other fetched, nor its runs' branches.

## Limits under the ceilings

Under **Spending & limits**, the project's owners set the most a run may spend, each person a month, the steps each person's runs may have going at once, and a run's disk. Admins of Spoletta set [ceilings](https://spoletta.com/docs/keeping-projects.md#ceilings) over every project's: an owner may set no limit above one, and what holds is the lesser of the two, so a ceiling lowered holds at once over a limit set before. The tab marks a limit the ceiling holds to as *the instance's ceiling*.

A person's spending in a month, and the steps their runs have going, count in each project apart. Everyone in the project sees its spending and limits; only its owners change them. See [Spending and limits](https://spoletta.com/docs/security.md#limits).

## What Legacy has besides

[Legacy](https://spoletta.com/docs/projects.md#legacy)'s settings also use what Spoletta is configured with outside the app, which no other project's do:

-   the worker's own pi config, its providers, default model and prices, the model keys in the webapp's environment, and `LLM_UPSTREAMS`, beside the providers its owners add;
-   a GitHub App's tokens and `GIT_TOKEN`, beside its own git token;
-   the worker's `AWS_*` and `CHILD_ENV` variables and its git config, handed to its steps;
-   hosts allowed by name that are at private addresses, which its steps may reach.

## The project's audit log

Each project keeps its own [audit log](https://spoletta.com/docs/security.md#audit), which only its owners read, under **Audit log**: the tokens its steps were given, their internet connections and calls through the credential proxy, calls refused and runs stopped for their limits, and its owners' changes to its settings and access. What happens above the projects goes in the [instance events](https://spoletta.com/docs/keeping-projects.md#instance-events) instead.
