> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flowmaps.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Repo and workspace settings

> Choose whether pull requests are previewed automatically or on request, how stacked PRs are previewed, and which models a repo uses.

Most settings live at two levels. **Settings** in the sidebar sets them for the whole workspace, and each repo's **Settings** tab can change some of them for that repo. Only an account's owners and admins can change settings; everyone else sees them read-only.

## Workspace settings

The workspace's **Settings** has these tabs:

| Tab | What it holds |
| - | - |
| **Vendors** | External services Flowmaps found that need a decision. See [Connections and dependencies](https://docs.flowmaps.ai/flows/connections.md). |
| **PR previews** | Whether pull requests are previewed on every push or only on request, and how stacks are previewed. |
| **Models** | Which models map and update flows. See [Models](https://docs.flowmaps.ai/account/models.md). |
| **Workspace** | The workspace's name, deleting it, and moving it into a team. See [Workspaces](https://docs.flowmaps.ai/account/workspaces.md). |
| **Members**, **Team** | On a team: people, invites, allowed domains, and renaming or deleting the team. See [Teams and members](https://docs.flowmaps.ai/account/teams.md). |
| **Usage** | Admins only: credits used and the monthly limit. See [Credits and usage](https://docs.flowmaps.ai/billing/credits.md). |

### PR previews for the workspace

**Settings › PR previews** decides whether pull requests in the workspace's GitHub repos are previewed on every push or only when someone asks:

* **Each repo decides** — every repo follows its own switch (below).
* **On request in every repo** — no pull request is previewed by itself. A preview runs when someone comments `/flowmaps` on the pull request, or presses **Preview** on its Flowmaps check on GitHub.

A change applies from each pull request's next push.

### Stacked pull requests

When pull requests are stacked (each one based on the one below it), **Stacked PRs** chooses how they're previewed:

* **Preview each PR** — every pull request in a stack shows its own changes, compared with the pull request below it.
* **Preview the top only** — one preview of the whole stack. It uses fewer credits when several pull requests in a stack change the same flows.

See [Stacked PRs](https://docs.flowmaps.ai/pull-requests/stacked-prs.md).

## Repo settings

Open a repo from **Repos** or the sidebar, then its **Settings** tab.

![A repo's Settings tab with the Preview every PR automatically switch and the start of its Models section](https://mintcdn.com/flowmaps/Laxd03p6_qALyN3o/images/repo-settings-light.png?fit=max\&auto=format\&n=Laxd03p6_qALyN3o\&q=85\&s=371e42932e29a9212a15f79167b07069)

A repo's Settings tab: its PR preview switch, then its models.

### Preview every PR automatically

When this switch is on, every push to an open pull request is previewed. When it's off, a pull request is previewed only when someone comments `/flowmaps` on it or presses **Preview** on its Flowmaps check.

The switch is locked, with the reason shown under it, when:

* the workspace is set to **On request in every repo**, or
* the account's plan doesn't include automatic previews (Starter previews on request only; Free has no previews).

A repo added from a folder rather than through GitHub shows a note instead of the switch, since it has no pull requests to preview.

Whatever the setting, someone can ask for a preview of a pull request by comment or with **Preview**, as long as the plan includes previews and the repo isn't frozen over the plan's repo count. The request counts only from someone the account knows: on a team's repos, a current member who has linked GitHub; on a personal account's repos, its owner. See [PR previews](https://docs.flowmaps.ai/pull-requests/previews.md#who-can-start-a-preview).

### Models for one repo

Each stage of mapping runs on the workspace's model unless the repo sets its own. Use this when one repo needs a different model from the rest, for example a large or unusual codebase. Choose **Use the org's models** to go back to the workspace's choices.

A change applies from the next run. Flows already mapped keep the models they were mapped with until you re-map them.

### Re-map with these models

**Re-map with these models** re-maps the repo's flows that weren't mapped on the current models. Before it starts, Flowmaps shows how many flows it would re-map and the estimated credits. If every flow is already mapped on the current models, it says so and there's nothing to do.

The button is unavailable while the repo is frozen because the account is over its plan's repo count.

## Next steps

> [card] [PR previews](https://docs.flowmaps.ai/pull-requests/previews.md)
>
> What a preview shows and how to ask for one.

> [card] [Models](https://docs.flowmaps.ai/account/models.md)
>
> Basic or Custom, and model multipliers.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.